vCenter servers in Enhanced Linked mode show the following error in the UI:
vCenter server replication status change alarm
Checking Replication status with the following command will show that the partner is available = no and will be multiple changes behind:
/usr/lib/vmware-vmdir/bin/vdcrepadmin -f showpartnerstatus -h localhost -u administrator
Example output:
Host available: Yes
Status available: No
My last change number: 102676
Partner has seen my change number: 99887
Partner is 2789 changes behind.
Additionally, manually Changing the vmdir status from standalone to normal does not stick and reverts following a reboot/power cycle of the vCenter.
NOTE: In the event of an output that shows a consistently large Partner is #### changes behind
number or Host available: No
please see the FixPSC section under Resolution in this article.
VMware vCenter Server
Upon checking the vmdir status with the following command, you will find that the status is set to STANDALONE:
/usr/lib/vmware-vmdir/bin/vdcadmintool
If you change the VMDIR mode to NORMAL it will stay that way until a subsequent restart of the vmdir service or the VCSA is rebooted, at which point the VMDIR mode will be switch back into STANDALONE mode.
There can be multiple causes for this issue to occur including for example:
Take offline snapshots of all vCenters in ELM before making changes.
NOTE: If the VMDIR mode is set to Failure (5) try to restart all services of the affected vCenter Server. Once the services are restarted check the VMDIR mode again, if it doesn't change to NORMAL or still the showpartnerstatus shows partner status available as No, proceed with the following steps.
/opt/likewise/bin/lwregshell set_value '[HKEY_THIS_MACHINE\Services\vmdir\]' "Arguments" "/usr/lib/vmware-vmdir/sbin/vmdird -s -l 0 -f /usr/lib/vmware-vmdir/share/config/vmdirschema.ldif"For 8.0 U3 and above versions:
/opt/likewise/bin/lwregshell set_value '[HKEY_THIS_MACHINE\Services\vmdir]' "Arguments" "/usr/lib/vmware-vmdir/sbin/vmdird -l 0 -f /usr/lib/vmware-vmdir/share/config/vmdirschema.ldif -L /var/log/vmware/vmdird/vmdird.log"
/opt/likewise/bin/lwsm refresh
service-control --stop vmdird && service-control --start vmdird
FixPSC:
/tmp
is preferred) using the SCP/SFTP tool of your preference../fixpsc rebuild --healthy-psc-fqdn <Other_vCenter_FQDN>
/usr/lib/vmware-vmdir/bin/vdcrepadmin -f showpartnerstatus -h localhost -u administrator