The Data ONTAP SnapMirror feature enables an administrator to mirror Snapshot images either asynchronously or synchronously:
Additionally, you can configure a synchronous SnapMirror replication to lag behind the source volume by a user-defined number of write operations or milliseconds. This option is useful if you are balancing the need for synchronous mirroring with the performance benefit of asynchronous mirroring.
See Synchronous SnapMirror for more information.
SnapMirror can also be used with traditional volumes and FlexVol volumes. See Effects of FlexVol volumes on SnapMirror replication for more information about using SnapMirror with FlexVol volumes.
You can access the information on the destination volume or qtree to
The basic SnapMirror deployment consists of the following components.
SnapMirror source volumes and qtrees are writable data objects whose data is to be replicated. The source volumes and qtrees are the objects normally visible, accessible, and writable by the storage system clients.
The SnapMirror destination volumes and qtrees are read-only objects, usually on a separate system, to which the source volumes and qtrees are replicated. The destination volumes and qtrees are normally accessed by users only when a disaster takes down the source volumes or qtrees and the administrator uses SnapMirror commands to make the replicated data at the destination accessible and writable.
A common variation to the basic SnapMirror backup deployment adds a tape backup of the destination volume. By running a tape backup off the SnapMirror destination volume, you do not subject the heavily user-accessed source volume to the performance degradation, system unavailability, and complexity of a direct tape backup.
A SnapMirror deployment that supports SnapMirror replication over low-bandwidth connections accommodates an initial mirroring between a source and destination volume via physically transported tape. Once the large-sized base Snapshot replication has been carried out, smaller-sized, incremental Snapshot updates can be carried out over the low-bandwidth connection.
A variation on the basic SnapMirror deployment and function involves a writable source volume replicated to multiple read-only destinations. The function of this deployment is to make a uniform set of data available on a read-only basis to users from various locations throughout a network and to allow for updating that data uniformly at regular intervals. See Copying from one destination to another in a series (cascading) for more information.
Note
The cascade deployment is supported for SnapMirror volume replication only. It is not supported for SnapMirror qtree replication.
The SnapMirror feature uses the information in the /etc/snapmirror.conf file and the information you enter via the snapmirror.access option or the /etc/snapmirror.allow file to establish a relationship between a specified source volume or qtree that you want to back up, and the destination volume or qtree where the backup is kept.
The SnapMirror feature does the following:
The result of this process is an online, read-only volume or qtree that contains the same data as the source at the time of the most recent update.
You might want to copy or use the data stored on a SnapMirror destination if you are in any of the situations described in When to copy volumes. The additional advantages of SnapMirror make it useful in other data retrieval situations, as described in the following table.
If you are using SnapDrive software, use SnapMirror to replicate your data. See the SnapDrive Installation and Administration Guide for your version of SnapDrive for more information.
Note
SnapDrive supports the use of volume SnapMirror only. It does not support qtree SnapMirror replication.
If you are using MultiStore software, use SnapMirror to migrate or create a disaster recovery vFilerTM unit. See the MultiStore Management Guide for more information.
The vol copy command and the SnapMirror feature carry out similar functions. They both enable the administrator to copy Snapshot copies of data from a source volume to a destination volume, as long as the volumes are of the same type. When using the vol copy and snapmirror commands, the source and destination volumes must both be traditional volumes or FlexVol volumes. However, these commands differ in several important ways:
You can configure SnapMirror replication for either whole volumes or individual qtrees on a volume.
SnapMirror volume replication has the following characteristics:
Note
See the caution in Prerequisites to running SnapMirror for information about source and destination upgrading order.
SnapMirror qtree replication has the following characteristics:
Note
If the source file system contains a file type that cannot be represented on the destination file system, the replication will fail. For example, Data ONTAP 7.0 supports files up to 16 TB in size, whereas earlier versions of Data ONTAP support files up to 4 TB. If the source system is running Data ONTAP 7.0, the qtree you want to replicate contains a file greater than 4 TB, and the destination system is running an earlier version of Data ONTAP, the replication will fail.
The following are differences between qtree SnapMirror and SnapVault:
A volume SnapMirror, qtree SnapMirror, or SnapVault replication consists of two operations, one operation being on the source side of the transfer and the other operation being on the destination side of the transfer. Therefore, if a storage system is the source of one replication and the destination of another replication, it uses two replication operations. Likewise, if a storage system is the source and destination of the same replication, it uses two replication operations.
The maximum number of simultaneous replication operations that each storage system model can support is shown in the following table.
Storage systems that have any ATA drives, other than NearStore® systems, have half the maximum number of simultaneous replications that the same storage system has using FC drives. The following table lists the maximum number of simultaneous replication operations for storage systems that can use FC drives and ATA drives.
Maximum number of simultaneous operations allowed (FC drives only) |
Maximum number of simultaneous operations allowed (if ATA drives are present) |
|
|---|---|---|
A storage system might not reach the maximum number of simultaneous replication operations for the following reasons:
Note
When planning SnapMirror or SnapVault replications using clusters, take this limitation into consideration.
You have a NearStore system that is the destination of 20 qtree SnapMirror relationships and the source of 5 volume SnapMirror relationships to another storage system. If all the replications occur simultaneously, the NearStore system will have 30 replication operations running concurrently.
If more than the allowed number of SnapMirror volume or qtree replications are scheduled to run at the same time, each additional transfer will generate an error message stating that resource limits have been reached. Each transfer beyond the limit will re-attempt to run once per minute until it succeeds, SnapMirror is turned off, or the update is terminated.
Copyright © 1994-2005, Network Appliance, Inc. All rights
reserved.
Part No. 210-01081_B0
File: mirror2.htm
Last updated: 01-Dec-2005 16:36:03