Symptoms:
This issue occurs in these situations when using Enhanced Linked Mode:
Note: This issue may be transient as another vCenter Server in an Enhanced Link Mode domain is restarting. Before continuing with troubleshooting, it is advised to wait 10 minutes, log out, and log back into the vCenter Server. The error may clear on its own. In addition, it is strongly advised to determine if logging into the other vCenter Server identified in the error message directly to determine if vCenter services are up and running before continuing. If all vCenter Servers are up and running and this error persists, continue with this resolution to identify duplicate service registrations or other errors.
To resolve this with scripting, refer to:
Using the VCF Diagnostic Tool for vSphere (VDT)
Using the 'lsdoctor' Tool
To resolve this manually, refer to the below section.
shell.set --enabled trueshell and press Enter/usr/lib/vmware-lookupsvc/tools/lstool.py list --url http://localhost:7090/lookupservice/sdk --type vcenterserver > /tmp/psc_services.txt --no-check-cert/usr/lib/vmware-lookupsvc/tools/lstool.py unregister --url http://localhost:7090/lookupservice/sdk --id Service_ID from Step 4 --user '[email protected]' --password 'ExamplePassword' --no-check-cert
Note: To find out which node is the right node mapped with the PSC / vCenter, view the vmdir.ldu-guid file of the respective machine.
cd /etc/vmware/install-defaults/ cat /etc/vmware/install-defaults/vmdir.ldu-guidThe output gives the ORIGINAL NODE id. Remove the stale entry registered for other node ids.