Migrate VM between nodes
migrate_vmMigrate a virtual machine to a different node, either live or offline. Live migration keeps the VM running during the process.
Instructions
Migrate a VM to a different node (live or offline). With online=true the VM keeps running during migration.
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": {
"node": "<node>",
"vmid": "<vmid>"
},
"name": "migrate_vm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | Source node | |
| vmid | Yes | ||
| force | No | Force migration even if local disks present | |
| online | No | Live-migrate (online=true) | |
| target_node | No | Target node (omit for online-migration-only) | |
| with_local_disks | No | Migrate local disks (slower) |