hmc_power_on_lpar
Power on a logical partition (LPAR) on IBM HMC by submitting a PowerOn job. Accepts LPAR name or UUID, with options to wait, force, and set timeout.
Instructions
Submit a PowerOn job for a logical partition.
lpar_name_or_uuid: accepts either a PartitionName or a UUID (find it with hmc_lpars). Returns the submitted job (check hmc_get_job for status). This changes the state of a real partition — confirm the target with hmc_lpars(name=...) before calling.
If the partition is already in the 'running' state, the tool returns
{"already_running": True, "message": "..."} without submitting a job.
Pass force=True to skip this check and submit the PowerOn unconditionally.
Set wait=True to block until the job reaches COMPLETED / FAILED / EXCEPTION (or until timeout_seconds elapses).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | ||
| force | No | ||
| poll_interval | No | ||
| timeout_seconds | No | ||
| lpar_name_or_uuid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |