sylve_node_drain
Builds and optionally executes a maintenance drain plan for a node to migrate or stop guests for HA failover, defaulting to a safe dry run.
Instructions
Build and optionally execute a maintenance drain plan for a node (HA failover, migration, or stop). Dry run by default for safety.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | Node hostname or UUID to drain (required). | |
| wait | No | ||
| context | No | Named login context from ~/.config/sylve/config.yaml. | |
| dry_run | No | Only build the plan (default true). | |
| stop_only | No | Stop guests instead of migrating. | |
| target_node | No | Explicit destination node. | |
| running_only | No | Skip stopped guests. | |
| wait_timeout | No | ||
| fallback_stop | No | Stop guests that cannot migrate. | |
| ignore_errors | No | Continue past failing guests. |