migrate_vm
Migrate a virtual machine from one node to another within the Proxmox cluster. Supports live migration and transfer of local disks.
Instructions
Migrate a VM to another node in the cluster.
Args: node: The source node. vmid: The VM ID. target: Target node name. online: Live migration (True) or offline (False). with_local_disks: Migrate local disks as well. targetstorage: Target storage mapping for migration (e.g. 'local-lvm').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | ||
| vmid | Yes | ||
| target | Yes | ||
| online | No | ||
| with_local_disks | No | ||
| targetstorage | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |