Skip to content
Browse files

conmux/ivm: use immediate reboot rather than delayed

Delayed reboots use EPOW, which does not always result in a shutdown of
the LPAR. Use the more sever immediate shutdown, to ensure the LPAR goes
down. This matches the HMC code.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
  • Loading branch information...
1 parent 11d8bd9 commit 37fe66bb2f6d0b489d70426ed4a78953083c7e46 Nishanth Aravamudan committed with
Showing with 1 addition and 1 deletion.
  1. +1 −1 conmux/drivers/ivm
View
2 conmux/drivers/ivm
@@ -316,7 +316,7 @@ if {$version < 3} {
# See if the lpar is up, if so shut it down.
if {[string compare [state $lpar] "Ready"] != 0} {
note "shutting down lpar"
- if {[runit "chsysstate -r lpar -n $lpar -o shutdown\r" out] != 0} {
+ if {[runit "chsysstate -r lpar -n $lpar -o shutdown --immed\r" out] != 0} {
winge "$lpar: power off failed\n$out"
exit 2
}

0 comments on commit 37fe66b

Please sign in to comment.
Something went wrong with that request. Please try again.