An Enhanced Linked Mode (ELM) configuration in vCenter Server may become inconsistent or broken due to various reasons, This article outlines some of the common causes and considerations related to ELM failures:
/var/log/vmware/vmdird/vmdird-syslog.log file the following entries will be seen: yyyy-mm-ddThh:mm:ss.Z.err vmdird t@######241473280: VmDirSendLdapResult: Request (Search), Error (LDAP_UNWILLING_TO_PERFORM(53)), Message (Server in not in normal mode, not allowing outward replication.), (0) socket (##.##.##.##)
/var/log/vmware/vmdird/vmdird-syslog.log file.yyyy-mm-ddThh:mm:ss.Z err vmdird t@######789123: Bind Request Failed (##.##.##.##) error 49: Protocol version: 3, Bind DN: ..., Method: SASL 1YYYY-MM-DDTHH:MM:SS.965554-05:00 err vmdird t@#######30842880: SASLSessionStep: sasl error (-13)(SASL(-13): authentication failure: client evidence does not match what we calculated. Probably a password error)
Prerequisites:
Confirm the partner status of the vCenter servers in linked mode with the following command:
/usr/lib/vmware-vmdir/bin/vdcrepadmin -f showpartnerstatus -h localhost -u administrator
Resolution Steps:
SSH into the vCenter with root credentials and run the following command:
/usr/lib/vmware-vmdir/bin/vdcadmintool5 to set the vmdir state to NORMALIf the above vmdir state change encounter's a failure, proceed to step 2.
Run the FixPSC script in KB: Fix PSC/vmdir inconsistencies using fixpsc python script.
If there are still VMDIR inconsistencies contact Broadcom Support for further assistance.
Commands to run on vCenter Servers to check the replication status for all the vCenter Servers in the ELM mode:
/usr/lib/vmware-vmdir/bin/vdcrepadmin -f showservers -h localhost -u administrator/usr/lib/vmware-vmdir/bin/vdcrepadmin -f showpartners -h localhost -u administrator/usr/lib/vmware-vmdir/bin/vdcrepadmin -f showpartnerstatus -h localhost -u administrator/usr/lib/vmware-vmafd/bin/dir-cli state gethostname/usr/lib/vmware-vmafd/bin/vmafd-cli get-pnid --server-name localhostservice-control --status --all