Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

snapmirror and vmware

Posted on 2013-10-22
6
Medium Priority
?
961 Views
Last Modified: 2013-10-24
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
Comment
Question by:sara2000
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 42

Expert Comment

by:paulsolov
ID: 39593325
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
 
LVL 123
ID: 39593345
You will not be able to add the VMs to the inventory, until your break the mirror.
0
 

Author Comment

by:sara2000
ID: 39593695
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
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 
LVL 123
ID: 39593722
That's correct.
0
 
LVL 42

Accepted Solution

by:
paulsolov earned 2000 total points
ID: 39594127
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
 
LVL 42

Expert Comment

by:paulsolov
ID: 39597816
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

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…

704 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question