lcorona

updated

10 years ago

L

lcorona

1 Rookie

•

33 Posts

•

6 Points

0

2201

October 31st, 2016 15:00

NAS replication to multiple sites.

Hello,

We have a current replication session from site A to site B and A to site C, I need to switch-over to site B because site A will be going away

so the question is, can we replicate from B to C maintaining the current data on C, or do I have to re-sync B to C from scratch?

Any help is much appreciated.

  • maniemc

    169 Posts

    1533

    0

    Posted October 31st, 2016 20:00

    Karl referenced correctly, but will explain bit more here.

    If this is A->B and A->C (one to many), by reversing the replication on A->B, the new setup will become cascaded (B->A->C)

    To convert to one to many to cascade, ensure first, nas_refresh -refresh works good from A->B and A->C and finishes with no issues. Once it is good, you can issue, nas_replicate -reverse from A to convert to cascaded.

    Once you got like that above, you push the commonbase ckpt like Karl referenced, which you can do like:

    1) Create B-C interconnects

    2) Create the ckpt on B (the new source) -> fs_ckpt fsname -name fs_cb_ckpt

    3) From B to A session ->  nas_replicate -refresh fs1_BtoA_rep -source fs_cb_ckpt -destination fs_cb_ckpt

    4) Once above sync finishes, then issue on A -> nas_replicate -refresh fs1_AtoC_rep -source fs_cb_ckpt -destination fs_cb_ckpt

    5) when the above finishes, you can delete the replications from A-C first

    6) create new rep from B to C like (this will do the incremental copy) : nas_replicate -create fs1_BtoC -name sourcefs -destination destfs -vdm ifany -interconnect BtoC_interconnect -overwrite_destination

    7) Delete B-A session


  • umichklewis

    4 Apprentice

    •

    1190 Posts

    1533

    1

    Posted October 31st, 2016 18:00

    This is an interesting topic that's been discussed a few times.  One good example is here.  Basically, common base checkpoints will be one of things you'll want to read up on.

    Let us know if that helps!

    Karl

  • lcorona

    1 Rookie

    •

    33 Posts

    •

    6 Points

    1533

    0

    Posted November 2nd, 2016 09:00

    Thank you Karl it does help pretty much.

  • lcorona

    1 Rookie

    •

    33 Posts

    •

    6 Points

    1533

    0

    Posted November 2nd, 2016 09:00

    Thank you maniemc, that Sums all up.

    I just need to perform a test, because I will need to move the file system into a VMD, when I created the replication to B I missed that part and replicate it directly to server_2 just as is on the source. So now I will have to un-mount and re-mount on the VDM once replication is deleted.