pve_node_migrateall
Migrate all or filtered guests from a source node to a destination node in Proxmox. Dry-run returns a plan; confirm to submit the migration tasks.
Instructions
MUTATION: migrate all (or filtered) guests from a node to a target node.
RISK_HIGH, NOT auto-reversible: reversal requires a second pve_node_migrateall back, which may not restore the original state. target = destination node name (required). For a single guest instead of the whole node use pve_guest_migrate. Dry-run by default (returns a PLAN); confirm=True executes (POST, Smoke-confirm) and returns {"status": "submitted", "result": <task UPID | None>} — poll with pve_task_status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vms | No | Optional comma-separated list of VMIDs/CTIDs to limit the scope; omit to migrate all guests on the node. | |
| node | No | Source PVE node name whose guests to migrate; defaults to the configured node if omitted. | |
| target | Yes | Destination PVE node name to migrate guests to. | |
| confirm | No | False (default) returns a dry-run PLAN only; True executes the bulk migration. | |
| maxworkers | No | Maximum number of parallel migration workers to run. | |
| proximo_target | No | Which configured Proxmox target to run this call against — a target name from your multi-target config (a specific PVE/PBS/PMG/PDM box). Omit to use the single/default target from the environment; the selection applies only to this call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |