YYYY-MM-DDTHH:35:37.938Z warning vpxd[30###27] [Originator@6876 sub=MoHost opID=HostSync-host-#####-28e##ca3] host [vim.HostSystem:host-#####,<hostname>] connection state changed to NO_RESPONSE
YYYY-MM-DDTHH:35:38.108Z warning vpxd[30###27] [Originator@6876 sub=MoHost opID=HostSync-host-#####-28e##ca3] host [vim.HostSystem:host-#####,<hostname>] connection state changed to CONNECTED
...
YYYY-MM-DDTHH:36:37.924Z warning vpxd[67###01] [Originator@6876 sub=MoHost opID=HostSync-host-#####-45d##ab7] host [vim.HostSystem:host-#####,<hostname>] connection state changed to NO_RESPONSE
YYYY-MM-DDTHH:36:38.112Z warning vpxd[67###01] [Originator@6876 sub=MoHost opID=HostSync-host-#####-45d##ab7] host [vim.HostSystem:host-#####,<hostname>] connection state changed to CONNECTEDVpxa[799##03]: [Originator@6876 sub=vpxaInvtHost opID=HostSync-host-#####-73e3###7-1] Server IP: <old_IP_of_vCenter> (id:83###1), host IP: <IP_of_ESXi>
Vpxa[799##03]: [Originator@6876 sub=Heartbeat opID=HostSync-host-#####-73e3###7-1] Started heartbeating..configstorecli config current get -c esx -g services -k vpxa_solution_user_config
{
"dvs": {
"dvs_sync_rate": 86400,
"port_sync_batch_limit": 100,
"portgroup_sync_batch_limit": 500
},
"host_ip": "<ESXi_IP>",
"host_key": "########-####-####-####-############",
"host_port": 443,
"server_ip": "<old_IP_of_vCenter>",
"server_port": 902,
"valid_user": "vpxuser"
}vSphere 8.0 U3
The vCenter Database (VCDB) contains a stale management IP for the affected ESXi host in the vpx_host table. During reconnect, vCenter pushes this IP into the vpxa config.
ESXi will be marked as not_responding as it's sending UDP heartbeats to the wrong IP address and the vCenter it's actually connected with will not receive UDP heartbeats.
The ESXi will nearly instantly reconnect due to ongoing TCP connections from vCenter.
Remove the old IP of vCenter from the VCDB:
psql -U postgres -d VCDB -c "select id, dns_name, management_ip from vpx_host where id in (#####, #####);"service-control --stop vpxdpsql -U postgres -d VCDB -c "update vpx_host set management_ip=null where id in (####, ####);"service-control --start vpxdNote: When reconnecting the ESXi hosts in step 10, it may initially fail and then display the "add host" wizard; proceed with this wizard and provide root credentials when prompted