Table of ContentsLibraryView in Frames

Converting a single-path SnapMirror relationship to use multiple paths

You can set up SnapMirror to use multiple paths at the outset. You can also convert a single-path SnapMirror relationship to use multiple paths.

Steps

  1. Ensure that you have two valid paths using the ping command from the source system to each of the IP addresses on the destination system.

    Example

    The IP addresses on the destination system are 10.10.10.24 and 10.10.11.24.

    source> ping 10.10.10.24
    10.10.10.24 is alive
    
    source> ping 10.10.11.24
    10.10.11.24 is alive

  2. On the administration host, edit the snapmirror.conf file on the destination system to add a connection line that defines the mode of the connection and what the two connections are. The format of the line is as follows: name = mode (src_system1,dest_system1) (src_system2,dest_system2)

    mode is either multi or failover. See the na_snapmirror.conf(5) man page for details.

  3. In the same snapmirror.conf file, edit the schedule entry to reflect the new connection name as the source system.

    Note: Multiple paths are supported by SnapMirror running asynchronously and synchronously. The following are examples of implementing multiple paths using synchronous SnapMirror.

    Example

    You want to synchronously mirror volume vol1 on a storage system called NYC to volume vol1 on a storage system 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 system. You named the two interfaces on the NYC system NYC-pri and NYC-sec and the two on the Newark system 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

    Example

    If NYC-pri and Newark-pri are Fibre Channel NIC adapters and you want to replicate data using both connections, you follow the procedure to configure Fibre Channel NIC adapters for SnapMirror. 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