Plan node evacuation
plan_node_evacuationPlans Proxmox node evacuation by detecting HA guests, passthrough devices, bind mounts, locks and local disks, assigning targets and migration modes, and returning exact commands without execution.
Instructions
Plan how to empty a node for maintenance without breaking HA or overloading others.
Detects passthrough devices, bind mounts, local disks, locks and HA-managed guests, assigns every guest a target and migration mode, and returns the exact command sequence (including Ceph 'noout' and HA maintenance mode). Executes nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | Node to drain for maintenance. | |
| memory_limit | No | Max memory use allowed on targets. | |
| exclude_targets | No | Nodes that must not receive guests. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | ||
| steps | Yes | ||
| guests | Yes | ||
| summary | Yes | ||
| targets | Yes | ||
| feasible | Yes |