Library Table of Contents Index Previous Next Comments

Specifying destination filers on the source filer

How to specify destination filers on the source filer  Top

There are two methods of specifying destination filers on the source filer:

Specifying destinations using the snapmirror.access option  Top

To specify the SnapMirror destinations allowed access to the SnapMirror source using the snapmirror.access option, complete the following step.

Step

Action

1

On the source filer, enter the following command:

options snapmirror.access access_specification

The syntax for specifying which filers are allowed access to the server is the same for SNMP, Telnet, and rsh, and is described in the na_protocolaccess(8) man page. For more information about the options command, see the na_options(1) man page.

This option persists across reboots.

Example

If you want SnapMirror to copy data locally on filerA and to another filer named filerB, enter the following at the prompt on filerA:

filerA> options snapmirror.access host=filerA,filerB

Specifying destinations using the snapmirror.allow file  Top

To specify the SnapMirror destinations allowed access to the SnapMirror source using the /etc/snapmirror.allow file, complete the following steps.

Step

Action

1

If the snapmirror.allow file does not already exist, use a text editor to create a file called snapmirror.allow in the /etc directory on the root volume of the source filer.

2

Add the name of each filer to which you are replicating data, on its own line, to the /etc/snapmirror.allow file. You do not have to add the name of the local filer.

3

Save edits to the file.

Example

If you want SnapMirror to copy data locally on filerA and to other filers named filerB and filerC, create a /etc/snapmirror.allow file on filerA with the following lines added:

filerB
filerC

Entries in the /etc/snapmirror.allow file are case-sensitive. You can use the hostname command on the destination filer to find the correct format for each entry in the /etc/snapmirror.allow file.

Resolving host names to their IP addresses  Top

By default, the SnapMirror feature checks host names in the /etc/snapmirror.allow file against the host name sent from the destination filer. Alternatively, you can set SnapMirror to resolve the host names in the /etc/snapmirror.allow file to their IP addresses and compare them with the IP address of the destination filer.

The snapmirror.checkip.enable option controls how the host names are checked. When the option is off, which is the default, the entries in the /etc/snapmirror.allow file must match the host name of the destination filer reported by the hostname command. When the option is on, the source filer resolves the names in the snapmirror.allow file to IP addresses and then checks for a match with the IP address of the requesting destination filer. In this mode, literal IP addresses (for example, 123.45.67.89) and fully qualified names (for example, filerA.acme.com) can be valid entries in the /etc/snapmirror.allow file.

The /etc/snapmirror.allow file entry must map to the IP address of the originating network interface on the destination filer. For example, if the request comes from the IP address of a Gigabit Ethernet interface e10 named filerA-e10, then the /etc/snapmirror.allow file must contain "filerA-e10" or "filerA-e10.acme.com" so the name resolves to the correct IP address.

A local SnapMirror relationship, between two volumes on the same filer, does not require an entry in the /etc/snapmirror.allow file.

To configure SnapMirror to resolve host names to their IP addresses, complete the following step.

Step

Action

1

On the source filer, enter the following command:

options snapmirror.checkip.enable on

Library Table of Contents Index Previous Next Comments