I am in process of setting up DR for 1 server using remote mirror using mirror view.I have setup the remote mirror in async mode.2 LUNs are consistent now and 2 are in synchronizing mode.
Now I have to present the DR LUNs to ESX servers.But the ESX admin saying that when they create datastore,the LUN will get formatted.So i want to know how can i proceed fro here.
my thought is
1. fracture the seconday mirror
2.present the LUn to DR server
3.Once the datastore has been created and can synchronize it
can somebody tell this the correct ptocedure.I didnt do the these procedure before.and if there is any update to DR mirror(secondary),will that get copied to primary mirror
Yes, in that case you would promote the secondary image and add it to the storage group with the DR host. Then rescan and follow ksp's procedure:
ksp wrote:
3. ESX still won't automatically mount this new primary volume right away, because it is on a different storage and has different address, and it gets detected as a snapshot. Now you have to:
a) Make sure that the original Vol1 isn't and won't be accessible to ESX during the DR. It's ok if it is secondary now, or you have to disable access to it by other means.
b) Mount the new primary volume Vol2 using either resignature or temporary mount -- choose which is more appropriate for your situation:
We use temporary mount with esxcfg-volume -m in our tests, because we put everything back shortly after. (Caution: there was a bad experience with persistent mount esxcfg-volume -M, we had to reboot all ESX hosts to get the volume back, just a heads-up for you)
As per my knowledge, Once you fracture the Mirror and do some changes in the secondary mirror(LUN) and once you re-sync the mirror, the changes that you made in the secondary mirror(LUN) will not have any impact on the primary mirror(LUN)., and it only sync’s the data from the primary mirror(LUN) to the secondary mirror(LUN).
When you present the target LUN to the ESX server(s) you will need to click on the Add Storage button in ESX. You will be asked whether you want to re-signature the LUN. Select Yes. The data will not be erased on the LUN.
That's because he hasn't selected to re-signature the volume when he adds the datastore. When he goes to add the VMFS datastore tell him to choose the re-signature option.
ESX admin says,if this is a VMFS labelled LUN,then only we will get re-signature option.I am not sure.Here the screen shot that he provided.
I just want to clarify few things here.
I am basically from symmetrix background..In symmetrix we will use SRDF to setup the DR and we can use the target LUN during disaster for resuming the application.But in Clarrion is it possible to use the same remote mirror LUN for same purpose,I read few docs related to Mirror view and its taking a snapshot of the remote mirror and provide to host during disaster..Is that mean we cant directly provide the target LUN to host ?
Here's the procedure we use for DR with MV/S and VMware. I'm not familiar with MV/A, but I'm sure it's pretty much the same.
1. Make a mirror pair and let it synchronize. Let's call the volumes "Vol1" and "Vol2".
2. Present both Vol1 and Vol2 to a ESX servers -- we don't use a specific server for DR, everything is active-active. Presenting secondary LUN may be not exactly a oficially recommended practice, but that makes a couple of steps less to do in DR situation. No ill effects seen after many years and countless DR tests.
3. Make VMFS datastore on the primary volume Vol1.
4. Done and ready for use. Nothing has to be done to the secondary Vol2.
In a case of DR situation when you have lost the primary volume Vol1:
1. Shut down all affected guests.
2. Promote the secondary copy Vol2 to a primary -- now it becomes available to ESX.
3. ESX still won't automatically mount this new primary volume right away, because it is on a different storage and has different address, and it gets detected as a snapshot. Now you have to:
a) Make sure that the original Vol1 isn't and won't be accessible to ESX during the DR. It's ok if it is secondary now, or you have to disable access to it by other means.
b) Mount the new primary volume Vol2 using either resignature or temporary mount -- choose which is more appropriate for your situation:
We use temporary mount with esxcfg-volume -m in our tests, because we put everything back shortly after. (Caution: there was a bad experience with persistent mount esxcfg-volume -M, we had to reboot all ESX hosts to get the volume back, just a heads-up for you)
4. If the array that hosted the primary Vol1 was not available during promotion, you have to clean up your old primary volume Vol1 by force destroy the orphaned mirror, adding Vol1 as secondary, and resync it back. Refer to MV documentation for the steps.
This procedure seems to be complicated, but it really isn't. Things get a bit ugly only when you have to manage mirrored RDMs. Just test this and keep the procedure readily available so you won't have to search the web for it. You can write some scripts, and there are software suites that does all of this pretty much automagically for you -- if you can afford them, that is.
JonK1
2 Intern
•
247 Posts
1254
0
Posted June 12th, 2012 05:00
Yes, in that case you would promote the secondary image and add it to the storage group with the DR host. Then rescan and follow ksp's procedure: