Greetings everyone, Today we will be discussing a particular situation where I was assisting a customer with their VC upgrade. The customer had ELM enabled but was encountering an error at the VC stage 2, stating “VMDir Replication between partners is not working”. You can refer to the following link for more information:
To resolve this issue, I logged into both VCs and checked the replication status. I noticed that one VC showed both replication partners, whereas the other VC only showed one. Here are the steps I took to resolve this problem:
- Prior to the upgrade, I ensured that we had a power-off snapshot of the VC in case anything went wrong.
- We ran the below command to check replication and found that it gave us the intended output in one VC, but showed nothing in the other.
/usr/lib/vmware-vmdir/bin/vdcrepadmin -f showservers -h localhost -u administrator
/usr/lib/vmware-vmdir/bin/vdcrepadmin -f showpartnerstatus -h localhost -u administrator
/usr/lib/vmware-vmafd/bin/dir-cli state get
- We also ran another command to check the VMDird status, and it showed as normal.
/usr/lib/vmware-vmdir/bin/vdcadmintool
- To proceed with the upgrade, we needed to fix the replication issue.
After fixing the replication issue, I was able to successfully upgrade the VC. If you are still encountering this error, you can refer to this article or leave a comment on this post for assistance. If you need further assistance, you can connect with me on Twitter.
Hello,I am currently facing the same problem as you,but did not find a solution in the post,could you please tell me your solution.
Try to fix the replication, Once it fixed it will resolved the issue.