To configure batches of virtual machines for replication to the cloud, you can select multiple virtual machines and start the Configure Replication wizard.
Before you begin
Verify that the vSphere Replication appliance is deployed in your environment.
Verify that the Disaster Recovery to Cloud service is enabled in your environment and in the target cloud organization.
Configure a connection to the cloud organization to which you want to replicate data. See Connect to a Cloud Provider Site.
If you plan to use replication seeds, verify that you read and understand the information in topic Using Replication Seeds.
About this task
When you configure replication, you set a recovery point objective (RPO) to determine the period of time between replications. For example, an RPO of 1 hour seeks to ensure that a virtual machine loses no more than 1 hour of data during the recovery. For smaller RPOs, less data is lost in a recovery, but more network bandwidth is consumed keeping the replica up to date.
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 avoid creating large volumes of data 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 amongst all the disks that belong to a virtual machine. If you use VSS quiescing, you might obtain a higher level of consistency. The available quiescing types are determined by the virtual machine's operating system. See Compatibility Matrixes for vSphere Replication 5.8 for Microsoft Volume Shadow Copy Service (VSS) quiescing support for Windows virtual machines.
- On the vSphere Web Client Home page, click VMs and Templates.
- Select a data center, navigate to the Related Objects tab, and click the Virtual Machines tab.
- Use the Ctrl and Shift keys to select the virtual machines for which you want to configure replications.
- Right-click the virtual machines and select
The Configure Replication wizard opens and Disaster Recovery to Cloud validates the virtual machines that can be configured for replication.
- Verify the validation results and click Next.
- Select Replicate to a cloud provider and click Next.
- Select the target site to which you want to replicate the virtual machine.
If you have created a connection to the cloud provider, select the target virtual datacenter from the list and click Next.
If the status of the connection is Not authenticated, you must provide credentials to authenticate with the cloud organization. If you have not selected which networks on the target site to use for recovery operations, you are prompted to.
If you have not created a connection to the cloud provider, click New Provider VDC and click Next.
Follow the on-screen prompts to connect to the target cloud organization.
- On the Target location page, select where to store replication data.
Use storage policy
From the drop-down menu, select the storage policy to use for replication placement and click Next.
Use replication seeds
Select the storage policy to use for virtual machines without seeds.
Select the Use replication seeds check box and click Next.
On the Replication seed page, assign seed vApps to source virtual machines, and click Next.
For all source virtual machines that do not have a seed vApp assigned, vSphere Replication applies the storage policy that you selected from the drop-down menu on the Target location page.
If you remove a disk from a replication source virtual machine, the seed disk is not deleted from the datastore on the target site.
- (Optional) : On the Replication options page, select the quiescing method for the guest operating system of the source virtual machine.
Quiescing options are available only for virtual machines that support quiescing.
- On the Recovery settings page, use the RPO slider or the time spinners to set the acceptable period for which data can be lost in the case of a site failure.
The available RPO range is from 15 minutes to 24 hours.
- Click Next.
- On the Ready to complete page, review the replication settings, and click Finish.
For each source virtual machine, a configuration task appears in the Recent Tasks list in the upper right of the vSphere Web Client. A progress bar indicates that the source virtual machine is being configured for replication.
For each source virtual machine that is configured successfully, a replication task appears on the vSphere Replication tab under Monitor.
For source virtual machines that are powered on, the initial sync operation starts after the configuration. For source virtual machine that are powered off, the initial sync starts when you power on the virtual machines.
What to do next
On the vSphere Replication tab under Monitor, you can check the status of each replication. See States of Replication Tasks.
You can click a replication task in the list and use the tabs in the bottom of the vSphere Web Client to view details about the replication, the recovery status, and the latest performed test, if test results are not cleaned up yet.