hmc_add_vscsi_adapter
Connect an LPAR to a VIOS by adding a virtual SCSI client adapter, then map storage backing devices to that adapter.
Instructions
Add a Virtual SCSI client adapter to an LPAR, paired to a VIOS.
lpar_name_or_uuid: accepts either a PartitionName or a UUID (find it with hmc_lpars). vios_partition_id is the integer PartitionID of the serving VIOS (find it with hmc_vios), and vios_slot is that VIOS's server-side virtual SCSI slot number that owns the backing storage. slot_number is the client adapter's virtual slot (auto-assigned if omitted). Storage backing devices (disks / logical volumes) are then mapped to this adapter on the VIOS.
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>",
"vios_partition_id": "<vios_partition_id>",
"vios_slot": "<vios_slot>"
},
"name": "hmc_add_vscsi_adapter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vios_slot | Yes | ||
| slot_number | No | ||
| lpar_name_or_uuid | Yes | ||
| vios_partition_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |