VMware Cloud Community
davelee2126
Contributor
Contributor

vSphere Replication - Configuration in Progress...

Hi all

I'm running SRM and vSphere Replicationon 5.0.   We have about 45 VMs replicating happily using it.  The other day I wanted to adjust the RPO of a test/UAT server up to 24 hours as we're really not too bothered about the data on it and it kept missing RPOs as it often has backup files dumped on it.  The RPO change appears to have worked as it's now showing a 24 hr RPO on that VM and it's no longer violating RPO.  However... after 2 days the VM still shows as "Configuration in progress" on the vsphere replication status page.

It still seems to be working okay but it bugs me little having this listed on the status.  Anyone got any pointers on resolving this?

cheers

Dave

0 Kudos
3 Replies
vmroyale
Immortal
Immortal

Note: Discussion successfully moved from VMware ESXi™ 4 to Site Recovery Manager

Brian Atkinson | vExpert | VMTN Moderator | Author of "VCP5-DCV VMware Certified Professional-Data Center Virtualization on vSphere 5.5 Study Guide: VCP-550" | @vmroyale | http://vmroyale.com
0 Kudos
mvalkanov
VMware Employee
VMware Employee

Hi Dave,

To be able to identify why the status didn't change, VRMS logs/support bundle from both sites would be needed. You could open an SR and attach these there.

Or as a workaround you could try again to reconfigure the problematic replications without chaning any of the settings and see if the status is changed.

Regards,

Martin

0 Kudos
davelee2126
Contributor
Contributor

I raised this with VMware support and we went back and forth a few times trying to figure things out and eventually came to the conclusion that we would be best to to stop replication for the VM in question, remove it from SRM and put it back again.  I didn't really want to do this as using Remove Replication actually deletes the files in the DR site as well - and it was on a slow enough link that doing a full sync would be a pain.

I had a bit of a play and it seems you can move the VMDK files on the recovery site while replication is working.  I understand vSphere Replication actually stores the data it replicates in a separate file and then merges it back into the VMDK file, just like a snapshot is, once replication is completed.  So you can move the base VMDK files out, disable replication, move the file back, enable replication and it should continue where it left off.

  • SSH into one of the ESXi hosts in the DR site
  • Change to the directory containing the recovery copy of the VM (you can access the datastores at /vmfs/volumes)
  • Move the VMDK files out of the directory (using the mv command) - I temporarily put them one directory up so I used mv *.vmdk ../
  • Go into SRM and Remove Replication for the VM and give it a couple of minutes to clean things up
  • Back to the ESXi host, move the VMDK files back to the original folder (recreate it first if necessary)
  • Configure replication for the VM - it should tell you that there are existing files and ask if you want to use those as the initial copy.

You should be back in business Smiley Happy

0 Kudos