/var/run/log/vpxa.log , it contains the following error :-YYYY-MM-DDTHH:MM:SS.Z Wa(164) Vpxa[2125970]: [Originator@6876 sub=Heartbeat opID=vpxaHeartbeat.cpp:####-####] Failed to bind heartbeat socket; '#.#.#.host_IP', e: 99(Cannot assign requested address)YYYY-MM-DDTHH:MM:SS.Z Wa(164) Vpxa[2125970]: [Originator@6876 sub=Heartbeat opID=vpxaHeartbeat.cpp:####-#### Failed to bind heartbeat socket; '#.#.#.host_IP', e: 99(Cannot assign requested address)/var/log/vmware/vpxd.log , it contains the following error :-YYYY-MM-DDTHH:MM:SS.Z info vpxd[48005] [Originator@6876 sub=HostCnx opID=CheckforMissingHeartbeats-####] [VpxdHostCnx] No heartbeats received from host; cnx: ########-####-####-####-############, h: host-####, time since last heartbeat: 665188msThe primary cause is a Managed IP Mismatch. The vCenter Server Database (VCDB) holds an incorrect IP address for the ESXi host in the vpx_host table. When vCenter pushes configuration to the host, it instructs the vpxa service to bind to the IP stored in the database. If that IP does not exist on the host's VMkernel interface (e.g., after a host IP change or migration), the bind fails with Error 99.
Steps to check VCDB information for host:
/opt/vmware/vpostgres/current/bin/psql -d VCDB -U postgres VCDB=# select id, dns_name, ip_address from vpx_host;
id | dns_name | ip_address
------+-------------------------+----------------
####| host_name1 | #.#.#.1
####| host_name2 | #.#.#.2
####| host_name3 | #.#.#.5 ----> incorrect entry in vCenter Database for host "host_name3", it should be #.#.#.3
(3 rows)
Take a snapshot of the vCenter Server Appliance (VCSA) as a best practice. If multiple vCenters are present in enhanced linked mode, please power off all linked vCenters at the same time and take a powered off snapshot of every linked vCenter in the SSO domain.
service-control --stop vmware-vpxd
/opt/vmware/vpostgres/current/bin/psql -d VCDB -U postgresselect id, dns_name, ip_address from vpx_host WHERE dns_name = 'host_name3';UPDATE vpx_host SET ip_address = '#.#.#.3' WHERE id = ##;select id, dns_name, ip_address from vpx_host WHERE id = ##; \q to exit the database.service-control --start vmware-vpxd