Commit Graph

45 Commits

Author SHA1 Message Date
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
zhaoertao
54f8b58399 the codes about Firmware Deferred Update feature
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13116 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-18 08:29:59 +00:00
yinle
2d8be7cbb3 "getnodetype performance improvement": change getnodetype related code.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11554 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-10 11:01:54 +00:00
jjhua
cb25692642 output the log directory when firmware update on BPA
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11344 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-05 02:59:33 +00:00
jjhua
1ca20fe313 fixed defect 3458235, get_compatible_version_from_rpm also will check the directory of the firmware files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11228 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-13 07:19:31 +00:00
jjhua
9ffdd908c6 make the dfm log message only if they are using DFM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11060 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-29 05:16:54 +00:00
jjhua
e04ebd72d3 add the message before starting rflash: If you use Direct FSP/BPA management(DFM) to do the firmware update, You can find the log files in the /var/log/xcatd/dfm/rflash/.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11055 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-28 10:19:21 +00:00
jjhua
56156f5e37 fix xcat-Bugs-3386437, add -d <data_directory> for rflash to do firmware udpate
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10254 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-10 07:00:18 +00:00
jjhua
70c6ceac87 fixed the defect 3316625, remove the improper check condition
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9842 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-17 14:47:34 +00:00
yinle
34e2b1ed42 change the way of getting node type
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9754 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-07 09:04:28 +00:00
jjhua
1549dc1506 rflash supports for CEC and frame
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9564 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-11 10:18:43 +00:00
yinle
99c85c78f9 modify the process rflash. Neither hmc or direct-attach need to switch from fsp/bpa nodes to CEC/Frame nodes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9080 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-18 05:28:50 +00:00
jjhua
9df05a1a5d push @newnodes, ;
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9071 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-17 09:42:09 +00:00
yinle
2f7f10c582 minor fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8845 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-14 05:18:59 +00:00
yinle
96fca326e7 FSP/BPA redundancy: change CEC/Frame node into FSP/BPA nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8844 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-14 05:15:21 +00:00
yinle
62b0cce29e remove tab character
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8843 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-14 05:10:24 +00:00
yinle
5bf9564a70 FSP/BPA redundancy: add supporting of cec object.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8443 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-17 02:06:49 +00:00
xq2005
0afc3ecb55 /install is hard coded
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7695 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-28 04:59:46 +00:00
jjhua
8096b2141c 1.FSPAPI supports for mkhwconn and rmhwconn 2. move the invoking fsp-api function in every FSPxxx.pm to Utils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5308 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-26 09:42:41 +00:00
ligc
cf44c5efc5 relative path support for rflash
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5042 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-26 06:48:36 +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
79faedd0ea HMC alternative: FSPflash (firmware upgrade -- disruptive ,commit, recover)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4842 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-23 02:10:00 +00:00
ligc
12f6766ee4 fix a perl syntax error in PPCrflash.pm, missing semicolon
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4841 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-23 01:11:38 +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
jjhua
53cba2aea1 Remove or comment out "print Dumper" statements
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4407 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-19 05:53:17 +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
c73b945205 fixed bug 2866697, about the remote ssh connections
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4239 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-27 01:24:21 +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
jjhua
2087cee108 remove some improper messages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4178 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-21 12:20:32 +00:00
jjhua
b1b7a0b618 fixed bug 2861052. xCAT::DSHCLI->runDsh_api was not really a supported api anymore. I tried the runxcmd routine, But it didn't work well. And I used the the command line call. It worked better.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4177 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-21 11:42:37 +00:00
jjhua
446d741296 to fix the bug 2846629, the Dumper() debug information causes the error information from the HMC not to output weill. Remove the Dumper() debug information.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4164 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-18 03:05:27 +00:00
jjhua
e41cb303c2 fix bug 2846629, add user Data::Dumper
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4079 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-02 10:39:52 +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
jjhua
89c5468588 fixed the error of prompt messages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3560 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-12 10:12:37 +00:00
jjhua
5849e402cd rflash says it updates node successfully that were not. fix bug2803200
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3550 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-11 07:21:58 +00:00
jjhua
5ae7b488a7 fixed the bug 2788745, deteting the redundant and misleading prompt
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3452 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-27 06:48:49 +00:00
jjhua
3a7a2a0fc4 add {h} to show the usage()
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3427 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-21 09:26:58 +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
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
jjhua
dc3230d60d fixed the defect2788630, upgrade nodes with different releases
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3351 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-12 03:04:05 +00:00
jjhua
2ca309fb17 1. rflash with --ommit and --recover for BPA, bug2611785 2. noderange' format --bug 2684634
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2877 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-12 07:28:21 +00:00
jjhua
f60a7dcf6b modified the rflash to support BPA(bug 2508670)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2608 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-15 03:01:54 +00:00
jjhua
7a7ec4a77b make the firmware upgrade command rflash support service node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2573 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-07 10:38:18 +00:00
jjhua
568851a8eb Performs Licensed Internal Code (LIC) update support for HMC-attached
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2564 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-06 11:05:02 +00:00