Skip to main content

Understanding SnapMirror SVM replication

You can use SnapMirror to create a data protection relationship between SVMs. In this type of data protection relationship, all or part of the SVM's configuration, from NFS exports and SMB shares to RBAC, is replicated, as well as the data in the volumes that the SVM owns.

Supported relationship types

Only data-serving SVM can be replicated. The following data protection relationship types are supported:

  • SnapMirror DR, in which the destination typically contains only the Snapshot copies currently on the source SVM.

Details about these relationship types can be found here: Understanding SnapMirror volume replication.

The policy type of the replication policy determines the type of relationship it supports. The following table shows the available policy types.

Policy type

Relationship type

async-mirrorSnapMirror DR
mirror-vaultUnified replication

XDP replaces DP as the SVM replication default in ONTAP 9.5

Starting with ONTAP 9.5, SVM data protection relationships default to XDP mode.

Existing relationships are not affected by the new default. If a relationship is already of type DP, it will continue to be of type DP. The following table shows the behavior you can expect.

If you specify...

The type is...

The default policy (if you do not specify a policy) is...

DPXDPMirrorAllSnapshots (SnapMirror DR)
NothingXDPMirrorAllSnapshots (SnapMirror DR)
XDPXDPMirrorAndVault (Unified replication)

Details about the changes in the default can be found here: XDP replaces DP as the SnapMirror default.

Note
Version-independence is not supported for SVM replication.

See Compatible ONTAP versions for SnapMirror relationships.

How SVM configurations are replicated

The content of an SVM replication relationship is determined by the interaction of the following fields:

  • The -identity-preserve true option of the snapmirror create command replicates the entire SVM configuration.

    The -identity-preserve false option replicates only the volumes and authentication and authorization configurations of the SVM, and the protocol and name service settings listed in Configurations replicated in SVM DR relationships.

  • The -discard-configs network option of the snapmirror policy create command excludes LIFs and related network settings from SVM replication, for use in cases where the source and destination SVMs are in different subnets.

  • The -vserver-dr-protection unprotected option of the volume modify command excludes the specified volume from SVM replication.

Otherwise, SVM replication is almost identical to volume replication. You can use virtually the same workflow for SVM replication as you use for volume replication.

Support details

The following table shows support details for SnapMirror SVM replication.

Resource or featureSupport details
Relationship types
  • SnapMirror DR

  • SnapMirror unified replication

Replication scopeIntercluster only. You cannot replicate SVMs in the same cluster.
Version-independenceNot supported.
Deployment types
  • Single source to single destination

  • Starting with ONTAP 9.5, fan-out. You can fan-out to two destinations only.

    By default, only one -identity-preserve true relationship is allowed per source SVM.

Volume encryption
  • Encrypted volumes on the source are encrypted on the destination.

  • Onboard Key Manager or KMIP servers must be configured on the destination.

  • New encryption keys are generated at the destination.

  • If the destination does not contain a node that supports volume .encryption, replication succeeds, but the destination volumes are not encrypted.

    Note
    The encrypted build of ONTAP is required to take advantage of Lenovo Aggregate Encryption (LAE) or Lenovo Volume Encryption (LVE). Non-encrypted ONTAP does not support encryption function.
FabricPoolStarting with ONTAP 9.6, SnapMirror SVM replication is supported with FabricPools.
MetroClusterStarting with ONTAP 9.5, SnapMirror SVM replication is supported on MetroCluster configurations.
  • A MetroCluster configuration cannot be the destination of an SVM DR relationship.
  • Only an active

    SVM within a MetroCluster configuration can be the source of an SVM DR relationship.

    A source can be a sync-source SVM before switchover or a sync-destination SVM after switchover.

  • When a MetroCluster configuration is in a steady state, the MetroCluster sync-destination

    SVM cannot be the source of an SVM DR relationship, since the volumes are not online.
  • When the sync-source

    SVM is the source of an SVM DR relationship, the source SVM DR relationship information is replicated to the MetroCluster partner.
  • During the switchover and switchback processes, replication to the

    SVM DR destination might fail.

    However, after the switchover or switchback process completes, the next SVM DR scheduled updates will succeed.

Configurations replicated in SVM DR relationships

The following table shows the interaction of the snapmirror create -identity-preserve option and the snapmirror policy create -discard-configs network option:

Configuration replicated‑identity‑preserve true‑identity‑preserve false
Policy without -discard-configs network setPolicy with -discard-configs network set
NetworkNAS LIFsYesNoNo
LIF Kerberos configurationYesNoNo
SAN LIFsNoNoNo
Firewall policiesYesYesNo
RoutesYesNoNo
Broadcast domainNoNoNo
SubnetNoNoNo
IPspaceNoNoNo
CIFSCIFS serverYesYesNo
Local groups and local userYesYesYes
PrivilegeYesYesYes
Shadow copyYesYesYes
BranchCacheYesYesYes
Server optionsYesYesYes
Server securityYesYesNo
Home directory, shareYesYesYes
SymlinkYesYesYes
Fpolicy policy, Fsecurity policy, and Fsecurity NTFSYesYesYes
Name mapping and group mappingYesYesYes
Audit informationYesYesYes
NFSExport policiesYesYesNo
Export policy rulesYesYesNo
NFS serverYesYesNo
RBACSecurity certificatesYesYesNo
Login user, public key, role, and role configurationYesYesYes
SSLYesYesNo
Name servicesDNS and DNS hostsYesYesNo
Linux user and Linux groupYesYesYes
Kerberos realm and Kerberos keyblocksYesYesNo
LDAP and LDAP clientYesYesNo
NetgroupYesYesNo
NISYesYesNo
Web and web accessYesYesNo
VolumeObjectYesYesYes
Snapshot copies, Snapshot policy, and autodelete policyYesYesYes
Efficiency policyYesYesYes
Quota policy and quota policy ruleYesYesYes
Recovery queueYesYesYes
Root volumeNamespaceYesYesYes
User dataNoNoNo
QtreesNoNoNo
QuotasNoNoNo
File-level QoSNoNoNo
Attributes: state of the root volume, space guarantee, size, autosize, and total number of filesNoNoNo
Storage QoSQoS policy groupYesYesYes
Fibre Channel (FC)NoNoNo
iSCSINoNoNo
LUNsObjectYesYesYes
igroupsNoNoNo
portsetsNoNoNo
Serial numbersNoNoNo
SNMPv3 usersYesYesNo