Problem with VM in a Locked State or Managed by Zerto
Viewed 1418 times
An administrator may see post-Failover Test cleanup that the "testing recovery" VM remains in the Recovery Site and cannot be deleted.
The background task from Zerto in vCenter did not complete fully when vCenter was trying to remove the VM.
After stopping a Failover Test, the testing recovery VM is still showing within the Recovery Site even though the test has been closed and cleaned up.
Attempts to delete or remove the VM from inventory is not possible as the option is greyed out.
To unlock the testing recovery VM to furthermore be removed, follow the below steps:
- Download EnableVm from myZerto.
- Extract the file to the ZVR directory on the Recovery Site ZVM.
- Within the EnableVM folder, locate the enablevm.exe (have the command prompt in administrator).
- Run the following command:
- EnableVM <VC IP> < VCadmin user> <VM moref> (where VM moref looks like vm-12345).
- Ensure to use FQDN "email@example.com".
- The tool will ask you for the password with which to connect to the vCenter, and it should then unlock the VM.
- Once the VM is unlocked, attempt to remove the VM once more.