I unfortunately didn’t get a chance to post Thursday, as I came down with a bit of a stomach bug, but I’m back at it!
I found this little interesting tidbit during preparation for VCAP6-DCV Deployment…
Did you know in 6.X that stopping replication on a VM in vSphere Replication 6.X has different behavior depending upon if you used a replication seed?
Just to make sure we’re all clear, a replication seed in vSphere Replication speak is if you copy down a VMDK from the source side, upload it to the target site, and then configure replication for the VM and select the datastore/folder for the VMDK. When vSphere Replication sees the matching VMDK, it uses the data there and replicates only the changes since the download.
In vSphere Replication 6.X, if this was done, and you stop replication for a VM, the target VMDKs are left in place. If this wasn’t done, and just let vSphere Replication replicate the initial copy of the VMDK, if you stop replication, the VMDK is DELETED at the target site! If that’s a large data set, that could be a lot of data that has to be replicated again, and more than likely over a WAN link!
This in particular impacts a somewhat common task when it comes to growing a VMDK for a VM being replicated by vSphere Replication. To do this, replication must be disabled at some point.
If you used a replication seed, it’s actually easier. You simply stop replication, grow the VMDK on both sides, and reconfigure replication. Pretty easy. The target VMDK would obviously not have been deleted, making this possible.
If the VMDK wasn’t seeded, you need to do a planned failover, stop replication, resize the VMDK on both sides, and reconfigure replication. This also obviously requires downtime.
I’m still investigating to see if there’s a way to determine if the VMDK was seeded or not, so you would know which way to go. If you’re unsure though, use the non-seeded method as a precaution unless it’s okay to have to re-replicate the VMDK/whole VM.