How to shutdown an LPAR
chsysstate -m “” -r lpar -o shutdown –immed -n “”

How to activate an LPAR
lssyscfg -r lpar -m “” -F name,curr_profile,state |grep
chsysstate -m “” -o on -r lpar -n  -f

How to restart a LPAR
chsysstate -m “” -r lpar -n “” -o shutdown –immed –restart

while true; do lsrefcode -m -r lpar –filter “lpar_names=” -F lpar_name:refcode; sleep 2; done

How to restart a LPAR with dump

chsysstate -m “” -r lpar -n “” -o shutdown –restart

while true; do lsrefcode -m -r lpar –filter “lpar_names=” -F lpar_name:refcode; sleep 2; done

Advertisements