Hi,
I changed the IP on two vCenter 6.7 U3 appliances today. One worked flawlessly, while the other one caused the ESXi hosts to have intermittent connections warnings. I found that the old IP was still present for ServerIp in vpxa.cfg on each ESXi host, but every time I change it to the new address it keeps changing back.
I can manage the hosts just fine, so it seems like its only the heartbeats who are looking for the old address.
There is also an advanced setting on vCenter which points to the old IP, but I cannot change it: VirtualCenter.AutoManagedIPV4
Thanks for any help.
Connect to VCDB:
/opt/vmware/vpostgres/current/bin/psql -d VCDB -U postgres
Execute the below query and look for VirtualCenter.AutoManagedIPV4:
select * from vpx_parameter;
Did you try rebooting vCSA??
We can try modifying the entry VirtualCenter.AutoManagedIPV4 in VCDB.
I tried rebooting the VCSA yes. I also tried to change the IP a second time, but same result.
How can we modify the entry VirtualCenter.AutoManagedIPV4 in VCDB? I am also considering calling GSS tomorrow.
Thanks.
Are there any references of old IP in /etc/hosts and /etc/systemd/network/10-eth0.network
You will have to look for entries under vpx_parameter table. Let GSS make these changes for you.
Connect to VCDB:
/opt/vmware/vpostgres/current/bin/psql -d VCDB -U postgres
Execute the below query and look for VirtualCenter.AutoManagedIPV4:
select * from vpx_parameter;
Did you assign new IP to VCSA in DNS ( forward/reverse lookup) Server
Same thing you need to do in /etc/resolve.config file
Yes, we updated and verified DNS before rebooting the VCSA.
We checked /etc/resolve.config and /etc/hosts but there were no references to the old address.
I explained how to connect to the VCSA database (PostgreSQL) on the following link. I hope it can help you to find the related table:
https://virtualundercity.blogspot.com/2018/03/connect-manage-vcsa-database-postgreql.html
then give me vpxd logs
Solved it by updating VirtualCenter.AutoManagedIPV4 in the vCenter DB. Thanks for all Your help.