xo_v2v_migrate
Migrate VMware ESXi VMs to XCP-ng with warm V2V migration: stream disks while the source VM runs, then cut over briefly to limit downtime.
Instructions
Migrate a VM from VMware ESXi to XCP-ng using V2V warm migration.
Warm migration streams disk data while the source VM is still running, then performs a brief cutover (seconds of downtime). Works with all ESXi versions including VMFS6 and VSAN.
Write operation — recorded in the audit log.
Args: esxi_id: Source ESXi server ID. vm_name: Name of the VM to migrate on ESXi. target_sr: Target storage repository UUID on XCP-ng (optional). target_network: Target network UUID on XCP-ng (optional). gateway_id: Target gateway (optional).
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": {
"esxi_id": "<esxi_id>",
"vm_name": "<vm_name>"
},
"name": "xo_v2v_migrate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| esxi_id | Yes | ||
| vm_name | Yes | ||
| target_sr | No | ||
| gateway_id | No | ||
| target_network | No |