Pcornel
Virtualization · High Availability

VM HA

Cheat sheet · https://pcornel.dk/topic.php?topic=3601

Back to the Topic

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 clustered
  • ha-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

BoundaryMeaningEvidence limit
EnrollmentVM has HA policy/resource stateNot proof of portability
DependenciesRequired devices/storage/network existNot proof of capacity
EligibilityDestination hosts satisfy constraintsNot proof of application recovery
VerificationGuest and service operate after recoveryEnd-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

Confirmation

Confirm action

Continue?