CompositeException Operation Error: The replication group associated with 'VMXXXXX' has the recovery solution 'com.vmware.vcDr-XXX
search cancel

CompositeException Operation Error: The replication group associated with 'VMXXXXX' has the recovery solution 'com.vmware.vcDr-XXX

book

Article ID: 337402

calendar_today

Updated On:

Products

VMware Live Recovery

Issue/Introduction

Symptoms:
While creating a protection group. 

CompositeException  Operation Error: The replication group associated with 'VMXXXXX' has the recovery solution 'com.vmware.vcDr-XXX

Environment

VMware Site Recovery Manager 6.x

Cause

The issue is caused when vsphere replication recoveryby field in the database does not have the plugin ID for SRM.  This may happen when SRM gets reinstalled.

Resolution

To resolve the issue dump the VR db. 


cd  /opt/vmware/vpostgres/current/bin

./pg_dump -U vrmsdb -d vrmsdb -p 5432 -Fp -c > /tmp/db-backup.txt

Note: For password - cat 
/opt/vmware/hms/conf/embedded_db.cfg

grep -i "com.vmware.vcDr-XXX"  /tmp/db-backup.txt 

Confirm the old plugin is updated. 


replace the entry. 

echo "update secondarygroupentity set recoveredby = 'com.vmware.vcDr-New' where recoveredby = 'com.vmware.vcDr-Old';" | ./psql    -U vrmsdb vrmsdb

Final step. 

Restart SRM server service both sites. 

Reconfigure protection group. 

Additional Information

Impact/Risks:
Low risk