All the hosts showed the old ip .. the vcenter db showed the old ip .. below seems to have resolved the issue
- Created a snapshot while the vCenter Server is in a powered off state for easy roll-back if need be.
- Powered on the vCenter Server and allowed services to start
- Stopped the vCenter Server vmware-vpxd service
service-control –stop vmware-vpxd
4. Log into the vCenter Server database
/opt/vmware/vpostgres/current/bin/psql -d VCDB -U postgres
5. Check the value stored in VPX_PARAMETER’s “VirtualCenter.AutoManagedIPV4”:
VCDB=# select * from vpx_parameter where name = ‘VirtualCenter.AutoManagedIPV4’;
6. Change this to the correct value, and check the value again:
VCDB=# update vpx_parameter set value = ‘2.4.6.8’ where name = ‘VirtualCenter.AutoManagedIPV4’;
VCDB=# select * from vpx_parameter where name = ‘VirtualCenter.AutoManagedIPV4’;
7. Check the value for the “management_ip” for all hosts in the vpx_host table:
VCDB=# select management_ip,dns_name from vpx_host;
8. Change this value to “NULL” and check the value again:
VCDB=# update vpx_host set management_ip = NULL where management_ip IS NOT NULL;
VCDB=# select management_ip,dns_name from vpx_host;
9. Exit the database
VCDB=# \q
10. Start vCenter Server services
service-control –start vmware-vpxd