Introduction:
After changing the Primary Network Identifier (PNID) or updating DNS settings on the vCenter Server Appliance (VCSA), the vmware-stsd and vmware-sps services fail to start. The VMware Appliance Management Interface (VAMI) shows a "503 - Service Unavailable" error, and the vSphere Client displays "no healthy upstream" errors.
Symptoms:
vmware-stsd and vmware-sps services fail to start./var/log/vmware/sso/vmware-identity-sts.log contains: java.lang.IllegalStateException: Internal error : duplicate entries were found at com.vmware.identity.idm.server.provider.vmwdirectory.VMwareDirectoryProvider.getAttributes/var/log/vmware/sps/sps.log contains: com.vmware.vim.storage.common.serviceclient.vpxd.VpxdException: Error occurred while retrieving service contentA previous machine account entry was not removed from the VMware Directory (VMDIR) database during a network configuration change. This results in multiple machine accounts sharing the same sAMAccountName attribute, leading to identity lookup failures.
Before modifying the VMware Directory instance, perform the following steps to ensure data safety:
cn=####.####.####.####,ou=Domain Controllers,dc=vsphere,dc=localTo troubleshoot using a GUI, refer to: Using JXplorer to connect to the vSphere Single Sign-on
For further assistance, refer to our page.