vCloud Air Disaster Recovery Tutorial 3: Configuring a Virtual Machine Replication

This tutorial shows you how to begin protecting a virtual machine and discusses the configuration options for replication. It assumes you have already installed the vSphere Replication Appliance and connected the appliance to the recovery site in vCloud Air.

Watch the video

1. Choose Virtual Machine Replication Settings


You have several options when configuring a virtual machine in the vSphere inventory to start replicating to vCloud Air. To set these options:

  1. Log in to the vSphere Web Client.
  2. On the Home tab, click the Hosts and Clusters icon.



  3. In the left pane of the Hosts and Clusters view, choose a virtual machine to replicate: Right-click the virtual machine, select All vSphere Replication Actions, and then select Configure Replication.



  4. In the Configure Replication – Replication type window, select the type of replication to configure, and then click Next.
  • You can replicate to either a vCenter Server or a cloud provider. To replicate to vCloud Air – Disaster Recovery, select cloud provider.
  • Verify that the Status column reads Connected.




5. In the Configure Replication – Target site window, select the target site where the virtual machine will be replicated, and then click Next.

  • Target sites in vCloud Air will include the Cloud Org URL (example: https://p2v12-vcd.vchs.vmware.com).



6. In the Configure Replication – Target location window, select storage policy, and then click Next.

  • You can choose to use replication seeds which can be imported with vCloud Connector or through Offline Data Transfer. This example uses the standard storage policy and no seeds.


7. In the Configure Replication – Replication options window, select a guest quiescing method, if desired, and then click Next.

  • This example uses a Windows virtual machine, so the option for Microsoft Shadow Copy Services (VSS) is available.



8. In the Configure Replication – Recovery settings window, set an RPO value, and then click Next.

  • The value range is 15 minutes to 24 hours.



9. In the Configure Replication – Ready to complete window, review the configuration settings, and then click Finish.

2. Monitor Replication in the vSphere Web Client


Once the virtual machine completes configuration, it will automatically start to perform its initial full sync. To monitor replication progress in the vSphere Web Client:

  1. Return to the Home tab of the vSphere Web Client, and then click the vSphere Replication icon.



  2. Click the vCenter Server, and then click Monitor.


  3. On the Monitor tab, go to vSphere Replication and note that the virtual machine is in the process of configuring against the virtual data center.


    Note: You can see when configuration is complete in the Recent Tasks pane on the right side of the Monitor tab page. The green checkmark indicates successful configuration.



  4. Use the Refresh icon to refresh the Monitor tab page. Note in the Status column that replication is not yet active.



  5. Continue to refresh the Monitor tab page until you see that the initial full sync from this virtual machine to vCloud Air has begun.



    Note: You can see the progress of the initial full sync on the Replication Details tab at the bottom of the Monitor tab page.


3. Monitor Replication in vCloud Air


You can also monitor replication progress in vCloud Air - Disaster Recovery. To do this:

  1. If you’re not already logged in, go to https://vchs.vmware.com/login and log in to vCloud Air.
  2. From the Dashboard, click the desired virtual data center.
  • Note: The icon with the blue cloud and lightning bolt indicates a Disaster Recovery virtual data center.



3. On the virtual data center’s Dashboard, click the Virtual Machines tab. Note in the Recovery Status column that the virtual machine now has a placeholder in vCloud Air.



4. Move to the Replication tab. Note in the Replication Status column that there is currently an RPO violation. This is normal because the initial full sync is still completing.

4. Verify Replication in Both Locations

The final task is to verify that replication was successful in both the vSphere Web Client and vCloud Air. To do this:

  1. Return to the vSphere Web Client and go to the Monitor tab. Wait for the Status column to display a checkmark and OK, indicating replication has completed.



    Note: You can see a detailed overview of the initial full sync on the Replication Details tab at the bottom of the Monitor tab page.



  2. Switch to vCloud Air and go to the Disaster Recovery virtual data center.
  3. On the virtual data center’s Dashboard, click the Replication tab. Note that the Replication Status column displays OK, indicating that replication completed successfully.



  4. Move to the Virtual Machines tab. Note in the Recovery Status column that the virtual machine is showing as an active placeholder on vCloud Air.