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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"system_name_or_uuid": "<system_name_or_uuid>",
"lpar_name_or_uuid": "<lpar_name_or_uuid>"
},
"name": "hmc_get_lpar_msp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lpar_name_or_uuid | Yes | ||
| system_name_or_uuid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |