hmc_install_lpar_os
Submit a NIM-based job to install an operating system on a powered-off LPAR over the network, using NIM server and network parameters.
Instructions
Submit a NIM-based LPAR OS installation job.
lpar_uuid is the UUID of an existing (powered-off) LPAR. The LPAR will PXE-boot from the NIM server at nim_ip to install its OS. nim_gateway and nim_subnetmask define the network for the NIM install boot; lpar_ip is the IP address the LPAR uses during the NIM install; vlan_id is the VLAN tag for the install network (use "0" for untagged). timeout is the job timeout in minutes (default 60). Returns the submitted job — poll hmc_get_job for status.
Set wait=True to block until the job reaches a terminal state.
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_uuid": "<lpar_uuid>",
"nim_ip": "<nim_ip>",
"nim_gateway": "<nim_gateway>",
"nim_subnetmask": "<nim_subnetmask>",
"lpar_ip": "<lpar_ip>"
},
"name": "hmc_install_lpar_os"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | ||
| nim_ip | Yes | ||
| lpar_ip | Yes | ||
| timeout | No | ||
| vlan_id | No | 0 | |
| lpar_uuid | Yes | ||
| nim_gateway | Yes | ||
| poll_interval | No | ||
| nim_subnetmask | Yes | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |