UNSOLVED

Hemanth7_9ad6b9

updated

11 years ago

0

1596

September 15th, 2015 14:00

Need Writable copy of NFS shares in DR site

We are planning to perform a DR test with writable checkpoints created in the DR site and create NFS shares accordingly so that application team can test the same.

We have a file system named "DRS" where the NFS path is /DRS,

1) Taken a writable checkpoint on the DR site for the file system "DRS" by giving name DRS

2) Create a NFS export by selecting "DRS21" with path /DRS but is pointing to the filesystem "DRS" not  "DRS21" and its only readable copy

3) When I create NFS export by selecting "DRS21" with path /DRS21, I see it  pointed to the writable check point "DRS21" and we are able to write data to it


The problem here is when we power up all the servers in DR site, the path will be different and the servers will not be able to mount NFS shares


Please let me know if there is any alternate way of doing the things

  • umichklewis

    4 Apprentice

    •

    1190 Posts

    500

    0

    Posted September 16th, 2015 07:00

    What about creating symlinks on your application servers?  In other words, if you're mounting a directory such as /PROD_DATA to the NFS path /DRS, why not create a symlink that points /PROD_DATA to /DRS21 instead?

  • 500

    0

    Posted September 16th, 2015 07:00

    ya Karl, We have 50 shares and 100 Servers which are using them, creating symlink on each server would be difficult.

    So planning to create NFS shares similar "Servername/DRC" on the DR site using the production file system and add an additinal DNS entry

    Prod Site # Servername (192.168.1.1)/DRC

    DR Site #  Servername (192.168.1.2)/DRC

    So only issue here is it will be only a Read only copy, any suggestion to have a writable copy at DR site with the same shared path. We are stopping the replications and also breaking the line between prod and DR site

  • umichklewis

    4 Apprentice

    •

    1190 Posts

    500

    0

    Posted September 16th, 2015 14:00

    Unless you can change a path somewhere, no, I don't know of a way to providing a writeable copy.

    However, if you're breaking the replication from PROD to DR, why not activate your DR filesystems as read-write?  Then, your servers would mount the filesystems read-write with the same path from the PROD filesystems.  After your test, you can mount the DR filesystems read-only again, then resume replications from PROD to DR.

    Would that meet your needs?

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    500

    0

    Posted September 16th, 2015 21:00

    Karl,

    if DR servers wrote to DR file system, you can't just resume replication ....don' t you need to specify -overwrite_destination ?

  • umichklewis

    4 Apprentice

    •

    1190 Posts

    500

    0

    Posted September 18th, 2015 11:00

    Yup - you're 100% correct.  Without "-overwrite_destination", resuming the replication will fail.  Thanks for catching that!

  • 500

    0

    Posted December 30th, 2015 08:00

    Thanks Dynamox and Karl!!

  • kelleg

    6 Operator

    •

    4537 Posts

    500

    0

    Posted December 31st, 2015 07:00

    Was your question answered correctly? If so, please remember to mark your question Answered when you get the correct answer and award points to the person providing the answer. This helps others searching for a similar issue.

    glen