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).
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": {
"lpar_name_or_uuid": "<lpar_name_or_uuid>",
"target_system": "<target_system>"
},
"name": "hmc_migrate_lpar"
}
}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 |