Home > Blogs > VMware vSphere Blog


vSphere Data Protection (VDP) and vSphere Replication (VR) Interoperability

We have been getting a fair number of questions regarding interoperability of vSphere Data Protection (VDP) and vSphere Replication (VR) both of which are included with vSphere 5.1 (Essentials Plus and higher). I spent some time in my lab with these questions and decided to focus on the two most common questions:

  1. Do VDP and VR interfere with each other?
  2. Can I use VR to replicate VDP to another site?

VDP and VR protecting the same VM

For the first question/scenario, I set up replication for three virtual machines (VMs). With VR, you can set the Recovery Point Objective (RPO) within the range of 15 minutes to 24 hours. I chose 15 minutes for all three VMs to maximize the frequency of VR operations against the VMs. I also made sure that one of the VMs was performing an initial sync. The initial sync in VR is when the entire VM is being replicated from the source to the target location for the first time. Once the initial sync is complete, only the changes to the VM are replicated to minimize bandwidth usage and maintain RPO policy compliance. Having VMs with VR performing an initial sync and regular (lightweight delta) syncs allowed testing against both replication status types. Having both replication status types running in the environment, I then ran several manually backup jobs using VDP. These jobs consisted of both the initial full (entire VM) backup and the subsequent synthetic full (changed blocks) backups. VDP and VR performed well together. The only hint of an issue that I saw was a warning message stating that replication for a VM is not active. This occurred when I manually started a replication cycle and a backup at the same time. The warning went away within a minute or two and I found no evidence that either job had any failures. VDP reported a successful backup and VR reported “OK” for the replication status a few minutes later suggesting VR simply retried replication. I also let the environment “simmer” for a few days leaving the RPO setting for the VMs at 15 minutes and VDP running its scheduled backup jobs for the same VMs once per day. Again, no evidence of issues.

Replicating VDP with VR

For the second question/scenario, I configured VR to replicate the VDP appliance and set the RPO to its most aggressive setting of 15 minutes. I configured replication during the middle of the day. At that time, the backup window was closed and scheduled to open at 8:00 PM. The initial sync completed fine, as expected. However, once the backup window opened and the scheduled backups started, a warning message was logged: “System has paused replication for virtual machine vSphere Data Protection on host <hostname> in cluster Cluster in Datacenter: Disk added to VM”. As part of the backup process, VDP (along with several other backup and recovery solutions) utilizes the SCSI HotAdd functionality of vSphere to improve backup job efficiency and to keep backup traffic off of the network. The .vmdk being backed up is dynamically attached to the VDP appliance while the backup is occurring. VR detected the addition of the .vmdk file and paused. Replication of the VDP appliance was paused indefinitely and required manual intervention to reconfigure replication for the VDP appliance. This issue occurred every time the backup window opened. The RPO could be changed to make the replication occur less frequently – perhaps a RPO policy somewhere between 18 and 24 hours – thus reducing the chance replication will occur when backup jobs are running. This still does not guarantee that VR will not attempt to replicate changes to the VDP appliance at the same time backup jobs are running.

In summary, there appears to be no issues with both VR and VDP protecting a VM. In contrast, it is not recommended to use VR to replicate a VDP appliance. In an upcoming article, I will look at recovering VDP from a (non-VR) replicated or cloned copy of the VDP appliance. Stay tuned…

This entry was posted in Uptime, vSphere and tagged by Jeff Hunter. Bookmark the permalink.
Jeff Hunter

About Jeff Hunter

Jeff Hunter is a Senior Technical Marketing Manager at VMware focusing on IT business continuity and disaster recovery. Jeff has been with VMware since 2007. Prior to VMware, Jeff spent several years in a systems engineer role expanding the virtual infrastructures at a regional bank and a Fortune 500 insurance company.

14 thoughts on “vSphere Data Protection (VDP) and vSphere Replication (VR) Interoperability

  1. this is interesting thanks.

    I’ll look out for the article on recovering from a cloned copy, DR recovery is the only thing I’m a little unsure of with VDP. I’m generally impressed with the product so far, it’s been fast and reliable and the dedupe is impressive.

    Regarding this article It would be nice if VR allowed for the configuration of a replication window. There are certain applications that lend themselves to this, and there are also lower network utilisation periods we could use for machines that need replicating say once or twice a day.

    • Agree. This has been suggested several times and product management is aware of this request. However, no guarantees on when or if we will see it. Thank you for the feedback.

  2. Pingback: Recovering a Replicated vSphere Data Protection (VDP) Virtual Appliance | VMware vSphere Blog - VMware Blogs

  3. hello jeff,
    I would like to know if there is a restore procedure if the VDP is no longer available due to a crash. I accidentally installed a kernel module and the VDP would not start anymore. I deploy another VDP and I tried to copy the directory /data01-02-03 on the new VDP, but without a positive result.

  4. Currently, there is no supported way to copy the de-dup destination datastore from one VDP appliance to another. Possible solutions for this are being considered for future releases of VDP.

  5. hope that a new version comes out as soon as possible.
    it seems that we can not select a single virtual machine disk to do the backup, why?
    many thanks

    • Currently, selecting individual .vmdk files for backup or restore is not supported with VDP. This capability is certainly being considered for a future release.

  6. Can you use VDP to backup a VDR set of files? We replicate our VMs to remote site and then backup the replicated VMs to provide DR capability of not only the current state of VM but also the second set of backups for the VMs. This saves on bandwidth and conflicts.

    My question – how do you use VDP to backup VDR vm files? Is this possible?

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>