Pcornel
Virtualization · High Availability

Failover

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

Back to the Topic

Answer

HA failover is an ownership and recovery outcome, not necessarily a seamless state transfer. After an unplanned host failure, failover often means restarting the VM on another host. Planned migration can move a running workload, but that is a different mechanism with different evidence and interruption characteristics.

Remember

  • Failover ≠ live migration.
  • Failover complete in management UI ≠ application continuity.
  • Ownership must be singular before destination writes are trusted.
  • A successful failover can still violate recovery time or application state objectives.

First checks

  • ha-manager migrate vm:<vmid> <node> — controlled move
  • Move-ClusterVirtualMachineRole -Name <vm> -Node <n> — Hyper-V
  • Test-Cluster — validation

Verify in this order

trigger → move/restart → service healthy

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 → Failover reference map

BoundaryMeaningEvidence limit
TriggerPlanned or failure-driven transitionMechanism differs
OwnershipOnly safe owner may activateSafety boundary
ActivationVM/workload starts on destinationNot app health
ObjectiveMeasured service restorationRTO/state must be checked

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3607

Confirmation

Confirm action

Continue?