Caution: This procedure involves data modification on vCenter Server Appliance. Ensure you have valid backup of all vCenter Servers in replication partnership. If you are taking a snapshot before the change, all vCenters in replication partnership with the vCenter where the change is made need to be powered off at the same time to take a consistent snapshot state of the vCenter.
To resolve this issue, find the stale registration and unregister it from lookupservice:
/usr/lib/vmware-lookupsvc/tools/lstool.py list --url https://localhost/lookupservice/sdk --type vcenterserver > /tmp/psc.txt --no-check-cert
Name: AboutInfo.vpx.name
Description: AboutInfo.vpx.name
Service Product: com.vmware.cis
Service Type: vcenterserver
Service ID: default-first-site:3c80e5dd-####-####-####-########378
Site ID: default-site
Node ID: 12833276-####-####-####-########242
Owner ID: vpxd-f376af08-####-####-####-########[email protected]
Version: 5.1
Endpoints:
Name: AboutInfo.vpx.name
Description: AboutInfo.vpx.name
Service Product: com.vmware.cis
Service Type: vcenterserver
Service ID: abd2e86e-####-####-####-########2e1
Site ID: default-first-site
Node ID: d4b8027e-####-####-####-########5e7
Owner ID: vpxd-9a77086d-####-####-####-########[email protected]
Version: 7.0
Endpoints:
Name: AboutInfo.vpx.name
Description: AboutInfo.vpx.name
Service Product: com.vmware.cis
Service Type: vcenterserver
Service ID: 218df911-####-####-####-########876
Site ID: default-site
Node ID: 12833276-####-####-####-########242
Owner ID: vpxd-f376af08-####-####-####-########[email protected]
Version: 7.0
/usr/lib/vmware-lookupsvc/tools/lstool.py unregister --url https://localhost/lookupservice/sdk --id default-first-site:3c80e5dd-####-####-####-########378 --user '[email protected]' --password '<password>' --no-check-cert
Note: This is only intended to remove stale vCenter service registrations. For vCenter registrations in linked mode that have not yet been upgraded, those should be upgraded and not removed using the commands above.