Use this branch to prove whether a VM is actually protected, whether the cluster can make a safe recovery decision, whether an eligible destination exists, and whether automatic recovery restored the original guest/application service rather than merely starting a VM process.
High Availability
Virtualization High Availability (HA) is the policy and recovery layer that decides whether a protected VM should be restarted or failed over to an eligible host after a failure. HA consumes cluster membership, quorum and fencing safety, then evaluates placement constraints, available capacity and recovery policy before handing execution to the destination host.
1. HA restarts VMs on other hosts after host failure.
2. Needs shared storage, quorum and capacity.
3. Not zero downtime — VMs reboot.
4. Test failover.
5. Set priorities.
host failure → detection → restart elsewhere
Test the defined failure scenario and recovery objective deliberately, then verify remaining capacity, placement resilience and application-level health after convergence.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
It does not show every protected VM can survive a different failure, that all remaining capacity is sufficient, or that future failovers will have identical timing and application behavior.
Next check: Test the defined failure scenario and recovery objective deliberately, then verify remaining capacity, placement resilience and application-level health after convergence.
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
VM protection state → cluster safety → failure event → placement/admission → start/failover → guest dependencies → application/client test
Step 2 Verification path Verify boundary
Exercise one safe negative or boundary case implied by quorum loss, split membership, incompatible CPU/device, unsatisfied placement constraint, duplicate ownership, migration timeout or failed post-move connectivity.
Step 3 Branching troubleshooting Narrow the fault
Path: Virtualization → High Availability. Local intent: High Availability coordinates automatic VM recovery, safe placement and restart policy after host or workload-control failures while relying on clustering, fencing and healthy destination resources.
Step 4 Where it fails Narrow the fault
Common failure classes are quorum loss, split membership, incompatible CPU/device, unsatisfied placement constraint, duplicate ownership, migration timeout or failed post-move connectivity.
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.
Subtopics
Go one level deeper into this subject.
VM HA is the protection state and recovery policy applied to an individual virtual machine so it can be automatically restarted or failed over when its current host becomes unavailable.
Subtopic Host FailureHost Failure is the HA trigger condition where the current VM owner becomes unavailable or unusable and the surviving cluster must safely determine whether workloads can be recovered elsewhere.
Subtopic Automatic RestartAutomatic Restart is the HA action that powers on or recreates a protected VM execution context on an eligible surviving host after safe failure handling.
Subtopic Resource PlacementResource Placement is the HA decision process that selects a surviving host able and permitted to run a protected VM while satisfying capacity, compatibility and policy constraints.
Subtopic AffinityAffinity is a placement rule or preference that keeps selected VMs, workloads or resources together on the same or related hosts when supported by the platform.
Subtopic Anti-AffinityAnti-Affinity is a placement rule or preference that spreads selected VMs or resources across different hosts or failure domains to reduce correlated impact.
Subtopic FailoverFailover is the transfer of workload execution or service responsibility from a failed/unavailable owner to a surviving eligible host or instance under HA control.
Subtopic Recovery PriorityRecovery Priority influences the order or relative importance of protected workloads during HA recovery when many resources compete for limited startup time or capacity.
Subtopic HA TroubleshootingHA Troubleshooting isolates failures across protection state, cluster safety, failure detection, placement, restart/failover, destination dependencies and guest/application recovery.
- HA configured ≠ VM protected and recoverable.
- Cluster quorum/fencing healthy ≠ HA recovery succeeded.
- VM restarted or powered on ≠ guest OS or application healthy.
- Redundant hosts ≠ sufficient failover capacity after a real failure.
ha-manager status— Proxmox HAGet-ClusterGroup— Hyper-V clustered VMsGet-Cluster | fl HA*— vSphere via vCenter
ReferenceWhy it matters1 section · depth on demand
In depth
High availability (HA) for VMs automatically restarts VMs on surviving hosts when a host fails. It reduces downtime to the time needed to detect the failure and boot the VM elsewhere — typically a few minutes — but it is a restart, not seamless continuity.
| Element | Purpose |
|---|---|
| Failure detection | Heartbeats over network, datastore heartbeats |
| Admission control | Reserves capacity so failed host's VMs can restart |
| Restart priority | Start critical VMs (DCs, databases) first |
| Isolation response | What a host does if it loses the network but is still running |
| VM/application monitoring | Restart VMs whose guest heartbeat stops |
HA only helps if there is spare capacity and shared or replicated storage. For zero-downtime needs use application-level clustering or VMware Fault Tolerance. Test HA by simulating a host failure in a maintenance window and measuring actual restart times.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
HA enabled ≠ VM protected; safe cluster state ≠ recovery action; VM running ≠ workload healthy.
Mechanics
The responsible chain spans cluster membership/quorum, placement policy, host compatibility and workload movement/restart.
The bounded target is expected workload placement, failover eligibility and continuity.
Follow the path in order: cluster membership/quorum → node capability/health → placement policy → resource ownership → migration/failover task → guest/workload continuity.
The operating invariants are: all expected nodes agree on membership; placement constraints are satisfiable; ownership is singular; movement preserves workload state as designed.
Important negative cases include quorum loss, split membership, incompatible CPU/device, unsatisfied placement constraint, duplicate ownership, migration timeout or failed post-move connectivity.
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. 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 reference map
Fast HA boundaries for High Availability.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Protection | VM/resource is enrolled in HA policy | Does not prove recovery can be placed |
| Safety | Cluster has authoritative ownership | Does not prove destination dependencies |
| Placement | An eligible host and capacity exist | Does not prove start/application success |
| Outcome | Original workload works after recovery | Final end-to-end proof boundary |