Commit Graph

53 Commits

Author SHA1 Message Date
wuzhy
36c61839a3 In order to fix 2957063
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5259 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-23 07:16:18 +00:00
daniceexi
1eb3b60e50 move the function get_mac_by_arp from Utils.pm to SvrUtils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5160 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-05 09:31:40 +00:00
wanghuaz
eaaca754af Part of class ready code checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5143 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-04 12:49:25 +00:00
daniceexi
8df1e87c62 defects: 2940290,2940304: move the getmacs --arp function to Utils.pm. Make the --arp supported by blade server and changed the format of MAC without : for aix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5141 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-04 10:24:13 +00:00
wanghuaz
aca745a4cb Part of class ready feature
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5140 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-04 08:32:52 +00:00
wuzhy
e564e4a8d0 Add the support for sorting the output of the xCAT command which list nodes or VM.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5080 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-29 08:23:22 +00:00
jjhua
e762911f5e FSPvitals with lcds support; FSPflash with --recover's defect is fixed.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4963 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-18 06:14:05 +00:00
jjhua
99b399b9d6 FSPboot for rnetboot, FSPmac for getmacs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4901 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-07 06:00:53 +00:00
ligc
1e220db1f0 add sleep in rpower for scaling through site attribute powerinterval
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4861 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-30 03:15:52 +00:00
wanghuaz
c67a44d85f Lead rspconfig to PPCcfg.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4852 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-29 08:23:20 +00:00
wanghuaz
cfc8c64ae4 Lead the hardware discovery commands to PPCconn module
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4851 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-29 06:28:15 +00:00
zhanx
ceea26ca17 hardware discovery enhancement
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4850 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-28 08:10:42 +00:00
jjhua
366fdd26a0 HMC alternative: FSPinv.pm, FSPpower.pm, fsp for rcons
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4750 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-10 02:19:40 +00:00
jjhua
e9329bb620 check in the files which are related to the direct attach support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4708 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-02 09:38:51 +00:00
wanghuaz
ba69e92a50 fixed defect 2898964. without the full path name, runcmd in Utils.pm doesn't return
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4666 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-25 13:08:05 +00:00
wanghuaz
3fe8a2d793 fixed defect 2898964.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4608 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-18 12:24:20 +00:00
wanghuaz
57f0a92902 Set maxssh to 8 to make HW control commands more reliable
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4369 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-13 13:37:30 +00:00
wanghuaz
c7c8fc3237 fixed typo error in last checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4360 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-13 02:43:01 +00:00
wanghuaz
3cfc361a87 Fixed 2872962
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4359 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-13 02:05:18 +00:00
jjhua
ed28e71466 fixed bug 2869633.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4258 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-29 11:41:58 +00:00
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
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
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
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
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
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
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
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
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
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