This article provides troubleshooting steps to determine why a host is inaccessible from the vSphere Client.
vmodl.fault.HostCommunication and appear similar to the following:[VpxLRO] -- ERROR task-internal-6433833 -- host-##### -- vim.host.NetworkSystem.queryNetworkHint: vmodl.fault.HostCommunication:(vmodl.fault.HostCommunication) {dynamicType = <unset>,faultCause = (vmodl.MethodFault) null,msg = "",}
[VpxdMoHost::CollectRemote] Stats collection cannot proceed because host may no longer be available or reachable: vmodl.fault.HostCommunication.
The issue appears on multiple hosts. Note the opID that identifies the offending host:
[YYYY-MM-DDTHH:MM:SS][29348 verbose 'Default' opID=f6a80d55] [ServerAccess] Attempting to connect to service at vc1.####:10443
If this issue occurs due to a communication error between the host and the vCenter Server, but the host is still responsive to user interaction, events similar to these appear on ESXi - /var/log/vmware/vpxa.log files:
Failed to bind heartbeat socket (-1). Using any IP.
Agent can't send heartbeats.msg size: 66, sendto() returned: Network is unreachable.
For instructions on retrieving logs and log file locations, see Location of vCenter Server log files.
The following are possible causes, but are not limited to:
To determine why a host is inaccessible and to restore service, follow these steps:
Agent can't send heartbeats because socket address structure initialization is failing".High Availability Triggers
The High Availability (HA) feature uses different triggers than vCenter Server to ensure a host is operational.
vCenter Server Alarm: The Host connection and power state alarm triggers due to a vmodl.fault.HostCommunication fault. This fault occurs if vCenter Server cannot communicate with a host using the vSphere API.
HA Isolation Response: This response triggers when a host agent cannot communicate with agents on other hosts and fails to reach the designated isolation address (the default gateway, by default). When both conditions are met, the host executes the configured HA isolation response.
Different agents manage both systems and communicate with different network hosts. Consequently, the relationship between these states is as follows:
A host showing as Not Responding in vCenter Server does not always trigger an HA isolation response. It might maintain a network connection with other hosts or its isolation address, remaining non-isolated.
A host experiencing an HA isolation response typically appears as Not Responding in vCenter Server.
References: