Adapter Instance Object is down alert for ESXi hostsAgent can't send heartbeats because socket address structure initialization is failingYYYY-MM-DDThh:mm:ssZ Er(163) Vpxa[2099551]: [Originator@6876 sub=Heartbeat opID=vpxaHeartbeat.cpp:218-680f5dba] getaddrinfo of server address failed; '<vc_fqdn>', r: -2(Name or service not known)
configstorecli config current get -c esx -g services -k vpxa_solution_user_config | grep 'server_ip'
"server_ip": "<vc_fqdn>",
VMware Cloud Foundation 9.x
VMware Cloud Foundation 5.x
VMware Aria Suite
VMware vCenter 9.x
VMware vCenter 8.x
VMware vSphere ESXi 9.x
VMware vSphere ESXi 8.x
The configured heartbeat IP in the host configuration (server_ip) is expected to be the an IP address and not an FQDN and should match the configured heartbeat IP address of the vCenter
vCenter > Configure > Advanced Settings > VirtualCenter.AutoManagedIPV4configstorecli command (replace <vcenter_ip> with the correct IP address):configstorecli config current set -c esx -g services -k vpxa_solution_user_config --path /server_ip --value "<vcenter_ip>"configstorecli config current get -c esx -g services -k vpxa_solution_user_config --path /server_ip/etc/init.d/vpxa restartThe same error can be observed if the IP of the vCenter have been changed:
337654 - Changing vCenter Server IP address causes ESXi hosts to disconnect