Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1008
  • Last Modified:

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?
0
sara2000
Asked:
sara2000
  • 3
  • 2
1 Solution
 
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
 
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
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
That's correct.
0
 
Paul SolovyovskySenior 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:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now