hmc_get_lpar_msp
Retrieve the MSP (Migratable Service Partition) flag for a logical partition on an IBM HMC, indicating whether migration is allowed. Returns True if enabled, False if disabled.
Instructions
Get the MSP (Migratable Service Partition) flag of an LPAR via the HMC CLI.
Runs lssyscfg -r lpar -m <system_name> --filter lpar_names=<lpar_name> -F msp on the HMC via SSH and returns True if the flag is 1,
False if 0.
The system and partition may be given by CLI name or by UUID; UUIDs are resolved to their CLI names via REST (falling back to an lssyscfg lookup over SSH when the REST API is unreachable) before the command runs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lpar_name_or_uuid | Yes | ||
| system_name_or_uuid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |