vSphere Replication can protect one or more virtual machines and their virtual disks by replicating them from one vCenter Server instance to another.
This procedure is for configuring replications to a target vCenter Server. To configure a replication to a cloud provider, see vSphere Replication for Disaster Recovery to the Cloud.
When you configure a replication, you set a recovery point objective (RPO) to determine the maximum data loss that you can tolerate. For example, an RPO of 1 hour seeks to ensure that a virtual machine loses the data for no more than 1 hour during the recovery. For smaller RPO values, less data is lost in a recovery, but more network bandwidth is consumed keeping the replica up to date. The RPO value affects replication scheduling, but vSphere Replication does not adhere to a strict replication schedule. See How the Recovery Point Objective Affects Replication Scheduling and How the 5 Minute Recovery Point Objective Works.
Every time that a virtual machine reaches its RPO target, vSphere Replication records approximately 3800 bytes of data in the vCenter Server events database. If you set a low RPO period, this can quickly create a large volume of data in the database. To reduce the volume of data that is kept in the vCenter Server events database, limit the number of days that vCenter Server retains event data. See Configure Database Retention Policy in the vCenter Server and Host Management Guide. Alternatively, set a higher RPO value.
vSphere Replication guarantees crash consistency among all the disks that belong to a virtual machine. If you use quiescing, you might obtain a higher level of consistency. The available quiescing types are determined by the operating system of the virtual machine. See Compatibility Matrices for vSphere Replication 8.2 for quiescing support for Windows and Linux virtual machines.
You can configure virtual machines to replicate from and to vSAN datastores. See Using vSphere Replication with vSAN Storage for the limitations when using vSphere Replication with vSAN.
Prerequisites
- Verify that the vSphere Replication appliance is deployed at the source and the target sites.
- To enable the quiescing of virtual machines that run Linux guest OS, install the latest version of VMware Tools on each Linux machine that you plan to replicate.
- If you want to replicate an encrypted VM or to enable the network encryption of a replication, verify that your environment meets the requirements. See Replicating Encrypted Virtual Machines.
Procedure
Results
vSphere Replication starts an initial full synchronization of the virtual machine files to the designated datastore on the target site.