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
This commit is contained in:
parent
b849ef83e7
commit
d67e18f78a
@ -2233,7 +2233,7 @@ if { ([string compare "$msg" "Off"] == 0) || ([string compare "$msg" "Not Activa
|
||||
} else {
|
||||
set cmd "chsysstate -r lpar -o shutdown -m \"$manage\" -n \"$node\""
|
||||
}
|
||||
set timeout 30
|
||||
set timeout 120
|
||||
send -i $ssh_spawn_id "$cmd; echo Rc=\$\?\r";
|
||||
|
||||
expect {
|
||||
@ -2296,11 +2296,12 @@ if { ([string compare "$msg" "Off"] == 0) || ([string compare "$msg" "Not Activa
|
||||
|
||||
if { $list_disk == 1 } {
|
||||
nc_msg "$PROGRAM Status: Power on to SMS.\n"
|
||||
set rc [catch {eval exec $BINPATH/chsysstate -r lpar -o on -b sms -m \"$manage\" -n \"$node\" -f \"$profile\"} msg]
|
||||
set timeout 120
|
||||
send -i $ssh_spawn_id "chsysstate -r lpar -o on -b sms -m \"$manage\" -n \"$node\" -f \"$profile\""
|
||||
|
||||
} else {
|
||||
send_user "# Power on $NODENAME to Open Firmware.\n"
|
||||
set timeout 60
|
||||
set timeout 120
|
||||
send -i $ssh_spawn_id "chsysstate -r lpar -o on -b of -m \"$manage\" -n \"$node\" -f \"$profile\"; echo Rc=\$\?\r"
|
||||
|
||||
expect {
|
||||
@ -2549,7 +2550,7 @@ if { $noboot } { # Display information for all supported adapters
|
||||
} else {
|
||||
set cmd "chsysstate -r lpar -o shutdown -m \"$manage\" -n \"$node\""
|
||||
}
|
||||
set timeout 30
|
||||
set timeout 120
|
||||
send -i $ssh_spawn_id "$cmd; echo Rc=\$\?\r";
|
||||
|
||||
expect {
|
||||
|
Loading…
Reference in New Issue
Block a user