hmc_modify_lpar
Rename or resize an LPAR by updating its memory and CPU settings, applying changes live via RMC or on next activation.
Instructions
Modify an LPAR's name and/or resource assignment (memory / CPU).
lpar_name_or_uuid: accepts either a PartitionName or a UUID (find it with hmc_lpars). Only the fields you pass are changed. Memory values are in MiB. For a running partition these are dynamic (DLPAR) operations and require an active RMC connection; otherwise the change applies on next activation. Set dedicated=True to assign whole CPUs, False for shared processing units + virtual processors; omit it to leave the sharing mode unchanged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| uncapped | No | ||
| dedicated | No | ||
| max_procs | No | ||
| max_vcpus | No | ||
| min_procs | No | ||
| min_vcpus | No | ||
| max_memory | No | ||
| min_memory | No | ||
| desired_procs | No | ||
| desired_vcpus | No | ||
| desired_memory | No | ||
| lpar_name_or_uuid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |