I keep getting the error "Recovery virtual machine could not be created: The operation is not supported on the object" when trying to add a VM to a protection plan. I've already tried KB 1020796 which has worked for other VMs but not this one.
vCenter = 4.1
Hosts = ESXi 4.1
SRM = 4.1
VM = Windows 2008 R2 with SQL Server. Two attached vmdk's are not being replicated but I have created placeholder vmdks at the recovery site which mirrors all the other VMs. This was not a P2V and has been moved already as suggested in KB 1020796.
Tried this...
Log
Adding VMs to replication group 'group-2147'
(dr.primary.ProtectedVmSpec) [
(dr.primary.ProtectedVmSpec) {
vm = 'vim.VirtualMachine:vm-4924',
settings = (dr.primary.ProtectedVm.Settings) {
(dr.primary.ReplicationGroup.SiteShadowSpec) [
(dr.primary.ReplicationGroup.SiteShadowSpec) {
site = 'dr.RemoteSite:site-2002',
spec = (dr.secondary.ShadowVmSpec) [
folder = 'vim.Folder:group-v804',
resourcePool = 'vim.ResourcePool:resgroup-1238',
hostSystem = 'vim.HostSystem:host-3311',
fileInfo = (dr.vimext.FileInfo) null,
scratchDatastore = (dr.vimext.ExistingDatastoreLocator) {
datastore = 'vim.Datastore:datastore-807',
devices = (dr.vimext.DeviceInfo) [
device = (vim.vm.device.VirtualVmxnet3) {
deviceInfo = (vim.Description) {
summary = "VMNet-172.20.29.x",
backing = (vim.vm.device.VirtualEthernetCard.NetworkBackingInfo) {
deviceName = "VMNet-172.20.29.x",
network = 'vim.Network:network-56',
connectable = (vim.vm.device.VirtualDevice.ConnectInfo) {
macAddress = "00:50:56:a5:00:01",
backing = (dr.vimext.NetworkDeviceBackingLocator) {
network = 'vim.Network:network-785',
device = (vim.vm.device.VirtualVmxnet3) {
deviceInfo = (vim.Description) {
backing = (vim.vm.device.VirtualEthernetCard.NetworkBackingInfo) {
deviceName = "VMNet-10.10.10.x",
network = 'vim.Network:network-57',
connectable = (vim.vm.device.VirtualDevice.ConnectInfo) {
macAddress = "00:50:56:a5:00:02",
backing = (dr.vimext.NetworkDeviceBackingLocator) {
network = 'vim.Network:network-557',
device = (vim.vm.device.VirtualDisk) {
deviceInfo = (vim.Description) {
backing = (vim.vm.device.VirtualDisk.FlatVer2BackingInfo) {
fileName = "[vmware_nas1_pagefile] FACSQL2/FACSQL2.vmdk",
datastore = 'vim.Datastore:datastore-3872',
uuid = "6000C299-996a-d787-2098-dd36c0568405",
contentId = "0f335aec904115868a141ce31f233f49",
parent = (vim.vm.device.VirtualDisk.FlatVer2BackingInfo) null,
connectable = (vim.vm.device.VirtualDevice.ConnectInfo) null,
backing = (dr.vimext.FileDeviceBackingLocator) {
location = (dr.vimext.VmFileLocator) {
directory = (dr.vimext.DirectoryLocator) {
datastore = (dr.vimext.ExistingDatastoreLocator) {
datastore = 'vim.Datastore:datastore-1861',
createOptions = (dr.vimext.FileDeviceBackingLocator.CreateOptions) null,
device = (vim.vm.device.VirtualDisk) {
deviceInfo = (vim.Description) {
backing = (vim.vm.device.VirtualDisk.FlatVer2BackingInfo) {
fileName = "[nas2-datastore02] FACSQL2/FACSQL2.vmdk",
datastore = 'vim.Datastore:datastore-50',
uuid = "6000C299-52ae-3db9-2893-58fb843a95b4",
contentId = "5e84078c6195b28bd6c5c7f4d363086c",
parent = (vim.vm.device.VirtualDisk.FlatVer2BackingInfo) null,
connectable = (vim.vm.device.VirtualDevice.ConnectInfo) null,
backing = (dr.vimext.FileDeviceBackingLocator) {
location = (dr.vimext.VmFileLocator) {
directory = (dr.vimext.DirectoryLocator) {
datastore = (dr.vimext.ExistingDatastoreLocator) {
datastore = 'vim.Datastore:datastore-1861',
createOptions = (dr.vimext.FileDeviceBackingLocator.CreateOptions) null,
snapshotLayout = (dr.vimext.VmSnapshotLayout) null,
recoverySettings = (dr.secondary.ShadowRecoverySettings) {
Adding task com.vmware.vcDr.ReplicationGroup.AddVmTask-50
RecordOp ASSIGN: info.startTime, com.vmware.vcDr.ReplicationGroup.AddVmTask-50
RecordOp ASSIGN: info.state, com.vmware.vcDr.ReplicationGroup.AddVmTask-50
RecordOp ADD: addVmsTaskList, group-2147
'Retrieved 4 properties of 1 objects of type 'vim.VirtualMachine'' took 0.219 seconds
'Retrieved 1 properties of 1 objects of type 'vim.Datastore'' took 0.203 seconds
Path '[vmware_nas1_pagefile] FACSQL2/FACSQL2.vmdk' is located on a non-replicated datastore 'datastore-3872'
Detected custom shadow locator for device 2001: (dr.vimext.FileDeviceBackingLocator) {
location = (dr.vimext.VmFileLocator) {
directory = (dr.vimext.DirectoryLocator) {
datastore = (dr.vimext.ExistingDatastoreLocator) {
datastore = 'vim.Datastore:datastore-1861',
createOptions = (dr.vimext.FileDeviceBackingLocator.CreateOptions) null,
Path '[nas2-datastore02] FACSQL2/FACSQL2.vmdk' is located on a non-replicated datastore 'datastore-50'
Detected custom shadow locator for device 2002: (dr.vimext.FileDeviceBackingLocator) {
location = (dr.vimext.VmFileLocator) {
directory = (dr.vimext.DirectoryLocator) {
datastore = (dr.vimext.ExistingDatastoreLocator) {
datastore = 'vim.Datastore:datastore-1861',
createOptions = (dr.vimext.FileDeviceBackingLocator.CreateOptions) null,
Protected VM 'vim.VirtualMachine:vm-4924' device '2000' being mirrored
Protected VM 'vim.VirtualMachine:vm-4924' device '2001' being mirrored
Protected VM 'vim.VirtualMachine:vm-4924' device '2002' being mirrored
Protected VM 'vim.VirtualMachine:vm-4924' device '4000' being mirrored
Protected VM 'vim.VirtualMachine:vm-4924' device '4001' being mirrored
RecordOp ASSIGN: info.progress, com.vmware.vcDr.ReplicationGroup.AddVmTask-50
RecordOp ASSIGN: info.progress, com.vmware.vcDr.ReplicationGroup.AddVmTask-50
Creation of shadow VM failed with error (dr.secondary.fault.RemoteCreateVmFault) {
faultCause = (vmodl.MethodFault) null,
remoteFault = (vmodl.fault.NotSupported) {
faultCause = (vmodl.MethodFault) null,
msg = "The operation is not supported on the object.",
msg = "Recovery virtual machine could not be created: The operation is not supported on the object.",
RecordOp ASSIGN: info.error, com.vmware.vcDr.ReplicationGroup.AddVmTask-50
Error set to (dr.primary.fault.RemoteAddVmFault) {
faultCause = (vmodl.MethodFault) null,
remoteFault = (dr.secondary.fault.RemoteCreateVmFault) {
faultCause = (vmodl.MethodFault) null,
remoteFault = (vmodl.fault.NotSupported) {
faultCause = (vmodl.MethodFault) null,
msg = "The operation is not supported on the object.",
msg = "Recovery virtual machine could not be created: The operation is not supported on the object.",
RecordOp ASSIGN: info.completeTime, com.vmware.vcDr.ReplicationGroup.AddVmTask-50
RecordOp ASSIGN: info.state, com.vmware.vcDr.ReplicationGroup.AddVmTask-50
I do see an error in the lofile showing FACSQL2/FACSQL2.vmdk' is located on a non-replicated datastore
I would check to make sure the LUNs the vmdks are on are replicated. If they are what is the replicatoion schedule? Maybe it hasnt replicated the VM yet and is detecting the it is still not replicated.
Hope this helps
Dougie
I'm pretty sure I mentioned the non-replicated datastore is the pagefile volume and I have it mapped to a vmdk at the recovery site. I now have several VMs that have been in a protection group before "not supported" when I try to add them to a new protection group. This is very frustrating and going to be very difficult to recommend to clients going forward.
Paul J Morris
IT Engineer - IT Infrastructure Services
919.863.0858 Office
919.368.0575 Cell
Paul
Just double checking. When you mapped the page file etc did you clone the original disk and copy it to the destination VMFS volume?
I have also been caught out with isos still attached etc.
Hope this helps
Dougie
The issue isn't with the pagefile mappings... they work on any of the machines that will connect in the protection group. I'm trying to work up the patience to call VMware support but have a feeling they are going to stick with the KB article I mentioned already.
Hi,
the KB article has been updated yesterday. Probably the problem is with video RAM size settings.
Michael.