FREE STUDY NOTES · 2V0-15.25

vSphere HA agent states and admission control failures

What Agent Unreachable, Uninitialized, Host Failed, Network Partitioned and Network Isolated mean, and the documented fix for each.

From Ultra Transcenders 2V0-15.25 by Tony Rough

vSphere HA restarts VMs after host failures; when it is unhealthy, VMs are silently unprotected. The host’s HA state on the cluster and the host’s events tell you why.

How HA decides

When a secondary host's network heartbeats stop, the primary checks datastore heartbeats and pings the management IP. With no heartbeats of either kind the host is failed and its VMs are restarted; if datastore heartbeats still arrive it is isolated or partitioned and its VMs are monitored, not restarted. Side notes give two heartbeat datastores per host, that a vSAN datastore cannot be one, and that HA traffic uses the vSAN network with vSAN.
Figure 10.1: How the vSphere HA primary tells a failed host from an isolated or partitioned one

HA agent states

State Meaning Documented fix
Agent Unreachable vCenter or the primary cannot contact the agent (usually a network problem, all hosts failed, or the host agent failed and the watchdog could not restart it); no failover is triggered If vCenter shows the host not responding, fix the network or agent; otherwise reconfigure HA on the host
Uninitialized The agent cannot enter the run state; most often the host has no datastore access, or its local datastore, agent, firewall ports or host agent are unavailable Read the event vSphere HA Agent for the host has an error; fix datastore access, restart the host agent, free port 8182, then reconfigure HA
Initialization Error The last Configure HA task failed Host communication error: fix and retry; timeout: check vCenter-to-host communication; lack of resources: free about 75 MB of disk or unreserved memory; reboot pending: reboot and retry
Uninitialization Error vCenter lost the host while unconfiguring HA; the stray agent can elect itself primary and lock datastores Add the host back to vCenter (standalone or into any cluster)
Host Failed The primary cannot reach the host or its heartbeat datastores (may be a real failure, or storage plus network failure) Check and resolve the failure conditions
Network Partitioned The primary reaches the host only through heartbeat datastores; causes include wrong VLAN tagging, NIC or switch failure, mixed IPv4-only and IPv6-only hosts, or moving management networks without maintenance mode Fix the management (or vSAN) network
Network Isolated The host cannot ping its isolation addresses and cannot reach other agents Fix the network path
Configure HA times out on a large cluster Installation exceeded the timeout Set vCenter advanced option config.vpxd.das.electionWaitTimeSec to 240

Admission control

Common trap: Expecting HA to restart VMs from a host in the Agent Unreachable or Network Partitioned state - neither triggers a failover; the primary keeps monitoring through datastore heartbeats. Fix the network, then reconfigure HA on the host if the state does not clear.

Common trap: Relying on the vSAN datastore for HA datastore heartbeating - a vSAN datastore cannot be used; without other shared storage, no heartbeat datastores exist, so partitions and isolation are judged on network alone.

Get the whole book

This note is one section of Ultra Transcenders 2V0-15.25: VMware Cloud Foundation 9.0 Support, an independent study guide that explains every topic the exam covers by technology, with comparison tables, diagrams and the common traps, plus a glossary linked to Broadcom TechDocs.

Amazon.co.ukKindlePaperback
Amazon.comKindlePaperback

Free to read with Kindle Unlimited. Opens Amazon in a new tab.

About the book · 2V0-15.25 terms in the glossary · All 2V0-15.25 study notes

More 2V0-15.25 study notes