zhaoertao
571f3e3962
for item: clean up Utils.pm, the code in perl-xCAT/xCAT
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13461 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 03:48:50 +00:00
yinle
c80bdf5aad
"getnodetype performance improvement": change getnodetype related code.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11549 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-10 10:46:03 +00:00
yinle
fadc9511d3
Fix bug 3386076: lsvm fail to get all the profiles of the LPAR
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10223 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-04 08:11:19 +00:00
yinle
616851a944
Fix the bug that rspconfig can't change node name on HMC
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9937 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-25 02:50:06 +00:00
wanghuaz
56dfe4335e
On latest AIX, the key format in the ssh key file has been changed. There is no '= ' before the key. So remove it when mapping the keys.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9762 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-08 06:21:41 +00:00
yinle
8b91ffa854
Improve the way of getHMCcontrolIP, so that it can handle different error conditions.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9649 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-23 03:42:23 +00:00
yinle
cfc0a0c2a6
Modify the way of getHMCcontrolIP, handle different condition way of fsp/bap with HMC.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9584 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-12 15:19:10 +00:00
yinle
7305725c39
FSP/BPA redundancy: add a function getHMCcontrolIP to get the ips of a node defined by HMC.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8892 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-19 10:03:49 +00:00
yinle
e518c01e32
FSP/BPA redundancy: change the way of process CEC and Frame
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8850 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-14 09:42:15 +00:00
yinle
732ff2cf24
FSP/BPA redundancy: add support to rvitals of CEC
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8838 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-12 09:52:10 +00:00
yinle
4e7fe2eb0f
FSP/BPA redundancy: add support for the rpower operation on CEC
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8836 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-12 07:59:51 +00:00
yinle
530dd4459e
minor fix
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8539 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-31 05:50:04 +00:00
jjhua
34ac6419a4
fixed bug 3109407, use if(@TableRowArray) to replace if(defined(@TableRowArray))
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8167 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-16 08:03:24 +00:00
ligc
84f4e4d2d4
rpower softoff for system p partitions
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6630 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-01 09:48:16 +00:00
wanghuaz
74e7656206
make rspconfig update the FSP/BPA system names, and update the usage for HMC_passwd/admin_passwd/general_passwd/*_passwd
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5360 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-04 09:38:44 +00:00
wuzhy
063abca243
fix bug 2898857
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5316 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-01 04:49:11 +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
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
wuzhy
67119dfdb8
Update them for supporting mkvm/rmvm enhancement
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4866 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-31 04:46:42 +00:00
wanghuaz
ec6154e11e
Change passwds or set the initial passwords for FSP/BPA
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4853 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-29 11:42:49 +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
wanghuaz
d9ba1cc8e8
Remove the end sequences which makes issues if the input containes of ~
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4478 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-05 05:49:11 +00:00
wanghuaz
a693594278
Remove debug code
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4390 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-15 02:46:16 +00:00
wanghuaz
1271b6ba9f
In scaling environment, it is possible that our lpar_netboot expect code cann't catch the ok promt after lpar change to open firmware state. Send '\r' command to openfirmware to catch ok promt
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4154 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-17 08:38:26 +00:00
wanghuaz
3e28a93056
fxied one issue in the change of setting the frame num
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4114 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-10 02:57:36 +00:00
wanghuaz
2be45f7a94
set frame # with rspconfig
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4082 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-02 16:25:46 +00:00
zhanx
311444af09
More code changes to fix bugs: 2829874 lsconn and mkconn not working in 0728 xCAT 2.3 build; 2824604 lsconn reports xCATd:SSL issue
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3917 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-31 21:11:48 +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
2afae2141c
Call lshwres to achieve mac address if no ping test performed
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3519 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-05 07:29:12 +00:00
zhanx
164cb22b43
2nd code drop for CRHS-like function: added lsconn and rmconn, including the usage info(-h). No man page is updated.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3445 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-26 06:02:03 +00:00
wanghuaz
02c8806078
Fixed bug 2775946. cleanup all the sessions when config conserver.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3426 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-21 06:52:33 +00:00
jjhua
470e74212c
move preprocess_for_rflash from PPC.pm to PPCrflash.pm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3425 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-21 06:48:57 +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
71ac4913b7
Fix 2791086 'rvitals reports bash syntax error for BPA nodes'. Only fixed in 2.3
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3370 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-13 09:48:39 +00:00
jjhua
cd47c9ef98
fixed defect 2788747. It'l caused by 12 IHs
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3352 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-12 05:15:57 +00:00
wanghuaz
6ae2911605
the symbol "~." will introduce exceptions in rcons, and rcons has provided Ctrl+C+. to disconnect from console. so simply remove this symbol.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2859 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-09 08:11:00 +00:00
ellen56
173a1c5adf
1.Display system p LED values via rvitals; 2.Add option onstandby to rpower to power on CEC in standby mode
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2840 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-05 03:21:20 +00:00
wanghuaz
d803019252
The original logic to rnetboot/getmacs linux nodes takes too much time, since xdsh will wait there for some time if the nodes are not running.
...
Now just FORCE lpar shutdown if the nodes are running Linux.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2811 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-27 09:46:46 +00:00
wanghuaz
5ee13233fc
Fixed the issue that if nodename in xcat database is not the same with lpar name, rnetboot will fail.
...
Root cause: rnetboot will resolve the lpar name from hmc in order to setup a full lpar_netboot command. But rnetboot will also use this lpar name in xcat database to resolve the network, which will definitely fail.
Fix: pass the nodename to xcat database instead of lparname.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2715 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-11 06:32:58 +00:00
jjhua
d6988ca2f0
Modified some code in connect function of PPCcli.pm to make the rflash with -V work well. (Bug 2512281)
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2617 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-16 03:01:04 +00:00
wanghuaz
d549325b97
HMC has been updated to add -K netmask option in lpar_netboot.expect. xCAT needs to read the netmask from table and pass this option to HMC if -G,-S,-C has been specified.
...
Defect 2485129: Fail to getmacs from HMC with option -S -C -G
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2597 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-14 07:37:14 +00:00
sakolish
d63ebb8522
Fixed problem with rpower for CEC commands
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2502 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-11-17 20:40:30 +00:00
wanghuaz
b8251925d9
Fixed the issue that rnetboot and getmacs commands coundn't succeed when the LPARs are still running.
...
Defect 2022227[https://sourceforge.net/tracker/index.php?func=detail&aid=2022227&group_id=208749&atid=1006945 ]
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2488 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-11-10 02:49:15 +00:00
zhanx
6254f3cb84
SLP automatic naming for HMC
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2262 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-30 13:44:19 +00:00
sakolish
8df2c29208
Modified "mksyscfg" function to allow -p flag in "chvm"
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1709 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-20 13:15:23 +00:00
sakolish
c5b5f0c391
Added lslic() function to list firmware version
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1622 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-11 18:20:48 +00:00
sakolish
7d260c1749
Remove -c (colon-seperated output) from lpar_netboot() function - Line #614
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1579 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-04 19:15:55 +00:00
jbjohnso
77d55609c0
-Move perl-xCAT to not have version in trunk name
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1562 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-03 15:00:37 +00:00