How to Dissociate VMs from Previously Used Replication Products

KB Number:
00000164

Solution:

Purpose


When attempting to protect a VM with Zerto Virtual Replication, an administrator may receive an error of the following type:

 

VM [vmname] disk [diskname].vmdk was associated with a different solution that is not compatible with Zerto Virtual Replication.  Dissociate it in order to continue replication.

 

This error indicates that the VM was previously configured for replication with a different replication solution, and was not correctly dissociated from that solution.  This solution article explains the steps necessary to verify that this is the case, and to make the VM compatible with Zerto Virtual Replication.

Note: starting with ZVR 3.5, the system will try to specify which application is associated to the disk in question, such as in the case of  vSphere Replication with "Host Based Replication" (HBR) or VMware View with the "Content-Based Read Cache" (CBRC).

 

 

Affected Versions


All Versions

 

 

Complexity


Medium

Solution


If a VM is still associated with vSphere Replication's HBR, do the following to disable it:

  1. SSH to your ESXi host

  2. Identify the vmid of the VM in question with the following command:

vim-cmd vmsvc/getallvms | grep -i <VM name>

  1. Check the replication configuration for the vmid with the following command:

vim-cmd hbrsvc/vmreplica.getConfig <vmid>

  1. Disable replication with the following command:

vim-cmd hbrsvc/vmreplica.disable <vmid>

If a VM is still associated with VMware View's CBRC, try the following three fixes (in order of intrusiveness):

Disable CBRC on this particular VM:

  1. Ensure the VM is powered off.

  2. Navigate to https://[ESXi IP]/mob.

  3. Navigate to ha-root-folder -> ha-datacenter -> ha-folder-vm.

  4. Obtain the host's vmid for the VM in question.

  5. Browse https://[ESXi IP]/mob/?moid=ha-cbrc-manager.

  6. Press ConfigureDigest_Task.

  7. Set enabled to false.

  8. Fill in the host's vmid (not vCenter's vmid) in the spec section.

  9. Fill the device key (get it by opening vc mob, go to vm -> config -> hardware) in the spec section.

  10. Press invoke method.

  11. Invoke QueryDigestRuntimeStatus with VM id and device key to see if CBRC is enabled.

  12. Go to the backing info of the disk on the mob and verify that digestEnabled is false.

  13. Power on the VM.

*Note: to minimize downtime, if desired, it is sufficient to skip steps 1 and 13, and simply restart the VM after following the remaining steps.

Disable CBRC on the host:

  1. In vSphere client navigate to Host Configuration -> Advanced Settings -> CBRC

  2. Uncheck "CBRC.Enable"

Note: disabling CBRC on the host may result in a performance degradation.

Disable CBRC on VMWare view management:

 

  1. Open the following VMware documentation, https://www.vmware.com/files/pdf/techpaper/vmware-view-storage-accelerator-host-caching-content-based-read-cache.pdf and follow "Configuring Host Caching"on page 13 to disable cache. This is the equivalent to disabling CBRC on a host.

Hypervisor:
aws

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...