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.
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) |