Symptoms:
Agent can't send heartbeats because socket address structure initialization is failing
VMware vCenter Server
To verify the vCenter Server Managed IP address within the vCenter Server database:
$ /opt/vmware/vpostgres/current/bin/psql -d VCDB -U postgres
$ select id,dns_name,management_ip from vpx_host where dns_name like '<vCenter_FQDN>'
1. This involves database changes hence a snapshot of vCenter as well as backup of the vCenter is a must. File-Based Backup and Restore of vCenter Server
2. Stop the vCenter vpxd service:
$ service-control --stop vmware-vpxd
3. Execute the following SQL query:
$ update vpx_host set management_ip = <vCenter_Server_IP_Address>
4. Start the vCenter Server service. $ service-control --start vmware-vpxd
5. Reconnect the ESXi host.