enable_vm_ha
Enable high availability for a VM to ensure automatic restart and migration on node failure. Configure HA group, state, restart limits, and delays.
Instructions
Enable High Availability for a VM
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | Node where VM is located | |
| vmid | Yes | VM ID | |
| group | No | HA group name | |
| state | No | Desired state | |
| max_restart | No | Maximum number of restarts | |
| restart_delay | No | Restart delay in seconds |