VLSR - Unable to configure Replication because another virtual machine already exists at the target site
search cancel

VLSR - Unable to configure Replication because another virtual machine already exists at the target site

book

Article ID: 312762

calendar_today

Updated On:

Products

VMware Live Recovery

Issue/Introduction


This is to clear the stale replication entries in the vSphere replication servers which can happen when trying to remove the replications and re-add.


Symptoms:


1. You cannot configure a replication because another virtual machine already exists at the target site.

ERROR
Operation Failed
Unable to configure replication for virtual machine 'virtual machine' because group 'virtual machine' cannot be created. Another virtual machine 'virtual machine' that has the same instance UUID '50206a21-d177-e2ea-7085-c950815fd0b2' already exists on protection site '(Protected Site)'.

Environment

VMware vSphere Replication

Cause


This error message might appear on the following occasions.

  • If, due to a connectivity issue or some other problem, an orphaned replication remains on one of the sites while it is deleted from the other site, the orphaned replication prevents you from configuring a new replication for the same virtual machine.
  • Replication is removed from both sides of vSphere replication but might still exist at ESXI host level
  • If you have paired two sites and reinstall the vSphere Replication Management server appliance, the other site contains information about the old appliance and database, and prevents you from configuring new replications.

 

Resolution

 

If you have not reinstalled the vSphere Replication Management server, an orphaned replication exists in your environment. You can force stop this replication to delete it.

 

1.    Log in to the vSphere Client.

2.   On the home page, click Site Recovery and click Open Site Recovery.

3.   On the Site Recovery home page, select the site pair which contains the protected site, mentioned in the error message that you received.

4.   Click the Replications tab and select a replication from Outgoing or Incoming.

5.   Click the Remove icon and select Force stop replication(s).
 

Alternatively, you can use the Managed Object Browser (MOB) of the vSphere Replication Management server to delete the replication.

Configuring Replication Fails Because Another Virtual Machine Has the Same Instance UUID

1. Navigate to https://vrms_address:8043/mob/?vmodl=1

a. Where vrms_address is the IP address of the vSphere Replication Management server.

2. Click the content value.

3. Select the replicaManager or replicationManager value, depending on the type of replication you want to delete.

                                              i.    For an outgoing replication, click replication-manager > getOutgoingReplications.

                                             ii.    For an incoming replication, click replica-manager > getIncomingReplications.

Set the relevant start, count, sorters, and filter values.

NOTE:You must set the start value to 0 and delete the sorters and filter values, to invoke the first page of maximum 50 listed replications. For more than 50 replications, you can use paging and make additional calls for the next pages of replications or use the sorters and filter values.

4.   Click Invoke Method.

5.   Locate the replication and click the GID link under replication value.

6.   Invoke the destroy method to remove the replication.

After removing replication -or- if unable to find replication using above steps check Source ESXI host to validate replication information is removed from VM

1.   SSH into Source ESXI host and find VM identifier with vim-cmd vmsvc/getallvms

2.   Validate VM replication status with vim-cmd hbrsvc/vmreplica.getState vmid

3.   If Replica info exists for VM remove with vim-cmd hbrsvc/vmreplica.disable vmid

Disabling Replication on VM from Source ESXI

If the vSphere Replication Management server on one of the sites was reinstalled or otherwise reset:

1.    Reinstall the vSphere Replication Management server at the other site or reset its database.

2.   Connect the sites and register any additional vSphere Replication server appliances.

3.   Remove any temporary hbr* files left over from the target datastore folders.

4.   Configure all replications, reusing the existing replica .vmdk files as replication seeds.

 

Additional Information


FAQ: Site Recovery Manager & vSphere Replication Redeployment Guidelines

Impact/Risks:


VM replications cannot be configured.