hmc_set_lpar_description
Set an LPAR's description on IBM HMC via SSH when the REST API can't, using chsyscfg. Documents partition ownership, purpose, or current task.
Instructions
Set the description field of an LPAR via the HMC CLI.
Runs chsyscfg -r lpar -m <system_name> -i "name=<lpar_name>,description=<description>" on the HMC via SSH.
This field is not settable via the HMC REST API. The description appears in the HMC GUI Partitions tab and is useful for recording partition ownership, purpose, or current task.
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.
WARNING: This modifies the LPAR configuration on the HMC. Confirm lpar_name_or_uuid and system_name_or_uuid before calling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | Yes | ||
| lpar_name_or_uuid | Yes | ||
| system_name_or_uuid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |