VM HA
Cheat sheet · https://pcornel.dk/topic.php?topic=3601
Answer
VM HA binds a VM to the platform HA control plane. A protected VM normally needs a valid cluster object, healthy metadata, reachable backing storage or replicated state, usable networking, an eligible destination and enough resources. Protection is therefore more than an enabled checkbox or registration entry.
Remember
- VM listed in HA inventory ≠ recoverable on every host.
- Protected VM ≠ application-aware monitoring unless explicitly provided.
- Running state after recovery ≠ guest readiness.
- A host-local dependency can silently defeat VM HA.
First checks
ha-manager add vm:<vmid> --state started— add VM to HA (Proxmox)Add-ClusterVirtualMachineRole -VMName <vm>— make VM clusteredha-manager status— state
Verify in this order
VM in HA group → host fails → restarted
Where it usually breaks
First mismatch in cluster membership/quorum → node capability/health → placement policy → resource ownership → migration/failover task → guest/workload continuity; preserve identity/native error/pre-state before mutation.
High Availability → VM HA reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Enrollment | VM has HA policy/resource state | Not proof of portability |
| Dependencies | Required devices/storage/network exist | Not proof of capacity |
| Eligibility | Destination hosts satisfy constraints | Not proof of application recovery |
| Verification | Guest and service operate after recovery | End-to-end outcome |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3601