Failover
Cheat sheet · https://pcornel.dk/topic.php?topic=3607
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 moveMove-ClusterVirtualMachineRole -Name <vm> -Node <n>— Hyper-VTest-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
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Trigger | Planned or failure-driven transition | Mechanism differs |
| Ownership | Only safe owner may activate | Safety boundary |
| Activation | VM/workload starts on destination | Not app health |
| Objective | Measured service restoration | RTO/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