During test recovery, planned migration, and reprotect of recovery plans that contain vSphere Replication protection groups, the virtual machine synchronization step fails with an error.

Problem

Synchronization of virtual machines in a vSphere Replication protection group fails with the error message Error - VR synchronization failed for VRM group <Unavailable>. The object has already been deleted or has not been completely created.

Cause

Excessive I/O traffic on one or more of the virtual machines in the protection group causes the synchronization to time out before it can finish. This might occur because of heavy traffic. For example, setting the logging level to trivia mode can generate heavy I/O traffic.

Solution

  1. Log in to the VMware Live Site Recovery Server host.
  2. Open the vmware-dr.xml file in a text editor.
    The vmware-dr.xml file is located in the /opt/vmware/srm/conf/ directory.
  3. Add a <topology><drTaskCleanupTime> element to the vmware-dr.xml file.
    You can add the <topology> element anywhere at the top level in the <Config> tags. Set the value of <drTaskCleanupTime> to at least 300 seconds. If you set the logging level to trivia, set <drTaskCleanupTime> to 1000 seconds.
    <topology>
       <drTaskCleanupTime>1000</drTaskCleanupTime>
    </topology>
  4. Save and close the vmware-dr.xml file.
  5. Restart the VMware Live Site Recovery Server service to apply the new settings.