"The vCenter Server should not be in ELM for <vCenter_fqdn> . Remove the vCenter Server from the ELM ring"/usr/lib/vmware-vmdir/bin/vdcrepadmin -f showservers -h localhost -u administrator/var/log/vmware/topologysvc/topology-svcs.logInternal Server Error (Failed to get client affinity information for (<Stale fqdn or IP Address>). CDC Native platform error [code: 382312491]Internal Server Error (Failed to get client affinity information for (<Stale fqdn or IP Address>). CDC Native platform error [code: 382312513]vCenter import workflow connects to Topology Service on vCenter to list all the ELM nodes. This function fails when there are stale vCenter objects in Computers container on VMDIR DB on vCenter Server.
Remove the stale entries by following the below steps:
ldapsearch ldap://localhost -LLL -x -D "cn=administrator,cn=users,dc=vsphere,dc=local" -W -b "ou=Computers,dc=vsphere,dc=local" -s subroot@ [ ~ ]# ldapsearch ldap://localhost -LLL -x -D "cn=administrator,cn=users,dc=vsphere,dc=local" -W -b "ou=Computers,dc=vsphere,dc=local" -s sub
Enter LDAP Password:
dn: ou=Computers,dc=vsphere,dc=local
dn: cn=stale_vcenter.example.com,ou=Computers,dc=vsphere,dc=localldapdelete -H ldap://localhost -x -D "cn=administrator,cn=users,dc=vsphere,dc=local" -W "cn=<stale entry to delete>,ou=Computers,dc=vsphere,dc=local"root@ [ ~ ]# ldapdelete -H ldap://localhost -x -D "cn=administrator,cn=users,dc=vsphere,dc=local" -W "cn=stale_vcenter.example.com,ou=Computers,dc=vsphere,dc=local"
Enter LDAP Password:
root@ [ ~ ]#
Alternatively, Jxplorer can be used to connect to the VMDIR database and manually remove the stale entries under "Computers" container. Refer Using JXplorer to connect to the vSphere Single Sign-on.