Hi,
We currently 3 filers, and are looking to move a snap mirrored volume to another filer, we would like to do this without having to recreate a new snapmirror and all the traffic associated with with it.
The example is:
Filer1 has Vol1 witch is snap mirrored to drfiler1 Vol1
We would like to copy/move Vol1 on drfiler1 to drfiler2, and continue with it being a snap mirror of Vol1 on Filer1, without having to reinitialise the snap mirror
Drfiler1 and Drfiler2 are both on the same site so we have no bandwidth restrictions.
Is this possible and could someone point me in the right direction of how to do it.
Thanks
Matt
____________________________ Matt Davies Director of International IT Operations General Atlantic 23 Savile Row London W1S 2ET
Tel: +44 207 484 3203 Fax: +44 207 484 2803 Mobile: +44 777 559 4265 ____________________________
________________________________ _____________________________________________________________ This e-mail (including all attachments) is confidential and may be privileged. It is for the exclusive use of the addressee only. If you are not the addressee, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please erase all copies of the message and its attachments and notify us immediately at help@generalatlantic.com . Thank You.
Snapmirror from drfiler1 to drfiler2. Quiesce and break the mirror between drfiler1 and drfiler2. Modify snapmirror between drfiler2 and drfiler1 to be between drfiler2 and filer1 Resync snapmirror on drfiler2 On drfiler1 snapmirror release drfiler2 path
When satisfied that all is as you want it. Quiesce and break mirror between filer1 and drfiler1 On filer1 snapmirror release drfiler1 path On drfiler1 delete snapmirror definition for filer1 Delete former destination volume on drfiler1
Setting up and initializing the mirrors between drfiler1 and drfiler2 ensures there are some common snapshots between filer1 and drfiler2. Therefore, when you change the relationship to be between drfiler2 and filer1 instead of drfiler2 and drfiler1, there will only be a delta transfer.
On Thu, Sep 29, 2011 at 11:38 AM, Davies, Matt MDAVIES@generalatlantic.comwrote:
Hi,****
We currently 3 filers, and are looking to move a snap mirrored volume to another filer, we would like to do this without having to recreate a new snapmirror and all the traffic associated with with it.****
The example is:****
Filer1 has Vol1 witch is snap mirrored to drfiler1 Vol1****
We would like to copy/move Vol1 on drfiler1 to drfiler2, and continue with it being a snap mirror of Vol1 on Filer1, without having to reinitialise the snap mirror****
Drfiler1 and Drfiler2 are both on the same site so we have no bandwidth restrictions.****
Is this possible and could someone point me in the right direction of how to do it.****
Thanks****
Matt****
____________________________****
Matt Davies****
Director of International IT Operations****
General Atlantic****
23 Savile Row****
London****
W1S 2ET****
Tel: +44 207 484 3203****
Fax: +44 207 484 2803****
Mobile: +44 777 559 4265****
____________________________****
This e-mail (including all attachments) is confidential and may be privileged. It is for the exclusive use of the addressee only. If you are not the addressee, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please erase all copies of the message and its attachments and notify us immediately at help@generalatlantic.com . Thank You.
Toasters mailing list Toasters@teaparty.net http://www.teaparty.net/mailman/listinfo/toasters
cascading sm then make the change
will provide more details when i get to my laptop On Sep 29, 2011 8:48 AM, "Davies, Matt" MDAVIES@generalatlantic.com wrote:
Hi,****
We currently 3 filers, and are looking to move a snap mirrored volume to another filer, we would like to do this without having to recreate a new snapmirror and all the traffic associated with with it.****
The example is:****
Filer1 has Vol1 witch is snap mirrored to drfiler1 Vol1****
We would like to copy/move Vol1 on drfiler1 to drfiler2, and continue with it being a snap mirror of Vol1 on Filer1, without having to reinitialise the snap mirror****
Drfiler1 and Drfiler2 are both on the same site so we have no bandwidth restrictions.****
Is this possible and could someone point me in the right direction of how to do it.****
Thanks****
Matt****
____________________________****
Matt Davies****
Director of International IT Operations****
General Atlantic****
23 Savile Row****
London****
W1S 2ET****
Tel: +44 207 484 3203****
Fax: +44 207 484 2803****
Mobile: +44 777 559 4265****
____________________________****
This e-mail (including all attachments) is confidential and may be privileged. It is for the exclusive use of the addressee only. If you are not the addressee, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please erase all copies of the message and its attachments and notify us immediately at help@generalatlantic.com . Thank You.
Toasters mailing list Toasters@teaparty.net http://www.teaparty.net/mailman/listinfo/toasters
There's a way to do it and our SE actually wrote the tech doc I believe. I've done it a few times and it works, but after the change to NOW a few years ago the site has become nearly worthless; I can't find the reference for it anymore by any obvious search string.
I also can't recall the exact order of snapshots that need to be taken, but it's really as simple as creating a common one across all 3 volumes and using that to resync after the migrate. But it is very important to not miss a step or it's all for naught.
Support should be able to find the doc, or maybe even the guy who wrote it will see your post....
Jeff Kennedy Qualcomm, Incorporated QCT Engineering Compute 858-651-6592
From: toasters-bounces@teaparty.net [mailto:toasters-bounces@teaparty.net] On Behalf Of Davies, Matt Sent: Thursday, September 29, 2011 8:38 AM To: toasters@teaparty.net Subject: Changing snapmirror destination to a new filer
Hi,
We currently 3 filers, and are looking to move a snap mirrored volume to another filer, we would like to do this without having to recreate a new snapmirror and all the traffic associated with with it.
The example is:
Filer1 has Vol1 witch is snap mirrored to drfiler1 Vol1
We would like to copy/move Vol1 on drfiler1 to drfiler2, and continue with it being a snap mirror of Vol1 on Filer1, without having to reinitialise the snap mirror
Drfiler1 and Drfiler2 are both on the same site so we have no bandwidth restrictions.
Is this possible and could someone point me in the right direction of how to do it.
Thanks
Matt
____________________________ Matt Davies Director of International IT Operations General Atlantic 23 Savile Row London W1S 2ET
Tel: +44 207 484 3203 Fax: +44 207 484 2803 Mobile: +44 777 559 4265 ____________________________
________________________________ _____________________________________________________________ This e-mail (including all attachments) is confidential and may be privileged. It is for the exclusive use of the addressee only. If you are not the addressee, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please erase all copies of the message and its attachments and notify us immediately at help@generalatlantic.com . Thank You.
Yes, it's an excellent document!
We took his document & turned it into the runbook below. I would have attached the original doc, but yes - it's nearly impossible to find on NOW. You'll need to do some tweaking of the runbook information (snapmirror break original destination before creating the new destination etc) in order to fit your requirement since this design shows how to migrate a source qtree rather than destination volume, but the gist of what's required should be contained within.
And, of course, I'd test it on the DR filer to make sure.
Happy reading!
Russell Zayas Qualcomm Incorporated Data Management Group
Pre Migration
1. Identify snapmirror sources & associated destinations 2. Copy the original source to the new source, using the following command: * newsource> snapmirror initialize -S oldsource:/vol/oldsourcevol/qtree newsource:/vol/newsourcevol/qtree 3. Disable automatic snapmirror updates from destination filer's /etc/snapmirror.conf files * original entry: oldsource:/vol/srcvol/qtree dest:/vol/dstvol/qtree restart=always 0 * * * * new entry: oldsource:/vol/srcvol/qtree dest:/vol/dstvol/qtree restart=always - - - - Migration Window
1. Take old source qtree offline (NFS & CIFS) * oldsource> exportfs -u -v /vol/oldsourcevol/qtree * oldsource> cifs shares -delete oldsharename 2. Get final snapmirror update * newsource> snapmirror update -S oldsource:/vol/oldsourcevol/qtree newsource:/vol/newsourcevol/qtree Update Mirrors With New Baseline (src to newsrc & src to dst)
1. Create common snapshot on oldsource for new baseline: * oldsource> snap create oldsourcevol common_snap 2. Synchronize all mirrors with new baseline snapshot: * newsource> snapmirror update -c common_snap -s common_snap -S oldsource:/vol/oldsourcevol/qtree newsource:/vol/newsourcevol/qtree * destination> snapmirror update -c common_snap -s common_snap -S oldsource:/vol/oldsourcevol/qtree destination:/vol/destinationvol/qtree 3. Quiesce & Break relationships between oldsource/newsource & oldsource/destination(s) * New Source * newsource> snapmirror quiesce /vol/volnewsourcevol/qtree * newsource> snapmirror break /vol/volnewsourcevol/qtree * Destination(s) * destination> snapmirror quiesce /vol/destinationvol/qtree * destination> snapmirror break /vol/destinationvol/qtree Establish New Relationships
1. Establish the new SnapMirror relationship using the following command: * destination> snapmirror resync -S newsource:/vol/newsourcevol/qtree destination:/vol/destinationvol/qtree * Note - snapmirror status will NOT update until resync is complete 2. Re-Enable automatic snapmirror updates in destination filer's /etc/snapmirror.conf files * current entry: oldsource:/vol/srcvol/qtree dest:/vol/dstvol/qtree restart=always - - - - * new entry: newsource:/vol/srcvol/qtree dest:/vol/dstvol/qtree restart=always 0 * * * 3. Update mirrors with standard "update -S": * destination> snapmirror update -S newsource:/vol/newsourcevol/qtree destination:/vol/newsourcevol/qtree 4. Verify snapmirror relationship * destination> snapmirror status 5. Export & Share New Source * newsource> exportfs -v -a /vol/newsourcevol/qtree * newsource> cifs shares -add newshare /vol/newsourcevol/qtree Post Migration
1. Clean Up Old Common Snapshots * destination> snap delete dstvol common_snap * newsource> snap delete newsourcevol common_snap
From: toasters-bounces@teaparty.net [mailto:toasters-bounces@teaparty.net] On Behalf Of Kennedy, Jeffrey Sent: Thursday, September 29, 2011 9:09 AM To: Davies, Matt; toasters@teaparty.net Subject: RE: Changing snapmirror destination to a new filer
There's a way to do it and our SE actually wrote the tech doc I believe. I've done it a few times and it works, but after the change to NOW a few years ago the site has become nearly worthless; I can't find the reference for it anymore by any obvious search string.
I also can't recall the exact order of snapshots that need to be taken, but it's really as simple as creating a common one across all 3 volumes and using that to resync after the migrate. But it is very important to not miss a step or it's all for naught.
Support should be able to find the doc, or maybe even the guy who wrote it will see your post....
Jeff Kennedy Qualcomm, Incorporated QCT Engineering Compute 858-651-6592
From: toasters-bounces@teaparty.net [mailto:toasters-bounces@teaparty.net] On Behalf Of Davies, Matt Sent: Thursday, September 29, 2011 8:38 AM To: toasters@teaparty.net Subject: Changing snapmirror destination to a new filer
Hi,
We currently 3 filers, and are looking to move a snap mirrored volume to another filer, we would like to do this without having to recreate a new snapmirror and all the traffic associated with with it.
The example is:
Filer1 has Vol1 witch is snap mirrored to drfiler1 Vol1
We would like to copy/move Vol1 on drfiler1 to drfiler2, and continue with it being a snap mirror of Vol1 on Filer1, without having to reinitialise the snap mirror
Drfiler1 and Drfiler2 are both on the same site so we have no bandwidth restrictions.
Is this possible and could someone point me in the right direction of how to do it.
Thanks
Matt
____________________________ Matt Davies Director of International IT Operations General Atlantic 23 Savile Row London W1S 2ET
Tel: +44 207 484 3203 Fax: +44 207 484 2803 Mobile: +44 777 559 4265 ____________________________
________________________________ _____________________________________________________________ This e-mail (including all attachments) is confidential and may be privileged. It is for the exclusive use of the addressee only. If you are not the addressee, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please erase all copies of the message and its attachments and notify us immediately at help@generalatlantic.commailto:help@generalatlantic.com . Thank You.
If you use VSM, just establish VSM between vol1 on drfiler1 to vol1 (or whatever) on drfiler2, wait until it has completed initialization and then break it and do snapmirror resync from filer1 to drfiler2. There is some KB articles which detail how to do it … e.g. this one describes how to move destination inside a filer, but it works exactly the same across filers as well: https://kb.netapp.com/support/index?page=content&id=3011714.
--- With best regards
Andrey Borzenkov Senior system engineer Service operations
From: toasters-bounces@teaparty.net [mailto:toasters-bounces@teaparty.net] On Behalf Of Davies, Matt Sent: Thursday, September 29, 2011 7:38 PM To: toasters@teaparty.net Subject: Changing snapmirror destination to a new filer
Hi,
We currently 3 filers, and are looking to move a snap mirrored volume to another filer, we would like to do this without having to recreate a new snapmirror and all the traffic associated with with it.
The example is:
Filer1 has Vol1 witch is snap mirrored to drfiler1 Vol1
We would like to copy/move Vol1 on drfiler1 to drfiler2, and continue with it being a snap mirror of Vol1 on Filer1, without having to reinitialise the snap mirror
Drfiler1 and Drfiler2 are both on the same site so we have no bandwidth restrictions.
Is this possible and could someone point me in the right direction of how to do it.
Thanks
Matt
____________________________ Matt Davies Director of International IT Operations General Atlantic 23 Savile Row London W1S 2ET
Tel: +44 207 484 3203 Fax: +44 207 484 2803 Mobile: +44 777 559 4265 ____________________________
________________________________ _____________________________________________________________ This e-mail (including all attachments) is confidential and may be privileged. It is for the exclusive use of the addressee only. If you are not the addressee, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please erase all copies of the message and its attachments and notify us immediately at help@generalatlantic.com . Thank You.
You need to make a copy of the snapmirror volume on the new dr machine and then just tell netapp to use the new filer.
drfiler2> snapmirror initialize -S drfiler1:vol1 drfiler2:vol1 This creates a fast LAN copy of the volume on drfiler2 and it will contain baseline snapshots used by filer1 & drfiler1 drfiler2> snapmirror break vol1 drfiler2> snapmirror resync -S filer1:vol1 drfiler2:vol1 Break and re-establish the mirror from filer1. The resync will find the latest common snapshot, which should be what was copied from drfiler1, and then transfer just the delta. At this point, you can create the snapmirror.conf file on drfiler2 to keep the snapmirrors on a schedule.
There's also a bit of cleanup that you have to do, otherwise the baseline snapshot used between filer1 and drfiler1 will not be releasable (and will eventually run you out of disk space).
filer1> snapmirror release filer1:vol1 drfiler1:vol1
Good luck. Migration of snapmirrors is something that netapp does really well compared to other companies.
-George
From: "Davies, Matt" <MDAVIES@generalatlantic.commailto:MDAVIES@generalatlantic.com> Date: Thu, 29 Sep 2011 08:38:12 -0700 To: "toasters@teaparty.netmailto:toasters@teaparty.net" <toasters@teaparty.netmailto:toasters@teaparty.net> Subject: Changing snapmirror destination to a new filer
Hi,
We currently 3 filers, and are looking to move a snap mirrored volume to another filer, we would like to do this without having to recreate a new snapmirror and all the traffic associated with with it.
The example is:
Filer1 has Vol1 witch is snap mirrored to drfiler1 Vol1
We would like to copy/move Vol1 on drfiler1 to drfiler2, and continue with it being a snap mirror of Vol1 on Filer1, without having to reinitialise the snap mirror
Drfiler1 and Drfiler2 are both on the same site so we have no bandwidth restrictions.
Is this possible and could someone point me in the right direction of how to do it.
Thanks
Matt
____________________________ Matt Davies Director of International IT Operations General Atlantic 23 Savile Row London W1S 2ET
Tel: +44 207 484 3203 Fax: +44 207 484 2803 Mobile: +44 777 559 4265 ____________________________
________________________________ _____________________________________________________________ This e-mail (including all attachments) is confidential and may be privileged. It is for the exclusive use of the addressee only. If you are not the addressee, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please erase all copies of the message and its attachments and notify us immediately at help@generalatlantic.commailto:help@generalatlantic.com . Thank You.
Thank you everyone for the quick response, it is really appreciated.
Thanks
Matt
From: George T Chen [mailto:gtchen@yahoo-inc.com] Sent: Thursday, September 29, 2011 05:48 PM To: Davies, Matt; toasters@teaparty.net toasters@teaparty.net Subject: Re: Changing snapmirror destination to a new filer
You need to make a copy of the snapmirror volume on the new dr machine and then just tell netapp to use the new filer.
drfiler2> snapmirror initialize -S drfiler1:vol1 drfiler2:vol1 This creates a fast LAN copy of the volume on drfiler2 and it will contain baseline snapshots used by filer1 & drfiler1 drfiler2> snapmirror break vol1 drfiler2> snapmirror resync -S filer1:vol1 drfiler2:vol1 Break and re-establish the mirror from filer1. The resync will find the latest common snapshot, which should be what was copied from drfiler1, and then transfer just the delta. At this point, you can create the snapmirror.conf file on drfiler2 to keep the snapmirrors on a schedule.
There's also a bit of cleanup that you have to do, otherwise the baseline snapshot used between filer1 and drfiler1 will not be releasable (and will eventually run you out of disk space).
filer1> snapmirror release filer1:vol1 drfiler1:vol1
Good luck. Migration of snapmirrors is something that netapp does really well compared to other companies.
-George
From: "Davies, Matt" <MDAVIES@generalatlantic.commailto:MDAVIES@generalatlantic.com> Date: Thu, 29 Sep 2011 08:38:12 -0700 To: "toasters@teaparty.netmailto:toasters@teaparty.net" <toasters@teaparty.netmailto:toasters@teaparty.net> Subject: Changing snapmirror destination to a new filer
Hi,
We currently 3 filers, and are looking to move a snap mirrored volume to another filer, we would like to do this without having to recreate a new snapmirror and all the traffic associated with with it.
The example is:
Filer1 has Vol1 witch is snap mirrored to drfiler1 Vol1
We would like to copy/move Vol1 on drfiler1 to drfiler2, and continue with it being a snap mirror of Vol1 on Filer1, without having to reinitialise the snap mirror
Drfiler1 and Drfiler2 are both on the same site so we have no bandwidth restrictions.
Is this possible and could someone point me in the right direction of how to do it.
Thanks
Matt
____________________________ Matt Davies Director of International IT Operations General Atlantic 23 Savile Row London W1S 2ET
Tel: +44 207 484 3203 Fax: +44 207 484 2803 Mobile: +44 777 559 4265 ____________________________
________________________________ _____________________________________________________________ This e-mail (including all attachments) is confidential and may be privileged. It is for the exclusive use of the addressee only. If you are not the addressee, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please erase all copies of the message and its attachments and notify us immediately at help@generalatlantic.commailto:help@generalatlantic.com . Thank You.
________________________________ _____________________________________________________________ This e-mail (including all attachments) is confidential and may be privileged. It is for the exclusive use of the addressee only. If you are not the addressee, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please erase all copies of the message and its attachments and notify us immediately at help@generalatlantic.com . Thank You.
FYI, I typo'd the release command. It should be:
filer1> snapmirror release vol1 drfiler1:vol1
From: "Davies, Matt" <MDAVIES@generalatlantic.commailto:MDAVIES@generalatlantic.com> Date: Thu, 29 Sep 2011 10:02:09 -0700 To: George T Chen <gtchen@yahoo-inc.commailto:gtchen@yahoo-inc.com>, "'toasters@teaparty.netmailto:'toasters@teaparty.net'" <toasters@teaparty.netmailto:toasters@teaparty.net> Subject: Re: Changing snapmirror destination to a new filer
Thank you everyone for the quick response, it is really appreciated.
Thanks
Matt
From: George T Chen [mailto:gtchen@yahoo-inc.com] Sent: Thursday, September 29, 2011 05:48 PM To: Davies, Matt; toasters@teaparty.netmailto:toasters@teaparty.net <toasters@teaparty.netmailto:toasters@teaparty.net> Subject: Re: Changing snapmirror destination to a new filer
You need to make a copy of the snapmirror volume on the new dr machine and then just tell netapp to use the new filer.
drfiler2> snapmirror initialize -S drfiler1:vol1 drfiler2:vol1 This creates a fast LAN copy of the volume on drfiler2 and it will contain baseline snapshots used by filer1 & drfiler1 drfiler2> snapmirror break vol1 drfiler2> snapmirror resync -S filer1:vol1 drfiler2:vol1 Break and re-establish the mirror from filer1. The resync will find the latest common snapshot, which should be what was copied from drfiler1, and then transfer just the delta. At this point, you can create the snapmirror.conf file on drfiler2 to keep the snapmirrors on a schedule.
There's also a bit of cleanup that you have to do, otherwise the baseline snapshot used between filer1 and drfiler1 will not be releasable (and will eventually run you out of disk space).
filer1> snapmirror release filer1:vol1 drfiler1:vol1
Good luck. Migration of snapmirrors is something that netapp does really well compared to other companies.
-George
From: "Davies, Matt" <MDAVIES@generalatlantic.commailto:MDAVIES@generalatlantic.com> Date: Thu, 29 Sep 2011 08:38:12 -0700 To: "toasters@teaparty.netmailto:toasters@teaparty.net" <toasters@teaparty.netmailto:toasters@teaparty.net> Subject: Changing snapmirror destination to a new filer
Hi,
We currently 3 filers, and are looking to move a snap mirrored volume to another filer, we would like to do this without having to recreate a new snapmirror and all the traffic associated with with it.
The example is:
Filer1 has Vol1 witch is snap mirrored to drfiler1 Vol1
We would like to copy/move Vol1 on drfiler1 to drfiler2, and continue with it being a snap mirror of Vol1 on Filer1, without having to reinitialise the snap mirror
Drfiler1 and Drfiler2 are both on the same site so we have no bandwidth restrictions.
Is this possible and could someone point me in the right direction of how to do it.
Thanks
Matt
____________________________ Matt Davies Director of International IT Operations General Atlantic 23 Savile Row London W1S 2ET
Tel: +44 207 484 3203 Fax: +44 207 484 2803 Mobile: +44 777 559 4265 ____________________________
________________________________ _____________________________________________________________ This e-mail (including all attachments) is confidential and may be privileged. It is for the exclusive use of the addressee only. If you are not the addressee, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please erase all copies of the message and its attachments and notify us immediately at help@generalatlantic.commailto:help@generalatlantic.com . Thank You.
________________________________ _____________________________________________________________ This e-mail (including all attachments) is confidential and may be privileged. It is for the exclusive use of the addressee only. If you are not the addressee, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please erase all copies of the message and its attachments and notify us immediately at help@generalatlantic.commailto:help@generalatlantic.com . Thank You.