Commit Graph

60 Commits

Author SHA1 Message Date
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
daniceexi
065eb30d5e defect 2894479: set install as the default value of nodesetstate
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4565 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-13 14:06:44 +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
linggao
fbf118ea50 bug fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4319 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-07 19:27:48 +00:00
jbjohnso
25ba97c977 -Fix more syntax errors in shell scripts related to NODESETSTATE
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4314 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-06 16:50:40 +00:00
linggao
a8e15167a2 osimage phase3: use osimage table settings updatenode (otherpkgs)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4290 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-02 18:55:54 +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
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