/usr/lib/vmware-vmdir/bin/vdcrepadmin -f showpartnerstatus -h localhost -u Administratorroot@VC1 [ ~ ]# /usr/lib/vmware-vmdir/bin/vdcrepadmin -f showpartnerstatus -h localhost -u Administratorpassword:Partner: VC2.domain.comHost available: YesStatus available: YesMy last change number: 1556148Partner has seen my change number: 1479071Partner is 369127 changes behind.
Partner: VC3.domain.comHost available: YesStatus available: YesMy last change number: 1556148Partner has seen my change number: 1479071Partner is 369127 changes behind.
Partner: VC4.domain.comHost available: No
/var/log/vmware/vmdird/vmdird-syslog.log there may be similar outputsIf we can still see the replication agreement on the vCenter, it mean that the vCenter has not been properly decommissioned
Unregister the Stale vCenter registry first using the cmsso-utils
1. Take powered-off Snapshots of all the vCenters either in the ELM or standalone
2. Run the below command to unregister stale vCenter.
cmsso-util unregister --node-pnid vCenterServer_System_Name --username administrator@your_domain_name --passwd 'vCenter_Single_Sign_On_password'
Where vCenter_Server_Appliance_System_Name is the FQDN or IP address of the vCenter Server Appliance that you want to decommission. Please enter the vCenter_Single_Sign_On_password in quotes.
For more information: https://knowledge.broadcom.com/external/article/316470
If the cmsso-utils is not removing completely, follow the Workaround below to manually delete the Entry:
• Take powered-off Snapshots of all the vCenters either in the ELM or standalone, remove the replication agreements using the below command, and Reboot the vcenter.
* Determining replication agreements and status with the Platform Services Controller (PSC)
https://knowledge.broadcom.com/external/article/316504/determining-replication-agreements-and-s.html
./vdcrepadmin -f removeagreement -2 -h Source_PSC_FQDN -H PSC_FQDN_to_Remove_from_Replication -u administrator -w Administrator_Password
If the removeagreement is not removing completely, follow the workaround below to use Jxplorer to manually delete:
Once connected go to > Configuration >Sites > Lookupservice> Servers > vCenter Name >Replication Agreements > Right click and remove the stale agreement
Restart vCenter services once removed:
service-control --stop --all && service-control --start --all
Retry vCenter upgrade once more.