Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

SnapMirror overview

SnapMirror modes  Top

The Data ONTAP SnapMirror feature enables an administrator to mirror Snapshot images either asynchronously or synchronously:

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.

Reasons for accessing destination volume information  Top

You can access the information on the destination volume or qtree to

The components of SnapMirror  Top

The basic SnapMirror deployment consists of the following components.

Source volumes or qtrees

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.

Destination volumes or qtrees

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.

Source to destination to tape variation  Top

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.

Source to tape to destination variation  Top

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.

Cascading destinations variation  Top

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.

How SnapMirror works  Top

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:

  1. Creates a Snapshot copy of the data on the source volume or qtree
  2. Copies it to the destination, a read-only volume or qtree
  3. Updates the destination to reflect incremental changes on the source, on the schedule you specify

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.

What to use SnapMirror for  Top

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.

Situation

How to use SnapMirror

Disaster recovery

You want to provide immediate access to data after a disaster has made a qtree, volume, or system unavailable.

You can make the destination writable so clients can use the same data that was on the source volume the last time data was copied.

Data restoration

You want to restore lost data on a qtree or volume source from its mirrored qtree or volume SnapMirror partner.

You can temporarily reverse the roles for the source and destination qtrees or volumes and copy the mirrored information back to its source.

Application testing

You want to use an application on a database, but you want to test it on a copy of the database in case the application damages the data.

You can make a copy of the database to be used in the application testing to ensure that the data on the source cannot be lost.

Load balancing

A large number of users need read-only access to a qtree or volume.

You can copy the data in a qtree or volume to multiple volumes or storage systems to distribute the load.

Off-loading tape backups

You need to reserve all processing and networking resources on a storage system for serving NFS and CIFS requests.

After copying data on the source system, you can back up the data in the destination to tape. This means that the source system does not have to allocate resources for performing backups.

Remote access to data

Users who need read access to a volume are distributed over a large geographical area.

You can copy the source volume to other storage systems that are geographically closer to the users. Users accessing a local system can read the data using less resource time than if they connected to a distant system.

Using SnapMirror with SnapDriveTM software  Top

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.

Using SnapMirror with MultiStore® software  Top

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.

Differences between the vol copy command and SnapMirror  Top

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:

Differences between SnapMirror volume replication and qtree replication  Top

You can configure SnapMirror replication for either whole volumes or individual qtrees on a volume.

SnapMirror volume replication

SnapMirror volume replication has the following characteristics:

SnapMirror qtree replication

SnapMirror qtree replication has the following characteristics:

Differences between qtree SnapMirror and SnapVault  Top

The following are differences between qtree SnapMirror and SnapVault:

Maximum number of simultaneous replication operations  Top

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.

Model

Number of simultaneous operations allowed

F85

4

F87

4

F720

4

F740

4

F760

4

F810

8

F820

8

F825

8

F840

16

F880

16

FAS250

4

FAS270

8

FAS920

8

FAS940

16

FAS960

16

FAS980

16

FAS3020

16

FAS3050

16

GF270

8

GF825

8

GF940

16

GF960

16

GF980

16

R100

128

R150

128

R200

128

Storage systems that use ATA drives

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.

Model

Maximum number of simultaneous operations allowed (FC drives only)

Maximum number of simultaneous operations allowed (if ATA drives are present)

FAS920

8

4

FAS940

16

8

FAS960

16

8

FAS3020

16

8

FAS3050

16

8

Factors that might reduce the maximum number of operations

A storage system might not reach the maximum number of simultaneous replication operations for the following reasons:

Example

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.

How transfers beyond the limit are handled

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.

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments