Commit Graph

34 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
jjhua
a16709090b For the places that open site table to read attributes, change to call xCAT::Utils->get_site_attribute instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12777 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 02:38:09 +00:00
yinle
d266a464d8 Fix bug 3491699: rnetboot "-V" issue
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11789 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-08 05:18:32 +00:00
yinle
b6032f8fbc minor fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11603 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-17 05:36:13 +00:00
yinle
274a8a1540 Change the way of rnetboot works. Invoke the sub-routine LparNetbootExp->lparnetbootexp.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11511 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-08 09:23:06 +00:00
wanghuaz
e632cd7b74 Code enhancement for mac address failover
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10403 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-31 10:18:43 +00:00
wanghuaz
f17d4135ca Fixed one issue that in the case of first boot try failed, and second boot try succeed, rnetboot still returns the first try's error. If second try succeed, it means rnetboot succeed, it should return success.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10393 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-30 12:17:23 +00:00
wanghuaz
0b7b1429d9 Fixed the issue that rnetboot doesn't work with uppercase mac addresses and the issue that chvm doesn't accept std input.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9833 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-17 05:34:32 +00:00
wanghuaz
f1a9fa4c79 Removed --hfi for rnetboot command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9352 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-20 06:47:08 +00:00
ligc
8082aca8fe make gateway as an optional attribute for getmacs -D and rnetboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8527 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-30 02:05:31 +00:00
wanghuaz
821ba4eae2 Fixed bug 3133969: getmacs/rneboot-> cannot handle error for rpower failure
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8473 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-20 09:14:15 +00:00
wanghuaz
b2bcfd6929 rnetboot change for boot over hfi
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6501 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-17 11:51:25 +00:00
wanghuaz
588ba1f3c2 Netboot over HFI code commit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6281 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-01 08:46:21 +00:00
jjhua
2bcc16b884 getmacs and rnetboot with -o flag through hmc
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6253 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-27 01:43:39 +00:00
jjhua
b1ff94f270 enhance getmacs and rnetboot with -o option for p7 ih lpar
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6214 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-25 05:15:41 +00:00
wanghuaz
b2ef8e401a rnetboot enhancement for iscsi dump
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6057 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-11 06:22:28 +00:00
wanghuaz
bc8b54bbd8 Check the expect binary before issue lpar_netboot.expect
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5555 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-23 05:32:49 +00:00
ligc
6c94b593a0 fix for bug 2961809: rnetboot for Linux node should not print nimnodeset information
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5417 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-09 11:36:23 +00:00
wanghuaz
1e7e3317f3 Fixed one typo error for Linux
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4010 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-19 07:05:13 +00:00
wanghuaz
e08beffb10 fixed defect 2819355 to check currstate before rnetboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3902 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-30 03:37:04 +00:00
wanghuaz
0a6dc4ad6e kill child process if xcat command stopped by signal
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3884 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-28 07:56:43 +00:00
ligc
a4b47c6800 PPCboot.pm parse_args: add the -m -t and -r flags
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3703 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-06 01:10:01 +00:00
ligc
e05432da84 automatic retry: initial code drop
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3694 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-03 08:56:14 +00:00
wanghuaz
b07dcac380 fixed help info errors of rnetboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3479 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-02 03:05:05 +00:00
wanghuaz
35c7e5dbe4 added fail-retry to lpar_netboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3473 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-01 16:45:16 +00:00
wanghuaz
deb834218b add conserveronhmc setting in site table to control if we use lpar_netboot script local or on hmc
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3453 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-27 07:52:18 +00:00
wanghuaz
8b72cc328e force lpar shutdown if lpar is running Linux even user didn't specify -f option for getmacs/rnetboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3355 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-12 06:32:46 +00:00
wanghuaz
5b6a2c799a Make rnetboot support to set the boot device
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3332 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-11 04:13:35 +00:00
wanghuaz
529c817892 Fixed defect 2771631: getmacs writes lpar name instead of node name to mac table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3221 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-20 05:03:07 +00:00
wanghuaz
c45d208ed3 Fixed bug 2728953 about rnetboot/getmacs in Norm's test: use environment variables to save the passwd and userid instead of create one random file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3148 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-09 09:32:55 +00:00
wanghuaz
713cf94673 tftp client in cygwin changed the code to windows format. Remove the symbols
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3040 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-30 08:36:36 +00:00
wanghuaz
db325e5fd1 rcons and rnetboot cannot work at the same time, since there is only one connection between hmc and open firmware.
change local lpar_netboot to connect to node from conserver, which gives us the capability to watch the installation from rcons and take actions from rnetboot at the same time.

TODO: rnetboot on IVM will be temporary broken.  Will fix it soon

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3033 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-29 10:24:14 +00:00
sakolish
418960eba3 Strip colons from mac address before sending to HMC - Line #211
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1614 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-09 13:45: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