HPE EVA Storage
1753809 Members
8591 Online
108805 Solutions
New Discussion ī„‚

Re: DR Replication - Server moving - How to stop current source DR and have Destination be active co

 
SOLVED
Go to solution
happygrl
Advisor

DR Replication - Server moving - How to stop current source DR and have Destination be active copy?

Hi,

I currently have a DR replication going for 4 LUNs (each on their own DR Group) from Source to Destination. My source HP EVA 4400 is in one state/location and my Destination HP EVA 4400 is in a different state/location. I am using Command View 10.3.

The physical server that uses these 4 luns is going to be physically moving from the source to the Destination state/location. Once physically moved, the server will be racked in that destination data center, I will ensure it is brocade zoned and then I will have to present the replicated luns to this server.

What are my proper steps to do this regarding the DR replication going on SAN side, when to stop/suspend and how (right before physical server is turned off) and any other steps I need to be aware of?

This is my first time with any physical server that my HP EVA 4400 houses the luns for is literally moving from one SAN to another so any and all advice and assistance is much appreciated.

Thank you!

14 REPLIES 14
Cali
Honored Contributor

Re: DR Replication - Server moving - How to stop current source DR and have Destination be active co

I would do it in this Way:

Move the Server to the new Location, Power Up

He should see the LUNs that are still on the Old Location

Power Down the Server

Fail Over one LUN (check if the LUNs are presentet also on the Destination Side)

Power Up the Server, check it he can work with the Failover lUN

If OK, Power Down and Failover all other 3 LUNs.

(In EVA it is the best to Failover only if the Server is Down)

ACP IT Solutions AGI'm not an HPE employee, so I can be wrong.
happygrl
Advisor

Re: DR Replication - Server moving - How to stop current source DR and have Destination be active co

Thank you very much for replying, Cali! I appreciate your detailed reply.

Before the server is moved and shut down, do I have to do anything on the Source side regarding the Data Replication Groups? is there a way to suspend them? I imagine I would wait to Delete the DR Groups till after I fail over the Destination DR Groups. Also, deleting the DR Group would just delete that group NOT the actual luns (on source or destination) under Virtual Disks correct?

Failing Over (clicking the Failover button on the DR Group under Data Replication folder) just means it will make that DR Group the SOURCE rather than the Destination as it was orginally, is that correct?

