hmc_migrate_lpar
Submit a live migration job to move an LPAR to a specified target managed system. Optionally block until the migration completes or fails.
Instructions
Live-migrate (LPM) an LPAR to another managed system.
lpar_name_or_uuid: accepts either a PartitionName or a UUID (find it with hmc_lpars). Submits a Migrate job. target_system is the target managed-system name. Optionally pin the target profile / wait time. Poll hmc_get_job for status. Run hmc_migrate_validate_lpar first to pre-check.
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 | ||
| wait_time | No | ||
| poll_interval | No | ||
| target_system | Yes | ||
| timeout_seconds | No | ||
| lpar_name_or_uuid | Yes | ||
| target_profile_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |