Removing a vCenter Server or PSC nodes from Enhanced Linked Mode that no longer exists
search cancel

Removing a vCenter Server or PSC nodes from Enhanced Linked Mode that no longer exists

book

Article ID: 400283

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

If a vCenter Appliance or PSC is deleted before completely decommissioning it from Enhanced Linked Mode, the replication agreements can remain in place and cause issues, including upgrade failures.

Error: VMDir Replication between partner is not working
Resolution: Make sure vmdir service is reachable and started in partner nodes and this node before continuing

Cause

The vdcrepadmin removeagreement commands will fail due to the target node being offline.

Resolution

  1. Power down all the linked nodes and take simultaneous powered-off snapshots.

    • Note: If you need to roll back, you must roll back all of the linked vCenter Server/PSC nodes to avoid replication issues.
  2. SSH to the vCenter server. 
  3. Verify which partners still have agreements but no longer exist from the output of the following command:

    /usr/lib/vmware-vmdir/bin/vdcrepadmin -f showpartners -h localhost -u administrator -w '<SSO_Administrator_Password>'

  4. Remove the unwanted vCenter node(s) with the following command:

    cmsso-util unregister --node-pnid vCenterServer_System_Name --username administrator@your_domain_name --passwd 'vCenter_Single_Sign_On_password'

Note:

      • Where vCenter_Server_Appliance_System_Name is the FQDN or IP address of the vCenter Server Appliance / PSC that you want to decommission.
      • Please enter the vCenter_Single_Sign_On_password in quotes.

Additional Information