How to Disable LPM for an LPAR
Do you have any applications running in LPARs that have specific hardware based licensing, or a critical application that you don't want an operator to accidently LPM to another frame? There is a way to disable and enable the LPM feature for an LPAR from the enhanced GUI or command line.
To check if LPM is enabled for an LPAR.
lssyscfg -m frame -r lpar --filter lpar_ids=12 -F name,migration_disabled
If this returns a 1, then LPM is disabled, a 0 (zero) means LPM is enabled.
To Disable LPM for an LPAR.
chsyscfg -m frame -r lpar -i "lpar_id=12,migration_disabled=1"
To Enable LPM for an LPAR.
chsyscfg -m frame -r lpar -i "lpar_id=12,migration_disabled=0"
The HMC gives a clear error message stating that the LPM failed as it has been disabled for this LPAR.
HSCLB962 The partition POC012 cannot be migrated because migration has been disabled for this partition.