Pcornel
Virtualization · VMware vSphere

HA

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

Back to the Topic

Answer

HA recovery requires cluster configuration, host participation, datastore/network reachability, sufficient eligible resources, correct failure detection/isolation handling and a successful VM restart/guest recovery path.

Remember

  • HA enabled ≠ every VM protected or restartable.
  • Host isolation ≠ host power failure.
  • VM restarted ≠ guest/application recovered.
  • HA restart is not the same mechanism as vMotion and normally involves interruption.

First checks

  • Get-Cluster <c> | fl HAEnabled,HAAdmissionControlEnabled,HAFailoverLevel — HA settings
  • Get-VMHost | ft Name,@{N='HA';E={$_.ExtensionData.Runtime.DasHostState.State}} — HA agent state
  • Get-VIEvent -Types Warning,Error | ? FullFormattedMessage -match 'vSphere HA' — HA events

Verify in this order

host failure → FDM primary detects → restart on others

Where it usually breaks

First mismatch in management intent → host/cluster capability → hypervisor runtime/task → virtual resource/device → guest state → workload-visible read-back; preserve identity/native error/pre-state before mutation.

VMware vSphere → HA reference map

BoundaryWhat to verifyEvidence limit
Inventory/configExpected VMware vSphere → HA object, policy or configuration is presentConfigured state does not prove effective runtime behavior
Runtime/control planeRelevant vCenter/ESXi object, service or task state matches the intended conditionManagement state does not prove storage/network/guest outcome
Dependency/data pathRequired compute, storage, network, device and guest dependencies are healthyLocal success does not prove the next boundary
AcceptanceOriginal guest/application test succeeds after observation or changeRequired for end-to-end closure

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

Confirmation

Confirm action

Continue?