Unable to remove a VM from the protection group
search cancel

Unable to remove a VM from the protection group

book

Article ID: 397649

calendar_today

Updated On:

Products

VMware Live Recovery

Issue/Introduction

Symptoms:

  • After SRM upgrade, below mentioned error appearS in the protection group:
    " Invalid: Protected VM deleted."
  • Remove VM from the protection group fails with the same error:
    Operation Failed
    "The object 'dr.replication.ProtectedVm:########-####-####-####-############:protected-vm-########' has already been deleted or has not been completely created
    Operation ID: ########-####-####-####-############
    MM/DD/YY, TT:MM:SS PM -####"

Environment

VMware Site Recovery Manager 8.x
VMware Site Recovery Manager 9.x

Cause

  • A stale VM entry remained in the Protection Group, even though the VM had already been removed from the DR site.
  • This stale entry in the SRM database prevented the successful removal of the VM from the Protection Group.

Cause validation:

  • Run the command "python SrmDbTool.py query ProtectedVm" to confirm VM presence in SRM DB on the DC site

    python SrmDbTool.py query ProtectedVm
    2025-05-09 09:53:24,276 INFO ProtectedVmObject(db_id=3221045123,name=VMNAME, group=Gouoname, state=active,mo_id=protected-vm-###########:dr.replication.ProtectedVm:########-####-####-####-############)

Resolution

If the above symptoms and issue matches, please contact Broadcom Support for further assistance.