vCenter Server IP Address Change Makes ESXi Servers Disconnected

Recently, due to the subnet decommission, had to change IP addresses of two vCenter servers.

After changing the IP addresses, the ESXI servers under each vCenter servers were disconnected. I thought this was a normal behaviour after the modification. Thus, I re-connected the servers and it was successful.

Few minutes later, ESXi servers were disconnected again. While Googling, found an KB article to this issue ( The problem was that the vpxa.cfg (vCenter Server Agent configuration file) file under /etc/opt/vmware/vpxa/vpxa.cfg in ESXi server stored the old IP address of the vCenter server.

To fix the issue, the KB article above suggested two methods (please refer to the article for the detailed steps):

  1. vpxa.cfg modification
  2. Reinstallation of vCenter Server Agent

Since I am a CLI person, applied the first method and ESXi servers were connected back to the vCenter servers. However, after having a cup of coffee, found out they were disconnected again! Checked the vpxa.cfg file and it was still pointing to the old vCenter server IP address. Thought second method should work. I tried it but still, same consequence.

While investigating into the vCenter settings, I found that under Runtime Settings, vCenter Server Managed IP was set to the old IP address!


After changing it to the new IP address, I tried the first method and it fixed the issue.

In summary, make sure you change the Managed IP Address under Runtime Settings before applying any methods suggested on the KB article, otherwise, you will see the same thing over and over!

Hope this helps.


3 thoughts on “vCenter Server IP Address Change Makes ESXi Servers Disconnected

  1. It’s perfect time to make some plans for the longer term and it’s time to be
    happy. I have read this put up and if I could I desire to suggest you some interesting
    issues or advice. Maybe you can write next articles
    regarding this article. I desire to read even more things approximately it!

  2. Hi steven, I need to change the IP Address on my vcenter and the ESXi hosts, could you please tell me the best way to do it.

    Thank you

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s