snapmirror and vmware

I intend to snapmirror a nfs volume to DR site then mount that volume to esxi hosts, here that NFS volume will be read only until I break the mirror.
is that ok to  add the vmx file to inventory now or I have wait until the day come?
sara2000Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Paul SolovyovskyConnect With a Mentor Senior IT AdvisorCommented:
This will not work. As soon as you mount the VM it will start to write to the datastore.  At this point the datastore block have changed so that when you try to update snapmirror relationship it will see it as a different volume and you may need to resync the entire volume.

To do this properly you will need to use flex clone.

Keep in mind that any changes to the volume will require a re-intialization of the volume
0
 
Paul SolovyovskySenior IT AdvisorCommented:
Snapmirror is VSM (Volume Snapmirror), the entire volume will get snapmirrored.  IF you want to test you would typically use flexclone to mount a snapshot as a read/write copy without impacting the current snapmirror status.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
You will not be able to add the VMs to the inventory, until your break the mirror.
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
sara2000Author Commented:
If i understnad correctly.
Break the mirror.
I mount the volume to esxi at dr site today, test my vm.
then remove VM from inventory.
unmount the volume( Can not I leave read only copy here ?)
update the snapmirror relation
Continue to run the snapmirror .

then break the mirror the day I want to run the vm
mount it again
add to inventory.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
That's correct.
0
 
Paul SolovyovskySenior IT AdvisorCommented:
Another way to do this is to clone the volume at the DR and test on it.  Just a thought as this would not change the volume but would require double the storage
0
All Courses

From novice to tech pro — start learning today.