migrate_guest
Migrate a VM or container to another node in the Proxmox cluster, with live migration to keep it running.
Instructions
Live migrate a VM or container to another node in the cluster.
Args: vmid: The numeric ID of the VM or container to migrate. target_node: Name of the destination node (e.g. 'pve2'). online: Live migration (true, default) or offline (false). Online keeps the guest running. confirm: Must be true to execute. First call without confirm shows a warning.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vmid | Yes | ||
| online | No | ||
| confirm | No | ||
| target_node | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |