You set up a synchronous SnapMirror operation the same way you set up an asynchronous SnapMirror operation with one exception: the snapmirror.conf file on the destination filer defines the relationship as synchronous rather than defining a schedule for transfers.
The following sections describe setting up a synchronous SnapMirror:
To set up a basic Synchronous SnapMirror operation, complete the following steps.
Note
This procedure assumes you understand basic SnapMirror setup. See Setting up a basic SnapMirror operation for a details.
If you have an asynchronous SnapMirror relationship and you want to convert it to a synchronous SnapMirror relationship, complete the following step.
You might need more than one physical path for a synchronous mirror. Synchronous SnapMirror supports up to two paths for a particular SnapMirror relationship. The paths can be Ethernet, Fibre Channel, or a combination of Ethernet and Fibre Channel. The two paths can be used in one of two modes:
Note
Asynchronous SnapMirror does not support multiple paths.
To implement multiple paths between the source filer and destination filer, complete the following steps.
| 1 | Ensure that you have two valid paths using the ping command from the source filer to each of the IP addresses on the destination filer. ExampleThe IP addresses on the destination filer are 10.10.10.23 and 10.10.10.24. source> ping 10.10.10.24 10.10.10.24 is alive source> ping 10.10.10.23 10.10.10.23 is alive |
|
| 2 | ||
Follow the steps shown in Setting up a basic Synchronous SnapMirror operation, substituting the snapmirror.conf step of that procedure (Step 3) with Step 3 and Step 4 of this procedure. |
||
| 3 | On the administration host, edit the snapmirror.conf file on the destination filer to add a connection name line that defines the mode of the connection and what the two connections are. The format of the line follows: name = mode (src_filer1, dest_filer1) (src_filer2, dest_filer2) mode is either multi or failover. See the na_snapmirror.conf(5) man page for details. |
|
| 4 | In the same snapmirror.conf file, edit the schedule entry to reflect the new connection name as the source filer. |
|
You want to synchronously mirror volume vol1 on a filer called NYC to volume vol1 on a filer called Newark. To satisfy a business requirement that there be two paths between each synchronously mirrored volume, you have four network interface cards, two in each filer. You named the two interfaces on the NYC filer NYC-pri and NYC-sec and the two on the Newark filer Newark-pri and Newark-sec. To implement multiple paths in failover mode, you edit the snapmirror.conf file on Newark to include the following two lines:
NYC-Newark = failover (NYC-pri, Newark-pri) (NYC-sec, Newark-sec)
NYC-Newark:vol1 Newark:vol1 - sync
If NYC-pri and Newark-pri are Fibre Channel adapters and you want to replicate data using both connections, you follow the procedure to configure Fibre Channel adapters for SnapMirror. See Configuring for Fibre Channel use. Then you edit the snapmirror.conf file on Newark to include the following two lines to implement multiple paths in multiplexing mode:
NYC-Newark = multi (NYC-pri, Newark-pri) (NYC-sec, Newark-sec)
NYC-Newark:vol1 Newark:vol1 - sync
Copyright © 1994-2003, Network Appliance, Inc. All rights
reserved.
Part No. 210-00476
File: mirror27.htm
Last updated: 11/13/03 17:17:26