Finally, on the Destination where the server was moved to, after clicking the Failover button for just the one lun, I would present the recently moved server to that same named LUN (via Vdisk Properties Presentation), and then UNpresent from the original Source side (to ensure the server will ONLY see the now failed over lun (originally destination), and have the server powered up and have him confirm he can see that one newly failed over LUN. Sound about right?

If he sees that one newly failed over DR group and present LUN, I will do the same for the remaining 3 DR groups and LUNs.

Lastly, after all is well, and the Destination is now the Source and he sees all the (destination - newly moved san) luns, I no longer need the Data Replication (I only did this for the physical server move), I can then go under Data Replication folder and "Delete" (via the delete button) on his DR Group which will only delete the Data Replication (not the vdisk either destination or source side). Correct?

Thank you!

 

Cali
Honored Contributor

Re: DR Replication - Server moving - How to stop current source DR and have Destination be active co

Spoiler

Before the server is moved and shut down, do I have to do anything on the Source side regarding the Data Replication Groups?

No

is there a way to suspend them? I imagine I would wait to Delete the DR Groups till after I fail over the Destination DR Groups.

Dont delete the DR Groups, why, simple do a Failover. You can check the LogFile use on the second Tab in the DR Group.

Also, deleting the DR Group would just delete that group NOT the actual luns (on source or destination) under Virtual Disks correct?

CV aks you about, if you want to delete the Destination LUN or not.
If will never delete the Source.

Failing Over (clicking the Failover button on the DR Group under Data Replication folder) just means it will make that DR Group the SOURCE rather than the Destination as it was orginally, is that correct?

Yes, it change the Replicaton.

Finally, on the Destination where the server was moved to, after clicking the Failover button for just the one lun, I would present the recently moved server to that same named LUN (via Vdisk Properties Presentation), and then UNpresent from the original Source side (to ensure the server will ONLY see the now failed over lun (originally destination), and have the server powered up and have him confirm he can see that one newly failed over LUN. Sound about right?

Normaly, you have the Presentation always on both Sides set.
CV automaticly "hides" the presentation for the Destination Array, so You only have to Push the Failover Button.
In real Live I do many time an unsupportet Online Failover, by Simply Push Failover and immediately do an Disk Rescan on the Host.
Single LUN Failover needs an DR Group for every LUN.

Lastly, after all is well, and the Destination is now the Source and he sees all the (destination - newly moved san) luns, I no longer need the Data Replication (I only did this for the physical server move), I can then go under Data Replication folder and "Delete" (via the delete button) on his DR Group which will only delete the Data Replication (not the vdisk either destination or source side). Correct?

Yes, it's your Choice also to delete the LUN on the Old Side, or leave it.
If you decide to leave it for some Days, first Unpresent the LUN, befor delete the DR Group.

If you are unsure, create a smal Test LUN, put it an an Test DR Group, test the Failover, Failback, Delete of DR.
Than you can also present the Test LUN on Source and Destination to any Server and Test again, with an Server attached.

ACP IT Solutions AGI'm not an HPE employee, so I can be wrong.
happygrl
Advisor

Re: DR Replication - Server moving - How to stop current source DR and have Destination be active co

When the server is powered off, what happens to the Data Replication status? Does the Operational Status go to "Attention icon or Failure"? The host server in question will be shut down tomorrow (Thurs) night and will be off for about 8 hours while it is being prepped to move from the one data center location to the other.

For reference again I have 2 HP 4400's (source and destination) using Command VIew 10.3.

You mentioned that it is best for the HP 4400 to have the host server powered OFF when cilcking the failover button on the DR replication group/lun. What are the issues IF the server was ON and the failover was clicked? Just curious.

Considering the host server will be off when I click the failover button on the destination (now to be the source) side, this should still work even with the DR status marked as "down" correct?

IF, for whatever reason, the failover does not work when I click the failover button, the vdisks that were already replicated over (to the destination SAN now to be the source) will still be available for the server to see, correct? As long as the host presentation is only on the new source SAN and not on the old source vdisks, that server will still see the vdisks?

At what point, after the DR is failed over, do I unpresent the host from the orignal source (now the destination) vdisk? Is it best to do this immediately after I fail over the Data Replication group/lun when the host server is still OFF to ensure that the new source (previously destination) is the only side to see the LUN (which I already have presentation set)?

For curiousity, any way to just "suspend" the Data Replication group via the Connections tab under "Replication I/O:" from Resumed to Suspended? or is delete the only option?

Finally, how can I be sure/verify the Data Replication has been continously replicating any deltas to the destination? Under Log tab on both source and destination, it says "Capacity: the log file is 0% full" (I designated half the size of the vdisk for logs) however on source side it says Operational state: Logging/Merging. whereas Destination side says Operational state:   Not in Use.

thank you!!

Cali
Honored Contributor
Solution

Re: DR Replication - Server moving - How to stop current source DR and have Destination be active co

>> When the server is powered off, what happens to the Data Replication status?

Nothing

>> What are the issues IF the server was ON and the failover was clicked?

This is unsupportet.

>> Considering the host server will be off when I click the failover button on the destination (now to be the source) side, this should still work even with the DR status marked as "down" correct?

The DR Status is not Down if the Server is Down.
Renember if you have ESX or Hyper-V, you can have multiple Server connected to one LUN at the same Time.
If one of them is Down it does not matter.

>> Finally, how can I be sure/verify the Data Replication has been continously replicating any deltas to the destination? Under Log tab on both source and destination, it says "Capacity: the log file is 0% full" (I designated half the size of the vdisk for logs) however on source side it says Operational state: Logging/Merging. whereas Destination side says Operational state:   Not in Use.

If the Log is "Not in use", it means it is not needed. The Log is started and filling Up, if there is Data that can not be replicated to the Destination. So 0% is fine.

---

From: HP P6000 Continuous Access Implementation Guide

Planned Failover Procedure

To execute a planned failover:

1 . Optionally, move storage management to another management server. For instructions, see the HP P6000 Command View User Guide.

2. Ensure that all DR groups have resumed and are fully normalized. ChecktheDRgroupstatususingHPP6000CommandVieworHPP6000ReplicationSolutions Manager. If a DR group is merging or a normalization is in progress, wait for the process to complete.

3. If the write mode is currently set to asynchronous, set it to synchronous. If you are running XCS 6.000 or later, consider the following: ā€¢ You must wait for the log to merge after changing the write mode to synchronous and then verify that the actual write mode has changed to synchronous. ā€¢ Transitioning to synchronous write mode will impact server I/O performance. For environments running in asynchronous mode on XCS 6.000 or later, it is best to halt all server processing while data in the write history log is draining, as server I/Os will be treated in a synchronous replication manner, resulting in a severe performance impact on server write I/Os. ā€¢ When performing a planned site failover, you must put DR groups in synchronous mode beforeperformingtheactualfailoveractivity.Omittingthismodechangebeforeperforming the site failover results in performing an unplanned site failover (and the resulting normalization). Once the site failover has finished, you can change the replication mode back to asynchronous mode again. ā€¢ If the intersite link (or links) are broken and the DR group (or groups) has entered logging but has not yet been marked as a normalization (as occurs when the log reaches 100% capacity),alinkisre-establishedandalogmergeshouldbeperformedbeforethefailover is performed. ā€¢ If the source site requires maintenance, put the DR groups into synchronous mode, wait for the write history logs to drain, and perform the failover. Once failover occurs, suspend replication and the destination array will start logging. When the primary array returns, re-establish a HP P6000 Continuous Access link, and take one of the following actions: ā—¦ Wait for the log to drain. ā—¦ Invalidate the log and start a normalization.

4. Properly halt all applications, and then shut down the servers. Ensure that the server has properly flushed all internally cached data. Failure to do this will result in the loss of data cached on the server.

5. Fail over the DR groups.

6. Issue operating system commands for resuming host I/O to the new source disks. For operating-system specifics, see ā€œResuming host I/O after failoverā€ (page 118).

7 . If you plan to operate for an extended time at the remote site, you can change the write mode to asynchronous after the original primary array is back up and running. a. If the DR group is currently suspended, resume it and wait for log to finish merging. b. Once the log has finished merging, set the write mode to asynchronous. NOTE: Remember to set the write mode back to synchronous and allow the write history log to completely drain before you fail back to the original source.
8. If you plan to operate for an extended time at the remote site and need to enable failsafe mode on a DR group. Make sure the new destination (previous source) and Fibre Channel links are functioning, and then perform the following steps: a. If the DR group is suspended, resume it and wait for the log disk to finish merging. b. Once the log has finished merging, change the DR group to failsafe mode. NOTE: You can enable failsafe mode at the destination array during a merge or normalization.
After resolving the cause of a failover, you have three options: ā€¢ Remain failed over on the remote array. ā€¢ Return operations to the local array. See ā€œFailback to the original source following a planned or unplanned failoverā€ (page 110). ā€¢ Return operations to new hardware at the local site.

 

 

ACP IT Solutions AGI'm not an HPE employee, so I can be wrong.
happygrl
Advisor

Re: DR Replication - Server moving - How to stop current source DR and have Destination be active co

This is for a physical host server (with luns presented from HP 4400) to it. This physical server is physically moving from one HP 4400 across states lines to our other HP 4400 location. It is not a VM which prompted my question to you of " When the server is powered off, what happens to the Data Replication status?" and "Considering the host server will be off when I click the failover button on the destination (now to be the source) side, this should still work even with the DR status marked as "down" correct?"

The host being a physical server does not change anything correct?

Step 2 stated "If a DR group is merging or a normalization is in progress, wait for the process to complete." On source side Operational state says Logging/Merging. It is always stating this. This is OK, correct?

Step 3 states "If the write mode is currently set to asynchronous, set it to synchronous." before failover. Write mode is set to asynchronous so when do I change it to synchronous? Is there a time period I have to do this in considering this physical server is shutting down in 24 hours?

Thank you Cali for your promptness and incredible helpfulness, I greatly appreciate it!

Cali
Honored Contributor

Re: DR Replication - Server moving - How to stop current source DR and have Destination be active co

The Operational State should be Good.

You dont say if the DR is Scynronous or Async, this is a Big difference.

Can you Post a Screenshoot of the DR Group.

Create a smal 10GB Test LUN put in in a Test DR Group an try Failover/Failback.

It does not Matter if the Host is a ESX or Physical.

ACP IT Solutions AGI'm not an HPE employee, so I can be wrong.
happygrl
Advisor

Re: DR Replication - Server moving - How to stop current source DR and have Destination be active co

Create a smal 10GB Test LUN put in in a Test DR Group an try Failover/Failback. Can I do this without presenting to any hosts? If not, I cannot do this as I'm not able to power down any servers to do this without major change control.

The physical server we are moving is a 4U IBM AIX important server. These 4 vdisks and associated DR groups are dedicated to this physical host server alone.

Here is requested screenshots from source side. I have a DR group for each lun/vdisk.

DR group properties.GIF

Now for individual properties of each of the 4 DR groups:

#1

DR group 1a.GIF

#2

DR group 2a.GIF

#3

DR group 3.GIF

 

#4

DR group 4.GIF

happygrl
Advisor

Re: DR Replication - Server moving - How to stop current source DR and have Destination be active co

(in addition to my above prior post), looks like I need to change my Write mode on all 4 of my DR groups from asynchronous to synchronous. Each DR group is about 300gb. How impactful might this be to the host physical server? I'm not thinking much as it's on the SAN back end but not sure, I know 2 of my 4 DR groups aren't showing much write I/O activity on those associated hard drives/luns.

I just changed write mode on my smallest DR group to synchronous and nothing was noted IO wise on the server so that's good. My log state now states "Operational state: Not in use" with log size editable and under connections Log state: Not in use. Is that normal with synchronous mode?

thanks!

screenshot example of log state now after write mode to synchronuos change (source side):

adinstanceAfterWriteModeChange1.GIFadinstanceAfterWriteModeChange2.GIFadinstanceAfterWriteModeChange3.GIF