UNSOLVED

Manumari

updated

16 years ago

M

Manumari

131 Posts

0

3342

April 9th, 2010 12:00

Celerra DR Testing

Hi all,

I have been going through several discussions regarding DR testing but did not find a straight answer for what I was looking. Planning to do a DR test. make source FS readonly and destination FS readwrite. And after the testing is done, discard the changes at destination and put back everything in its original state.  I know DR is done through both Failover or Switchover option. Also failback is through Reverse, but this will copy any changes on destination FS to source FS. So is there a way not to copy any data back from destination FS to source FS ?

I will be doing :

     1. nas_replicate (failover or switchover) filesystem  ( failover is immidiate and when source is not available & switchover is gracefull no data loss when source is available )

     2. Now source is Readonly & Destination is ReadWrite

     3. Do testing on Destination FS

     4. Now I am looking for what need to be done in order to discard the changes on destination filesystem (not to copy data back) and put it in the same state that was before failover or switchover was done ?

Any information would be appreciated.

Thanks.

  • gbarretoxx1

    2 Intern

    366 Posts

    1329

    0

    Posted April 16th, 2010 11:00

    Hi,

    please, refer to emc216579 "How to conduct an application test on destination side without stopping replication sessions" .

    In this case, you don't need to stop the replication sessions, and use a crash consistent image of the production file systems on the destination side.

    Let me know if this fits your needs.

    Gustavo Barreto.

  • Manumari

    131 Posts

    1329

    0

    Posted April 22nd, 2010 08:00

    Thanks for the information. Actually we are doing that currently for testing purposes and what I was looking more for like an actual DR testing where we failover the filesystems and disgard the changes. Is there anyway we can do that using  "reverse" option ?

  • gbarretoxx1

    2 Intern

    366 Posts

    1329

    0

    Posted April 22nd, 2010 09:00

    Hi,

    I don't think you can do a reverse in this case.

    You would need to do the following :

    1) switchover the replication sessions;

    2) work on the destination side as you need;

    3) delete the replication sessions;

    4) remount the original source file systems as RW, and set the VDM's state to loaded ( this will bring the CIFS servers online );

    5) manually undo the changes on your DNS environment ( if needed - The DDNS should take care of that );

    6) remount the original destination side file systems as RO, and set the VDM's state to mounted;

    7) recreate the replication sessions.

    But, I strongly recommend you to try first on a lab environment, so you can prepare your settings on both sides, and become more comfortable with the procedures. Create a test CIFS server on a test VDM, and a test file systems with some test shares...

    Keep in mind that you will have a production downtime from step 1 to step 5.

    Gustavo Barreto.

  • Manumari

    131 Posts

    1329

    0

    Posted April 22nd, 2010 10:00

    We don’t have a test NAS to need to do it on the production box but as you said with test filesystem and test cifs server. we are also not using vdm’s. so will test it ahead. information helps a lot. thanks once again…

  • Manumari

    131 Posts

    1329

    0

    Posted May 10th, 2010 07:00

    Another quick question. if we delete the replication session then does it to a full copy again once we re-create a session ? thanks

  • pdubey2

    1 Rookie

    49 Posts

    1329

    0

    Posted November 29th, 2010 11:00

    Hi Manumari,

    I have similar test coming up in my DC  as  you described in this post  where i have to discard  all the changes made to original destination  site ( when it is acting as source upon failover)   and  return back to start state from where we started the test  ..Were you able to perform the  test in  you DC ..  could  you pls  post the steps  ..

    Thanks in Advance..

  • Manumari

    131 Posts

    1329

    0

    Posted November 29th, 2010 13:00

    Yes. I was able to test it successfully. Following were the steps I performed:

    1. Took a checkpoint of the production Celerra before the change just in case to rollback

    2. Failover over the shares using “switchover” flag which would be a clean failover

    3. In switched over state, Prod would be Read-only state and DR would be Read Write

    4. Once testing is complete, Manually change Prod shares to Read write & DR shares to read-only

    5. restart the replication back to DR

    Any questions do let me know.

  • 1329

    0

    Posted October 24th, 2011 02:00

    Manumari

    I have a issue, when using the "switchover" method. The switch over to DR goes through fine, The DNS updates with the new ip, and the shares are mounted on the switched over VDM.

    The problem is that I cannot write to the shares. Although the new source (DR) file system shows that it is in fact R/W/.

  • DHoffman2

    2 Intern

    306 Posts

    1329

    0

    Posted October 26th, 2011 07:00

    I have posted in this forum a procedure that allows you to bring up resrouces at the DR site.  This is to use ONLY if the two locations are isolated and cannot see each other during the DR test.

    I'd be happy to review that with anyone.

  • landog1

    1 Rookie

    96 Posts

    107

    0

    Posted November 3rd, 2011 04:00


                         source      destination   replicating
      Initially          RW    -->     RO             Y
      Switchover     RO    -->     RW             N     

    To switch back...


    Open a Putty session to the destination:
         server_mount server_2 -option ro FS_NAME 

    Open a Putty session to the source:
         server_mount server_2 -option rw FS_NAME
         nas_replicate -start rep_NAME -overwrite_destination