Commit Graph

48 Commits

Author SHA1 Message Date
jjhua
556cffa903 fixed bug 2861052; used runxcmd to instead of runDsh_api() and runDcp_api()
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4223 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-25 07:27:04 +00:00
linggao
0cc7ee9f5f osimage phase2: genimage and packimage honor osimage table settings
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4217 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-24 18:51:53 +00:00
linggao
e9b657c125 minor fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4201 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-22 20:24:24 +00:00
linggao
cb5e4be30b added provmethod in osimage table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4187 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-21 17:19:37 +00:00
jbjohnso
e31288f732 -Fix mistake in module name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4183 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-21 14:39:04 +00:00
daniceexi
45d902c128 fix some minor problems
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4176 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-21 11:30:05 +00:00
daniceexi
00ce996d74 Code drop of renergy command. This command uses the PPC.pm process to handle the common code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4175 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-21 06:33:27 +00:00
wanghuaz
a276ba5df7 enlarge the sleep time to avoid timeout issue. It is sleeps between cecs, so will not make too much performance reduction
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4174 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-21 01:46:42 +00:00
linggao
9524a49273 added support to update the osimage and linuximage tables after copycds and packimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4173 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-19 17:03:14 +00:00
mxi1
ef87653b36 one common get_tmpl_file_name() function is added into SvrUtils.pm, to replace the same function in anaconada.pm, sles.pm and windows.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4155 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-17 09:53:14 +00:00
wanghuaz
70c97b3334 for power contrl commands, every cec fork one process. So if rpower multiple nodes on several cec, say 20 cec, there are more than 20 connection request to hmc at the same time. This make sshd on hmc failed to respond and refuse the connections request. Add some sleep between every fork per cec. This will not reduce the performance too much, since only sleeps between cecs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4153 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-17 07:18:47 +00:00
wanghuaz
7a6a741516 set frame # with rspconfig
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4083 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-02 16:48:58 +00:00
wanghuaz
c4d0501e10 To fix defect: 2844223. getmacs timeout with 16 nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4043 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-26 03:00:36 +00:00
daniceexi
22d82e9a5d defect 2843392: if there is non-existed synclist file, output an error message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4031 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-24 09:53:55 +00:00
zhanx
a46c4c529c Fix defects:2831998 lsconn not working with -V --verbose flag; Change *conn commands to *hwconn
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3940 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-04 20:28:03 +00:00
zhanx
6f5cefd9fb Fix bugs: 2829874 lsconn and mkconn not working in 0728 xCAT 2.3 build; 2826734 lsslp can only write one BPA side into xCAT DB
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3912 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-31 19:45:28 +00:00
linggao
04c3f3d5fe handles otherpkgs and syncfiles being put into xcatdefault on postscritps table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3900 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-29 21:25:59 +00:00
wanghuaz
3e00fd6702 kill child process if xcat command stopped by signal
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3885 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-28 07:57:26 +00:00
zhanx
d79ae69084 Fix defect 2822229 lsslp should set the correct node name in xCAT DB for BPA; 2824599 lsslp should add more attribute in DB for FSP/HMC
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3881 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-27 15:28:11 +00:00
daniceexi
227f6bdcf4 move the getsynclistfile() from Utils.pm to SvrUtils.pm; move the syncfiles() from Postage.pm to syncfiles.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3853 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-22 05:59:11 +00:00
zhanx
3ec3088339 CRHS-like function 3rd code drop. Detailed code changes: 1. Fix lsslp problems found in NCSA environment, inlcuding adding more code to better identify nodes with same switch port; adding interval message when discovering; adding flag '-H' for lsslp. 2. Change lsconn to support HMC node range. 3. Change rspconfig to support change FSP nodes to dynamic IP addresses. 4. Fix bug for rspconfig (when running rspconfig to update network configuration for FSP/BPA nodes, it always return fails, though the actual result can be successful.)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3837 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-20 18:46:13 +00:00
wanghuaz
1e794980a3 get mac from arp protocal
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3784 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-15 08:22:51 +00:00
wanghuaz
a112a89192 fixed one getmac issue for linux
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3775 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-14 13:22:46 +00:00
wanghuaz
fa930de11a use arp protocal to get the mac address
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3770 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-14 12:16:11 +00:00
jjhua
116368143d move the special case for rflash from PPC.pm to PPCrflash.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3768 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-14 09:15:29 +00:00
wanghuaz
ea639a4479 fixed defect:2792126. revitals should output some error message if bpa is not defined
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3727 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-08 07:41:43 +00:00
linggao
add9a540ad minor fix in Postage.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3687 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-02 19:12:53 +00:00
linggao
905951f7b4 Added support for INCLUDE tag for otherpkgs in Postage.pm. Need to handle INCLUDE and subdir for other packagers in genimage later
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3686 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-02 18:24:32 +00:00
jjhua
5896c2227f fixed bug 2804616 rspconfig should support FSP/BPA nodes with mgt=hmc
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3680 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-01 06:03:26 +00:00
wanghuaz
ba98a3a261 fork process by hmc if not ping test for getmacs and call lshwres on each hmc. also corrected format issues in this file, especially for the comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3520 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-05 08:02:34 +00:00
daniceexi
05c9e4b58f The first phase code drop for CFM like funtion
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3514 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-04 15:33:44 +00:00
jjhua
b42067cf20 remove preprocess_for_rflash from PPC.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3424 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-21 06:45:34 +00:00
zhanx
e24e85831f First code drop for CRHS-like function. Only mkconn is available (without man page). Updated PPC.pm, PPCcli.pm, Usage.pm, hmc.pm, fsp.pm. Added bpa.pm, PPCconn.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3411 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-20 09:04:19 +00:00
zhanx
02d77eae47 reformat PPC.pm to take care of the indent in it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3401 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-19 03:20:17 +00:00
zhanx
b4067a9636 Move arguentment parsing from PPC::process_request to PPC::preprocess_request (only affect System P HW control commands)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3377 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-14 08:13:41 +00:00
zhanx
f2ba87df27 Fix bug 2791069 'rvitals reports perl syntax error' in xCAT 2.2.1 and 2.3
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3369 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-13 09:04:09 +00:00
lissav
53bb6a242f fix defect 2151155 multiple output for getmacs -h, -v ,etc
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3318 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-08 13:42:39 +00:00
linggao
de0272c3c3 added MACADDRESS env to the postscripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3293 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-05 14:16:13 +00:00
linggao
5a3768389f check in Zhan Xiang's change on mkvm so that it handles HCA ports correctly for cloning lpars across cecs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3199 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-15 17:02:11 +00:00
linggao
7a347af3b9 fixed in Postage.pm that caused failure in updatenode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3183 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-13 21:31:41 +00:00
daniceexi
21ad9201c6 For getmacs and rnetboot commands, in each time fork process to access hcp, pick out the hcp that has the least process number that has been created to connect to the hcp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3152 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-09 11:08:56 +00:00
zhanx
38c614f84e mkvm enhancement: 1. support cross hmc; 2. support hca guid automatic increase. This code change doesn't include man page/usage update. Will do them soon.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3069 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-02 15:37:19 +00:00
linggao
2779f579e1 performance tuning for node status updating for ipmi, blade,PPC, xen and kvm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2976 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-25 02:56:58 +00:00
linggao
0e6d28e1c2 minor fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2974 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-24 23:56:42 +00:00
linggao
7850b36aa2 changed setting from nonodestatus to nodestatus :-)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2972 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-24 19:44:23 +00:00
linggao
cf1eb5011c added a site table attribute 'nonodestatus' so that the node status updates can be turned off during the node deployment, node discovery and node power on/off
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2961 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-24 03:12:03 +00:00
lissav
f13ebd9e3d fix failure on rpower on syntax error in SvrUtils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2959 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-23 12:29:25 +00:00
linggao
529660fe6a removed dependencies on the xCAT-server package from perl-xCAT package
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2952 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-20 21:36:49 +00:00