There are two methods of specifying destination systems on the source system:
If the snapmirror.access option is set to legacy (the default setting), the snapmirror.allow file defines the access permissions.
To specify the SnapMirror destinations allowed access to the SnapMirror source using the snapmirror.access option, complete the following step.
If you want SnapMirror to copy data locally on systemA and to another system named systemB, enter the following at the prompt on systemA:
systemA> options snapmirror.access host=systemA,systemB
To specify the SnapMirror destinations allowed access to the SnapMirror source using the /etc/snapmirror.allow file, complete the following steps.
If you want SnapMirror to copy data locally on systemA and to other systems named systemB and systemC, create a /etc/snapmirror.allow file on systemA with the following lines added:
systemB
systemC
Entries in the /etc/snapmirror.allow file are case-sensitive. You can use the hostname command on the destination system to find the correct format for each entry in the /etc/snapmirror.allow file.
By default, the SnapMirror feature checks host names in the /etc/snapmirror.allow file against the host name sent from the destination system. 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 system.
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 system reported by the hostname command. When the option is on, the source system 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 system. In this mode, literal IP addresses (for example, 123.45.67.89) and fully qualified names (for example, systemA.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 system. For example, if the request comes from the IP address of a Gigabit Ethernet interface e10 named systemA-e10, then the /etc/snapmirror.allow file must contain "systemA-e10" or "systemA-e10.acme.com" so the name resolves to the correct IP address.
A local SnapMirror relationship, between two volumes on the same storage system, 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.
| 1 |
On the source system, enter the following command: options snapmirror.checkip.enable on |
Copyright © 1994-2005, Network Appliance, Inc. All rights
reserved.
Part No. 210-01081_B0
File: mirror8.htm
Last updated: 01-Dec-2005 16:36:03