VMware vCenter Server
Note: Before starting, see Restarting the Management agents on an ESX Server for important information on restarting the mgmt-vmware service.
The ESXi hosts disconnect because they store the IP address of the vCenter Server in configuration files on each of the individual servers. This incorrect address continues to be used for heartbeat packets to vCenter Server.
There are two methods to get the ESXi hosts connected again. Try each one in the order specified, testing the results each time.
Before performing either method, ensure that the Managed IP Address of the vCenter Server is updated to reflect the new IP address being used. For more information, see Verifying the vCenter Server Managed IP Address.
Method 1 - edit the vpxa configuration
configstorecli config current get -c esx -g services -k vpxa_solution_user_config -outfile vpxa.json
rm -f vpxa.json.bak; cp vpxa.json vpxa.json.bak -f
sed -e 's/ "server_ip".*/ "server_ip": "<vcenter_ip>
",/g' -i vpxa.json
configstorecli config current update -c esx -g services -k vpxa_solution_user_config -infile vpxa.json
configstorecli config current get -c esx -g services -k vpxa_solution_user_config
/etc/init.d/vpxa restart
Method 2 - disconnect/reconnect the ESXi in vSphere Client
Note: Do not remove the ESXi host from vCenter inventory if the host is attached to a Distributed Switch (vDS). For more information, see Moving an ESX/ESXi host with vDS from one vCenter Server to another.
configstorecli config current get -c esx -g services -k vpxa_solution_user_config
Verify that vCenter Server Settings - > Runtime settings -> vCenter Server managed address is reflecting the OLD IP address, update with the new IP address and restart the vCenter Server.
For related information, see Verifying the VirtualCenter Managed IP Address.
For translated versions of this article, see: