Commit Graph

41 Commits

Author SHA1 Message Date
wanghuaz
887d901e24 Fixed one timing issue that in open firmware 'Select this console as the active console press 0' msg passed quite quickly and this makes lpar_netboot.expect messed up with next msg after it. Adjust expect cases to put 'ok(.*)0 >' as the highest priority than '(.*)elect this consol(.*)'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10397 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-30 13:05:29 +00:00
wanghuaz
bd88c433f9 Fixed bug 3178887: getmacs with NEI-> ping result is not correct
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9565 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-11 11:13:51 +00:00
wanghuaz
4208499630 hfi mac address failover code checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9494 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-05 15:41:39 +00:00
wanghuaz
b8ebdb7b3b 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@8472 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-20 09:09:39 +00:00
wanghuaz
07064d4ee1 Fixed bug 3137682 that getmacs fails on a new lpar for the first time
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8430 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-16 03:08:49 +00:00
wanghuaz
41f1001ace Fixed the bug 3087647, rnetboot is not working.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7862 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-15 06:27:40 +00:00
wanghuaz
17ed758d10 One partitial issue in lpar_netboot.expect if rpower cannot return the correct state of lpar
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7846 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-14 04:24:27 +00:00
ligc
109b74acf2 fix for IPv6
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6533 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-18 09:54:32 +00:00
ligc
747bd7ecb1 rnetboot support for IPv6
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6307 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-02 08:02:54 +00:00
wanghuaz
9a98730594 Fix one typo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6282 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-01 09:13:07 +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
ligc
cd4b5517cc IPv6 fix: getmacs -D in IPv6 environment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6275 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-31 08:21:22 +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
jjhua
b2e32a8f15 1. modified , 2. handle the Not Available case
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5398 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-08 06:54:45 +00:00
jjhua
e0e40e4b6c after get the lpar state , add ([string compare off] == 0)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4917 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-08 09:12:07 +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
jjhua
be850c8f9f fixed 2898930
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4649 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-23 02:31:53 +00:00
wanghuaz
519e637247 add a workaround for the yaboot issue that produce garbage message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4530 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-10 05:49:34 +00:00
wanghuaz
b2d4f247e2 Fixed the issue that openfirmware produce the garbage which will impact the conserver's parser
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4477 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-05 04:15:18 +00:00
wanghuaz
30e9b80999 10sec is not enough to login to conserver in scaling system
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4392 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-15 08:10:18 +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
f910917793 Fixed one error that missed the failover procedure
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4060 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-28 11:41:11 +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
wanghuaz
8fee83212e increase the retry times
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3450 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-27 03:22:52 +00:00
wanghuaz
310ecaaaee retry chsysstat if it failed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3380 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-14 11:03:32 +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
77becdb875 Fixed one issue that in some case, expect stopped at the bump screen.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3261 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-27 05:31:35 +00:00
wanghuaz
7fd9270d00 Add -f for rcons to optionally take write privilege of the console. By default, rcons only return a readonly console
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3253 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-24 10:33:09 +00:00
wanghuaz
d67e18f78a getmacs/rnetboot sometimes timeout at chsysstate. Enlarge the timeout value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3252 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-24 07:27:10 +00:00
wanghuaz
88078d3217 fixed the issue that in some case, rnetboot will fail and lpar stay in open firmware mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3230 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-21 07:11:42 +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
40b8d7b151 Remind user that rnetboot failed because of rcons
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3051 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-31 06:52:18 +00:00
wanghuaz
db6a3d9f5a Update lpar_netboot expect code to match different cases
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3050 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-31 03:53:46 +00:00
wanghuaz
6e0dd6bae3 For P5, instead of checking the line -------, check the words BOOTP.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3048 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-31 03:19:45 +00:00
wanghuaz
6993dc7dba make local lpar_netboot work for getmacs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3042 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-30 10:26:51 +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
wanghuaz
403c5b399a Fixed the issue lpar_netboot.expect timeout on IVM controlled systems
Defect [2316981] : https://sourceforge.net/tracker/index.php?func=detail&aid=2316981&group_id=208749&atid=1006945

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2512 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-11-20 09:34:03 +00:00
jbjohnso
e68fe9d2db -Move xCAT-server and client to not have 2.0 in name for trunk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1561 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-03 14:56:33 +00:00