With vSphere Replication, you can recover virtual machines that were successfully replicated at the target site. You can recover one virtual machine at a time.
- If you have replications, configured to automatically replicate newly added disks, then you perform a recovery, and add a new disk to the recovered VM, this disk will not be replicated upon reprotect operation. You must include the new disk to the replication manually.
- In case you delete the source VM of a configured replication, the replication enters Error state. The replica files remain on the target site. You can recover the VM using the latest available data from the target site. If you don't want to use the replica files, you can stop the replication and clear all replica data.
Prerequisites
Verify that the virtual machine at the source site is powered off. If the virtual machine is powered on, an error message reminds you to power it off.
Procedure
Results
vSphere Replication validates the provided input and recovers the virtual machine. If successful, the virtual machine status changes to Recovered. The virtual machine appears in the inventory of the target site.
If you activated multiple point in time instances when you configured replication for the virtual machine, vSphere Replication presents the retained instances as standard snapshots after a successful recovery. You can select one of these snapshots to revert the virtual machine. vSphere Replication does not preserve the memory state when you revert to a snapshot.
If the recovery fails, the replication of the virtual machines reverts to the replication state before the attempted recovery. For more information about the failed recovery attempt, check the last recovery error message in the replication details pane or check vCenter Server tasks.
The recovery might also fail if you use the same name for the virtual machine in a scenario where you use vSphere Replication to replicate a virtual machine in a single vCenter Server and the vCenter Server instance has only one host in its inventory. See Error Recovering Virtual Machine in a Single vCenter Server Instance for more information.
After a successful recovery, vSphere Replication deactivates the virtual machine for replication if the source site is still available. When the virtual machine is powered on again, it does not send replication data to the recovery site. To unconfigure the replication, click the Remove icon.
When the source virtual machine is no longer in the vCenter Server inventory, the replication is removed from the Outgoing tab, but it can still be found in the Incoming tab on the target site.
If a replicated virtual machine is attached to a distributed virtual switch and you attempt to perform a recovery in an automated DRS cluster, the recovery operation succeeds but the resulting virtual machine cannot be powered on. To attach it to the correct network, edit the recovered virtual machine settings.
vSphere Replication disconnects virtual machine network adapters to prevent damage in the production network. After recovery, you must connect the virtual network adapters to the correct network. A target host or cluster might lose access to the DVS the virtual machine was configured with at the source site. In this case, manually connect the virtual machine to a network or other DVS to successfully power on the virtual machine.