Problem description
Snapshot creation of VMware virtual machine fails with the error “The method is disabled by 'com.vmware.vcDr'”.
Cause
This issue occurs if you try to back up a VM from the SRM (Site Recovery Manager) placeholder folder/datastore.
Traceback
Phoenix logs:
[2020-06-08 04:05:33,360] [INFO] Exception occurred while snapshot:
[2020-06-08 04:05:33,361] [ERROR] Error <class 'inSyncLib.inSyncError.SyncError'>:The method is disabled by 'com.vmware.vcDr' (#10006ffff : vim.fault.MethodDisabled) (Error Code : VMWARE_VMOMI65535). Traceback -Traceback (most recent call last):
File "agents/vmware/vSphereAdapter.py", line 1085, in create_snapshot
File "agents/vmware/vSphereAdapter.py", line 1058, in _create_snapshot
File "inSyncLib/inSyncError.py", line 30, in raise_error
SyncError: The method is disabled by 'com.vmware.vcDr' (#10006ffff : vim.fault.MethodDisabled) (Error Code : VMWARE_VMOMI65535)
Resolution
The virtual machines that are protected using SRM (Site Recovery Manager) create placeholder folders in the Datastore, which do not have any vmdk files. You must always configure the backups for the original virtual machine where vmdk resides.