This article addresses anissue where a Virtual Machine (VM) cannot be configured for vSphere Replication, thereby preventing its inclusion in a VMware Site Recovery Manager (SRM) Protection Group. Attempts to initiate replication for the VM from the primary site fail, as the VM does not appear as an available option for replication setup, or existing replication attempts continuously error out. This leads to the VM being unprotected by SRM.
The root cause of this problem is the presence of a stale, erroneous, or lingering replication entry for the VM on the secondary/recovery site. Even if a previous replication attempt failed or was incomplete, its metadata might persist in the vSphere Replication appliance database.
This phantom replication entry falsely registers the VM as being actively replicated or in a state of replication on the secondary side. Since vSphere Replication enforces that a VM can only have one active replication stream at a time, this stale entry prevents any new replication configurations from being initiated for the VM from the primary site. The vSphere Replication system perceives a conflict, locking the VM from further replication attempts until the old, erroneous state is cleared.
To resolve this issue and enable successful replication and SRM protection for the VM, follow these steps:
Identify the Stale Replication:
Force Remove the Stale Replication:
Re-create Replication from Primary Site:
Add VM to SRM Protection Group:
The "Force Remove" operation on the recovery site is critical because it directly addresses the root cause: the conflicting, stale replication metadata. By clearing this erroneous entry, the VM is effectively "released" from its previous, failed replication state. This allows vSphere Replication to correctly identify the VM as available for a new replication configuration from the primary site. Re-creating the replication from scratch ensures a clean, healthy, and fully functional replication stream is established, enabling the VM to be successfully managed and protected by SRM.