Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

VMware vCenter Server IP address change causes VMware ESX hosts to disconnect (1001493)

Details

I changed the IP of my vCenter Server and now all ESX(i) hosts are showing as disconnected from VMware Infrastructure/vSphere Client. How can I resolve this?


Solution

Note: Before you begin, see Restarting the Management agents on an ESX Server (1003490) for important information on restarting the mgmt-vmware service.
 
The ESX(i) 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 ESX(i) hosts connected again. Try each one in order, testing your results each time.

Before performing either method, e
nsure that the Managed IP Address of the vCenter Server has been updated to reflect the new IP address being used. For more information, see Verifying the vCenter Server Managed IP Address (1008030).
 
Method 1
  1. Log in as root to the ESX(i) host with an SSH client. For more information, see Using Tech Support Mode in ESXi 4.1 and ESXi 5.x (1017910).
  2. Using a text editor, edit the /etc/opt/vmware/vpxa/vpxa.cfg file and change the <serverIp> parameter to the new IP of the vCenter Server.

    ESXi 5.0: The vpxa.cfg file can be located in
    /etc/vmware/vpxa/vpxa.cfg

  3. Save your changes and exit.
  4. Restart the management agents on the ESX(i). For more information, see Restarting the Management agents on an ESX Server (1003490).
  5. Restart the VirtualCenter Server service. For instructions, see Stopping, starting, or restarting the vCenter Server service (1003895).
 
Method 2
  1. From vSphere Client, right-click the ESX(i) host and click Disconnect.
  2. From vSphere Client, right-click the ESX(i) host and click Reconnect. If the IP is still not correct, go to step 3.
  3. From vSphere Client, right-click the ESX(i) host and click Remove

    Caution
    : After removing the host from vCenter Server, all the performance data for the virtual machines and the performance data for the host will be lost.

  4. Reinstall the VMware vCenter Server agent. For instructions, see Verifying and reinstalling the correct version of VMware VirtualCenter Server agent (1003714).
  5. Select New > Add Host.
  6. Enter the information used for connecting to the host.

For related information, see Changing the IP address, default gateway, and hostname of the Service Console in ESX (4309499) and Verifying the VirtualCenter Managed IP Address (1008030).

Tags

esx-host-disconnected  esx-host-disconnected-from-vc

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 33 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
  • 33 Ratings
Actions
KB: