Ldap vCenter在更改子网后不起作用
上周,我将整个子网从192.168.1.1/24更改为10.0.0.0/8。我必须调整IP地址的机器之一是我的服务器,它运行ESXI,并在上面运行vCenter实例。我通过config CLI更改了他们的所有IP地址,但从那时起,当我转到vCenter的IP地址时,出现以下错误:Ldap vCenter在更改子网后不起作用,ldap,vmware,esxi,vcenter,Ldap,Vmware,Esxi,Vcenter,上周,我将整个子网从192.168.1.1/24更改为10.0.0.0/8。我必须调整IP地址的机器之一是我的服务器,它运行ESXI,并在上面运行vCenter实例。我通过config CLI更改了他们的所有IP地址,但从那时起,当我转到vCenter的IP地址时,出现以下错误: 503 Service Unavailable (Failed to connect to endpoint: [N7Vmacore4Http20NamedPipeServiceSpecE:0x000055f910c3
503 Service Unavailable (Failed to connect to endpoint: [N7Vmacore4Http20NamedPipeServiceSpecE:0x000055f910c3eed0] _serverNamespace = / action = Allow _pipeName =/var/run/vmware/vpxd-webserver-pipe)
注意:ESXI作为aspected工作
在深入研究vCenter的日志后,我在/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
如您所见,IP地址仍然是旧的
我能做些什么来改变这个?我已经尝试在/etc/vmware vpx/vpxd.cfg
中更改IP地址,但没有效果
还是部署一个新的vCenter实例更好
系统规格:
- VMware VirtualCenter 6.7.0版本-13007421
- ESXI客户端版本:1.33.3
- ESXI客户端内部版本号:12923304
- ESXi版本:6.7.0
- ESXi构建编号:13006603