Unable to break the site pair from site recovery manager associated with decommissioned vCenter.
search cancel

Unable to break the site pair from site recovery manager associated with decommissioned vCenter.

book

Article ID: 436244

calendar_today

Updated On:

Products

VMware Live Recovery VMware vSphere ESXi

Issue/Introduction

  • Site Recovery Manager (SRM) UI reports below error when attempted to break the site pair:

ERROR

Operation Failed
Unable to disconnect sites because there are active
replications.

 

Environment

VMware Live Site Recovery 9.x

Cause

Orphaned replication configuration is blocking the removal of the site pair.
 
  • Incoming replication entry on the Site recovery page UI blocks the removal of the site pair.

All Individual VM replications must be removed before breaking the site pair and any residual entry for a decommissioned VM will block the site pair removal process.

 
 
  • Validate that VM which is getting replicated is not active.

 

Resolution

Below are the steps to followed to break the site pair when there is an replication entry still present

Step 1. Remove Orphaned Replications

Before breaking the site pair, all virtual machine replications must be removed:

  1. Log in to the "vSphere Client" and navigate to "Site Recovery Manager UI > Open Site Recovery"
  2. Select the relevant Site Pair and click View Details.
  3. Go to the "Replications" tab and check both "Incoming and Outgoing" replication section.
  4. Select the orphaned VM and click the Remove icon.
  5. Confirm the removal. (Note: Choose to "Retain replica disks" if data safety is required for the disks still residing on the datastore)

Step 2. Remove Protection groups, Recovery plans and VMs associated.

  1. In the vSphere Client or the vSphere Web Client, click Site Recovery --> Open Site Recovery.
  2. On the Site Recovery home tab, select a site pair and click View Details.
  3. Select the Recovery Plans tab, right-click on a recovery plan and select Delete.
    Note: Recover Plans which are already running cannot be deleted.
  4. Select the Protection Groups tab, click on a protection group, and select the Virtual Machines tab.
  5. Highlight all virtual machines, right-click, and select Remove Protection.
    Removing protection from a virtual machine deletes the placeholder virtual machine from the recovery site. Repeat this operation for all protection groups.
     
  6. In the Protection Groups tab, right-click a protection group and select Delete .
    Protection Group can not be deleted if its part of Recovery plan or still has Virtual Machine configured into it.
  7. Select Site Pair --> Configure, and remove all inventory mappings.
    1. Click each of the Network Mappings, Folder Mappings, and Resource Mappings tabs.
    2. In each tab, select a site, right-click a mapping, and select Delete.
  8. For both sites, click Placeholder Datastores, right-click the placeholder datastore, and select Remove.
  9. Select Site Pair Summary, and click Break Site Pair

    Breaking the site pairing removes all information related to registering Site Recovery Manager with Site Recovery Manager, vCenter Server and the Platform Services Controller on the remote site.

Step 3.  Break the Site Pair.

Once all replications are cleared:

  1. Navigate back to the "Site Recovery Manager UI" home page.
  2. On the Summary page, select the "site pair".
  3. Click Actions > "Break Site Pair".
  4. This action removes the pairing between the VMware Live Site Recovery Server and vSphere Replication instances on both sites.

Additional Information

Stop Replicating a Virtual Machine

Break the Site Pairing