VMware

vCenter not functioning after changing subnet

Hi all,

Last week, I changed my whole subnet from [192.168.1.1/24](https://192.168.1.1/24) to [10.0.0.0/8](https://10.0.0.0/8). One of the machines I had to adjust the IP addresses on was my server, running ESXI and a vCenter instance on top. I changed all their IP addresses through the config CLI, but since then I get the following error when I go to vCenter’s IP address:

503 Service Unavailable (Failed to connect to endpoint: [N7Vmacore4Http20NamedPipeServiceSpecE:0x000055f910c3eed0] _serverNamespace = / action = Allow _pipeName =/var/run/vmware/vpxd-webserver-pipe)

*Note:* ESXI is working as expected.

After digging into vCenter’s logs, I found the following in `/var/log/vmware/vpxd-svcs/vpxd-svcs.log`:

2020-02-26T07:49:14.205Z [main INFO com.vmware.cis.lotus.LotusLocator opId=] vmAfClient.getDomainControllerEx(“”) : 192.168.1.122
2020-02-26T07:49:14.205Z [main INFO com.vmware.cis.lotus.LotusLocator opId=] Lotus hostname URL : 192.168.1.122
2020-02-26T07:49:14.208Z [main INFO com.vmware.cis.lotus.LotusLocator opId=] vmAfClient.getDomainName() in baseDn format : dc=vsphere,dc=local
2020-02-26T07:49:14.214Z [main INFO com.vmware.cis.lotus.LotusLocator opId=] Successfully refreshed machine account credentials
2020-02-26T07:49:21.164Z [refresh-lotus-locator-task INFO com.vmware.cis.lotus.LotusLocator opId=] vmAfClient.getDomainControllerEx(“”) : 192.168.1.122
2020-02-26T07:49:21.164Z [refresh-lotus-locator-task INFO com.vmware.cis.lotus.LotusLocator opId=] Lotus hostname URL : 192.168.1.122
2020-02-26T07:49:21.175Z [refresh-lotus-locator-task INFO com.vmware.cis.lotus.LotusLocator opId=] vmAfClient.getDomainName() in baseDn format : dc=vsphere,dc=local
2020-02-26T07:49:21.194Z [refresh-lotus-locator-task INFO com.vmware.cis.lotus.LotusLocator opId=] Successfully refreshed machine account credentials
2020-02-26T07:49:44.238Z [main WARN com.vmware.identity.interop.ldap.LdapErrorChecker opId=] Error received by LDAP client: com.vmware.identity.interop.ldap.OpenLdapClientLibrary, error code: -1
2020-02-26T07:49:44.238Z [main ERROR com.vmware.cis.lotus.LdapUtils opId=] Failed to connect to LDAP; uri: ldap://192.168.1.122:389
2020-02-26T07:49:44.239Z [main WARN com.vmware.cis.lotus.LdapConnectionFactory opId=] Failed to connect to LDAP server at 192.168.1.122, will retry; attempt:11 of 15, delay:5 sec

As you can see, the IP address is still the old one.

What can I do to change this? I already tried changing the IP addresses in /etc/vmware-vpx/vpxd.cfg but to no avail…

Or would I be better off deploying a new vCenter instance?

**System specs:**

* VMware VirtualCenter 6.7.0 build-13007421
* ESXI Client version: 1.33.3
* ESXI Client build number: 12923304
* ESXi version: 6.7.0
* ESXi build number: 13006603


View Reddit by dnwjnView Source

Related Articles

2 Comments

  1. It’s not until 6.7 I believe its supported to change IP adress of vCenter, or actually the PSC (thats responsible for the logins, and most likely the ldap issues you are seeing)

    VMware should have a KB for changing IP.

Leave a Reply

Your email address will not be published. Required fields are marked *

Close