Solved

snapmirror and vmware

Posted on 2013-10-22
6
867 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
  • 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 119
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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

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

Accepted Solution

by:
paulsolov earned 500 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

It Is not possible to enable LLDP in vSwitch(at least is not supported by VMware), so in this article we will enable this, and also go trough how to enabled CDP and how to get this information in vSwitches and also in vDS.
When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
Teach the user how to install ESXi 5.5 and configure the management network System Requirements: ESXi Installation:  Management Network Configuration: Management Network Testing:
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

816 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now