Professional Documents
Culture Documents
Contents
Deciding whether to use this guide ............................................................. 4
SVM disaster recovery workflow ................................................................ 5
Quiescing SnapMirror transfers .................................................................................. 5
Aborting any ongoing SnapMirror transfers ............................................................... 6
Breaking the SVM disaster recovery relationship ....................................................... 7
Stopping the source SVM ........................................................................................... 7
Starting the destination SVM ...................................................................................... 8
Source SVM reactivation workflow ............................................................ 9
Reactivating the source SVM ...................................................................................... 9
Creating the new source SVM ....................................................................... 10
Setting up the existing source SVM .............................................................. 12
Stopping the destination SVM .................................................................................. 15
Updating the SnapMirror relationship ....................................................................... 15
Breaking the SVM disaster recovery relationship ..................................................... 16
Starting the source SVM ........................................................................................... 16
Resynchronizing the destination SVM from the source SVM .................................. 17
Where to find additional information ....................................................... 19
Copyright information ............................................................................... 20
Trademark information ............................................................................. 21
How to send comments about documentation and receive update
notifications ............................................................................................ 22
Index ............................................................................................................. 23
4
• You are working with SVMs with FlexVol volumes on clusters that are running ONTAP 9.
• You have prepared the source SVM for disaster recovery by configuring the destination SVM.
SVM disaster recovery express preparation
• You are using the ONTAP command-line interface.
• You want to use best practices, not explore every available option.
You should not use this guide for backups if you are backing up NAS file services to the cloud using
NetApp AltaVault cloud-integrated storage. In such cases, see the Data Fabric Solution for Cloud
Backup Workflow Guide.
Related information
Data Fabric Solution for Cloud Backup Workflow Guide Using SnapCenter
5
Note: The ONTAP version of the destination SVM must be at or above the version of the source.
This is not a requirement for volume async-mirror and XDP relationship.
During a disaster, any new data that is written on the source SVM after the last SnapMirror transfer is
lost.
Steps
1. Stop the scheduled SnapMirror transfers by using the snapmirror quiesce command.
Example
2. Verify that the SnapMirror relationship between the source and the destination SVMs is in the
Quiescing or Quiesced state by using the snapmirror show command.
For viewing the detailed status of the relationship, you can use the -instance option.
Example
Steps
1. Abort any ongoing SnapMirror transfers by using the snapmirror abort command.
Example
2. Verify that the SnapMirror relationship between the source and destination SVMs is in the Idle
state by using the snapmirror show command.
For viewing the detailed status of the relationship, you can use the -instance option.
Example
Steps
1. Break the SVM disaster recovery relationship by using the snapmirror break command.
Example
2. Verify that the SnapMirror relationship between the source and destination SVMs is in the
Broken-off state by using the snapmirror show command.
Example
The subtype changes from dp-destination to default. The type of the volumes in the
destination SVM changes from DP to RW.
Steps
Example
2. Verify that the source SVM is in the stopped state by using the vserver show command.
8 | SVM Disaster Recovery Express Guide
Example
Steps
Example
2. Verify that the destination SVM is in the running state and the subtype is default by using the
vserver show command.
Example
Choices
• Creating the new source SVM on page 10
10 | SVM Disaster Recovery Express Guide
Steps
1. Deleting the SnapMirror relationship on page 10
2. Deleting the SVM peer relationship on page 10
3. Setting up a new source SVM on page 11
Steps
1. From the destination cluster, identify the SnapMirror relationship between the source SVM that
no longer exists and its destination SVM by using the snapmirror show command.
Example
Example
3. Verify that the SnapMirror relationship is deleted by using the snapmirror show command.
The deleted SnapMirror relationship entry is no longer displayed in the output.
Steps
1. From the destination cluster, identify the SVM peer relationship between the source SVM that no
longer exists and its destination SVM by using the vserver peer show command.
Example
2. Delete the SVM peer relationship by using the vserver peer delete command.
Example
You can follow the detailed steps that are provided in the SVM Disaster Recovery Preparation
Express Guide to set up the new source SVM.
SVM disaster recovery express preparation
Steps
2. Create a source SVM of subtype dp-destination, which is now the destination SVM.
3. Create an SVM peer relationship between the new source SVM and the original destination SVM.
4. For different subnets: If you want to exclude LIFs from replication, create a SnapMirror policy
with the -discard-configs network option .
5. Create a SnapMirror relationship between the new source SVM and the original destination SVM.
If you want to exclude LIFs from replication, you must use the SnapMirror policy that was
created with the -discard-configs network option.
6. For CIFS: If you chose to replicate data and a subset of the SVM configuration by setting the -
identity-preserve option to false, create a CIFS server.
12 | SVM Disaster Recovery Express Guide
8. For different subnets: Configure NAS LIFs on the new source SVM.
9. If you chose to replicate data and a subset of the SVM configuration by setting the -identity-
preserve option to false, configure network and protocol access on the new source SVM for
data access.
Steps
1. Creating a SnapMirror relationship on page 12
2. Resynchronizing the source SVM from the destination SVM on page 14
• The destination cluster must have at least one non-root aggregate with a minimum free space of
10 GB for replicating the configuration.
The best practice is to have at least two non-root aggregates with a minimum free space of 10 GB
each.
• Any custom schedules that are being used by the destination SVM must be created on the source
SVM.
• The existing source SVM and the destination SVM must be peered.
Steps
1. Different subnets: If you want to exclude LIFs from replication, create a SnapMirror policy to
exclude LIFs from replication by using the snapmirror policy create command.
Example
2. Create a SnapMirror relationship between the source and destination SVMs by using the
snapmirror create command:
You can specify the source and destination SVMs as either paths or SVM names. If you want to
specify the source and destination SVMs as paths, then the SVM name must be followed by a
colon.
• Replicate data and all the configuration information by setting the -identity-preserve
option to true.
The following command creates the SnapMirror relationship with the SVM names set as the -
destination-path and -source-path parameters:
The following command creates the SVM SnapMirror relationship with the SVM names as
the -destination-vserver and -source-vserver parameters:
The following command creates the SVM SnapMirror relationship with the SVM names as
the -destination-path and -source-path parameters, and uses the SnapMirror policy
exclude_LIF to exclude LIFs from replication:
• Replicate data and a subset of the configuration information by setting the -identity-
preserve option to false.
The following command creates the SnapMirror relationship with the SVM names as the -
destination-path and -source-path parameters:
The following command creates the SnapMirror relationship with the SVM names as the -
destination-vserver and -source-vserver parameters:
3. Verify that the SnapMirror relationship is established, and is in the Broken-off state by using
the snapmirror show command.
14 | SVM Disaster Recovery Express Guide
Example
• The SVM root volume must not contain any data other than metadata because other data is not
replicated.
Root volume metadata—such as volume junctions, symbolic links, and directories leading to
junctions symbolic links—is replicated.
• The source SVM must not contain any load-sharing mirrors other than the load-sharing mirror
that is created for SVM root volume protection.
• The source SVM must not contain any new protected volumes.
You must delete such volumes on the source SVM to prevent failure of the resynchronization
operation.
Steps
1. From the source cluster, resynchronize the source SVM from the destination SVM by using the
snapmirror resync command.
Example
2. Verify that the resynchronization operation is complete, and the SnapMirror relationship is in the
Snapmirrored state by using the snapmirror show command.
To view the detailed status of the SnapMirror relationship, you can use the -instance option.
Example
Relationship Type: DP
Relationship Group Type: vserver
SnapMirror Schedule: -
SnapMirror Policy Type: async-mirror
SnapMirror Policy: DPDefault
Mirror State: Snapmirrored
......
.....
After resynchronization, you cannot delete load-sharing mirrors from the source SVM; you can
only promote them from the source SVM.
Steps
1. From the destination cluster, stop the destination SVM by using the vserver stop command.
Example
2. Verify that the destination SVM is in the stopped state by using the vserver show command.
Example
Note: You must not perform any configuration changes on the destination SVM.
Steps
1. From the source cluster, perform a SnapMirror update by using the snapmirror update
command.
Example
2. Verify that the SnapMirror update operation is complete and the SnapMirror relationship is in the
Snapmirrored state.
16 | SVM Disaster Recovery Express Guide
For viewing the detailed status of the relationship, you can use the -instance option.
Example
Steps
1. Break the SVM disaster recovery relationship by using the snapmirror break command.
Example
2. Verify that the SnapMirror relationship between the source and the destination SVMs is in the
Broken-off state by using the snapmirror show command.
Example
The source SVM continues to be in the Stopped state and the subtype changes from dp-
destination to default. The state of the volumes in the source SVM changes from DP to RW.
Steps
1. From the source cluster, start the source SVM by using the vserver start command.
Source SVM reactivation workflow | 17
Example
The -status-admin option of the LIFs configured on the source SVM is set to up.
2. Verify that the source SVM is in the running state and the subtype is default by using the
vserver show command.
Example
• The SVM root volume must not contain any other data apart from metadata because the other
data is not replicated.
Root volume metadata such as volume junctions, symbolic links, and directories leading to
junctions symbolic links are replicated.
• The destination SVM must not contain load-sharing mirrors apart from the load-sharing mirror
created for SVM root volume protection.
• The destination SVM must not contain any new protected volumes.
You must delete such volumes on the destination SVM to prevent resynchronization failure.
Steps
1. Ensure that a SnapMirror relationship exists between the source and the destination SVMs:
a. Verify that a SnapMirror relationship exists by using the snapmirror show command.
b. If a SnapMirror relationship does not exist, then create a SnapMirror relationship by using the
snapmirror create command.
Example
3. Verify that the resynchronization operation is complete and the SnapMirror relationship is in the
Snapmirrored state by using the snapmirror show command.
For viewing the detailed status of the relationship, you can use the -instance option.
Example
......
.....
After the resynchronization, you can only promote load-sharing mirrors and cannot delete them
from the destination SVM.
19
Reference guides
You can use the following documentation for details about the snapmirror commands:
◦ ONTAP concepts
20
Copyright information
Copyright © 1994–2017 NetApp, Inc. All rights reserved. Printed in the U.S.
No part of this document covered by copyright may be reproduced in any form or by any means—
graphic, electronic, or mechanical, including photocopying, recording, taping, or storage in an
electronic retrieval system—without prior written permission of the copyright owner.
Software derived from copyrighted NetApp material is subject to the following license and
disclaimer:
THIS SOFTWARE IS PROVIDED BY NETAPP "AS IS" AND WITHOUT ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE,
WHICH ARE HEREBY DISCLAIMED. IN NO EVENT SHALL NETAPP BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
NetApp reserves the right to change any products described herein at any time, and without notice.
NetApp assumes no responsibility or liability arising from the use of products described herein,
except as expressly agreed to in writing by NetApp. The use or purchase of this product does not
convey a license under any patent rights, trademark rights, or any other intellectual property rights of
NetApp.
The product described in this manual may be protected by one or more U.S. patents, foreign patents,
or pending applications.
RESTRICTED RIGHTS LEGEND: Use, duplication, or disclosure by the government is subject to
restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer
Software clause at DFARS 252.277-7103 (October 1988) and FAR 52-227-19 (June 1987).
21
Trademark information
Active IQ, AltaVault, Arch Design, ASUP, AutoSupport, Campaign Express, Clustered Data ONTAP,
Customer Fitness, Data ONTAP, DataMotion, Element, Fitness, Flash Accel, Flash Cache, Flash
Pool, FlexArray, FlexCache, FlexClone, FlexPod, FlexScale, FlexShare, FlexVol, FPolicy, Fueled by
SolidFire, GetSuccessful, Helix Design, LockVault, Manage ONTAP, MetroCluster, MultiStore,
NetApp, NetApp Insight, OnCommand, ONTAP, ONTAPI, RAID DP, RAID-TEC, SANscreen,
SANshare, SANtricity, SecureShare, Simplicity, Simulate ONTAP, Snap Creator, SnapCenter,
SnapCopy, SnapDrive, SnapIntegrator, SnapLock, SnapManager, SnapMirror, SnapMover,
SnapProtect, SnapRestore, Snapshot, SnapValidator, SnapVault, SolidFire, SolidFire Helix,
StorageGRID, SyncMirror, Tech OnTap, Unbound Cloud, and WAFL and other names are
trademarks or registered trademarks of NetApp, Inc., in the United States, and/or other countries. All
other brands or products are trademarks or registered trademarks of their respective holders and
should be treated as such. A current list of NetApp trademarks is available on the web.
http://www.netapp.com/us/legal/netapptmlist.aspx
22
Index
A breaking from the destination SVM 7
breaking from the source SVM 16
aborting documentation
SnapMirror transfers for the SVM disaster recovery additional information about SVM disaster recovery
relationship 6 19
activating how to receive automatic notification of changes to
destination SVM, workflow for 5 22
how to send feedback about 22
B
E
breaking
SVM disaster recovery relationship from the express guides
destination SVM 7 additional documentation 19
SVM disaster recovery relationship from the source
SVM 16
F
C feedback
how to send comments about documentation 22
choosing flowcharts
new or existing SVM for reactivation 9 workflow for activating the destination SVM 5
comments
how to send feedback about documentation 22
creating I
SVM SnapMirror disaster recovery relationship 12 information
how to send feedback about improving
D documentation 22
deleting
SnapMirror relationship 10 P
SVM peer relationship 10 peer relationships
destination deleting for SVM 10
starting the SVM during disaster recovery 8
stopping the SVM during disaster recovery 15
destination SVM Q
workflow for activating 5
quiescing
destination SVMs
SnapMirror transfers 5
resynchronizing from source SVMs for disaster
recovery 17
resynchronizing source SVMs from, for disaster R
recovery 14
disaster recovery reactivating
creating a SnapMirror relationship for SVMs 12 existing source SVM 12
deciding whether to use the SVM Disaster Recovery new source SVM 10
Express Guide 4 source SVM after a disaster 16
performing a SnapMirror update 15 workflow for the source SVM 9
reactivation workflow for the source SVM 9 recovering
resynchronizing destination SVMs from source workflow for the source SVM 9
SVMs 17 relationships
resynchronizing the source SVM from the deleting SnapMirror 10
destination SVM 14 resynchronizing
setting up new source SVM 11 destination SVMs from source SVMs for disaster
starting the destination SVM 8 recovery 17
starting the source SVM 16 source SVMs from destination SVMs for disaster
stopping SnapMirror transfers 5 recovery 14
stopping the destination SVM 15
stopping the source SVM 7
S
disaster recovery relationships
aborting SnapMirror transfers for the SVM 6 setting up
24 | SVM Disaster Recovery Express Guide
a new source SVM for disaster recovery 11 reactivating the existing source 12
SnapMirror relationships reactivating the source after a disaster 16
breaking, for SVM disaster recovery 7 reactivation workflow for source 9
creating for SVM disaster recovery 12 resynchronizing destination SVMs from source
deleting 10 SVMs for disaster recovery 17
for disaster recovery, breaking between source and resynchronizing the source from the destination for
destination SVMs 16 disaster recovery 14
stopping transfers for SVM disaster recovery setting up a new source 11
relationship 5 SnapMirror updates between destination and source
SnapMirror transfers for disaster recovery 15
aborting for SVM disaster recovery relationship 6 starting the destination, during disaster recovery 8
Snapmirror updates starting the source after a disaster 16
performing for disaster recovery 15 stopping the destination during disaster recovery 15
source stopping the source during disaster recovery 7
reactivating the existing SVM 12 workflow for activating destination 5
reactivating the new SVM 10
setting up the SVM for disaster recovery 11
starting SVMs for disaster recovery 16
T
stopping SVMs during disaster recovery 7 technical reports
source SVMs additional information about SVM disaster recovery
deciding whether to use the SVM Disaster Recovery 19
Express Guide 4 testing
resynchronizing from destination SVMs for disaster stopping the destination in a disaster recovery setup
recovery 14 15
starting stopping the source SVM in a disaster recovery setup
destination SVM during disaster recovery 8 7
source SVM after a disaster 16 Twitter
stopping how to receive automatic notification of
destination SVM during disaster recovery 15 documentation changes 22
SnapMirror transfers for the SVM disaster recovery
relationship 6
source SVM during disaster recovery 7 U
suggestions
updating
how to send feedback about documentation 22
SnapMirror relationship for disaster recovery 15
SVMs
aborting the disaster recovery relationship for 6
breaking the disaster recovery relationship for 7, 16 W
creating a SnapMirror relationship for disaster
recovery 12 workflows
deleting the peer relationship 10 activating the destination SVM 5
quiescing the SnapMirror relationship 5 reactivating the source SVM 9
reactivating a new source 10