Use this topic to distinguish unplanned HA failover from migration, prove ownership is singular, and verify that the destination VM and application actually resume service.
Failover · High Availability
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.
1. Failover moves a service to another node after failure or on demand.
2. Planned failover uses live migration.
3. Unplanned = restart.
4. Test regularly.
5. Measure time to recover.
trigger → move/restart → service healthy
Compare measured outage/state with the workload objective and verify remaining redundancy after the failover.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
It does not show zero downtime, zero data loss, transaction consistency or that a future failover will choose the same destination.
Next check: Compare measured outage/state with the workload objective and verify remaining redundancy after the failover.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
HA trigger → fence/ownership → placement → VM start/activate → guest/service → client transaction
Step 2 Effective-state and workload closure Verify boundary
Local intent: Failover is the transfer of workload execution or service responsibility from a failed/unavailable owner to a surviving eligible host or instance under HA control.
Step 3 Branching troubleshooting Narrow the fault
Path: Virtualization → High Availability → Failover. Local intent: Failover is the transfer of workload execution or service responsibility from a failed/unavailable owner to a surviving eligible host or instance under HA control.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- 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.
ha-manager migrate vm:<vmid> <node>— controlled moveMove-ClusterVirtualMachineRole -Name <vm> -Node <n>— Hyper-VTest-Cluster— validation
ReferenceWhy it matters1 section · depth on demand
Internals and state
Local intent: Failover is the transfer of workload execution or service responsibility from a failed/unavailable owner to a surviving eligible host or instance under HA control.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
Failover initiated ≠ ownership transferred; ownership transferred ≠ VM ready; VM ready ≠ service objective met.
In depth
Failover in virtualization covers several levels — choose the right one per service:
| Level | Trigger | Outage | Data loss |
|---|---|---|---|
| HA restart | Host failure | Minutes (reboot) | None (crash-consistent) |
| Fault tolerance | Host failure | None | None |
| Guest cluster failover (WSFC, Pacemaker) | Node/app failure | Seconds–minutes | None |
| Replication failover (DR) | Site failure | Minutes–hours | Since last replica |
Test each level: power off a host (HA), kill a guest node (guest cluster), and run DR test failovers in isolated networks.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in High Availability → Failover. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://libvirt.org/docs.html · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
High Availability → Failover reference map
Fast HA boundaries for High Availability → Failover.
| 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 |