Recovering a virtual machine in the same source and destination folder fails with the error: Failed to register the recovered virtual machine
book
Article ID: 338573
calendar_today
Updated On:
Products
VMware Live RecoveryVMware vSphere ESXi
Issue/Introduction
Symptoms: When you attempt to recover a virtual machine in the same source and destination folder in a single vCenter Server environment using vSphere Replication 5.1, you see the error:
Failed to register the recovered virtual machine 'VM_NAME' with config file [VM_FOLDER] Cause: The name 'VM_NAME' already exists.
Environment
VMware vSphere Replication 5.1.x
Cause
This issue is due to a limitation on vCenter Server where the virtual machine name cannot be the same in the same folder in the vCenter Server's Inventory.
Resolution
To work around this issue:
Recover the virtual machine to the root of the cluster.
Note: If the source virtual machine resides in the root of the cluster, create a new folder within the cluster using the VMs and Templates view. Then configure the restore to output to the new folder in recovery options.
Configure the virtual machine network for this virtual machine.
Remove the old virtual machine from the vCenter Server Inventory.
Drag and drop the new virtual machine to the virtual machine destination folder.