Migrate container between nodes
migrate_containerMigrate an LXC container to a different node. Supports online migration to keep the container running during transfer.
Instructions
Migrate an LXC container to a different node (online/offline). With online=true the container keeps running.
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_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | Source node | |
| vmid | Yes | ||
| online | No | ||
| restart | No | Restart after offline migration | |
| timeout | No | ||
| target_node | No | ||
| with_local_disks | No |