Cleaning up decommissioned SRM registration from vCenter Server
search cancel

Cleaning up decommissioned SRM registration from vCenter Server

book

Article ID: 337576

calendar_today

Updated On:

Products

VMware Live Recovery VMware Site Recovery Manager 8.x

Issue/Introduction

  • Attempting to unregister a decommissioned Site Recovery Manager (SRM) or VMware Live Site Recovery (vLSR) appliance via VAMI (port 5480) fails with an SSL error.
  • Clicking SRM or vLSR sites in the vSphere Client fails with: Failed to connect to Site Recovery Manager Server at https://<IP>:9086/vcdr/vmomi/sdk. Reason: java.net.ConnectException: Connection refused.
  • Stale plugins appear under vCenter > Administration > Client plugins.
  • A version mismatch exists between the legacy SRM appliance and the upgraded vCenter Server.

Environment

  • VMware Site Recovery Manager 8.x
  • VMware Live Site Recovery 9.x
  • VMware vCenter Server 7.x, 8.x, 9.x

Cause

Stale registrations and solution users remain orphaned in the vCenter VMDIR database when an appliance is decommissioned improperly or is no longer reachable.

Resolution

Step 1: Cleanup via vCenter MOB

  1. Navigate to https://<vCenter_FQDN>/mob.
  2. Select Content > ExtensionManager.

  3. Click More to see the complete list.
  4. Identify extensions starting with com.vmware.vcDr (e.g., com.vmware.vcDr or com.vmware.vcDr-dr1).
  5. Click the extension and verify the IP address under Server to ensure it is the stale instance.
  6. Return to ExtensionManager, click UnregisterExtension, paste the extension ID, and click Invoke Method.

Step 2: Remove Service Registrations via CLI

  1. SSH into the vCenter Server.
  2. Run the following command to list registrations:
    cd /usr/lib/vmware-lookupsvc/tools/./lstool.py list --url http://localhost:7090/lookupservice/sdk --no-check-cert --ep-type com.vmware.dr.vcDr 2>/dev/null
  3. Identify the Service ID for the stale IP.
  4. Unregister the service:
    ./lstool.py unregister --url http://localhost:7090/lookupservice/sdk --id <Service_ID> --user '[email protected]' --password '<password>' --no-check-cert

Step 3: Remove Solution Users via VMDIR (jxplorer)

If the entries persist, use an LDAP browser like jxplorer to connect to the vCenter:

  • Host: <vCenter_IP>
  • Port: 389
  • Base DN: dc=vsphere,dc=local
  1. Navigate to vsphere > Configuration > Sites > [Site_Name] > LookupService > ServiceRegistrations.
  2. Delete the Service IDs obtained in Step 2.

Note: For more information on speaking with a representative, see Contact Support. Scroll to the bottom of the page and click on your respective region.

Additional Information