Table of ContentsLibraryView in Frames

Specifying destinations using the snapmirror.allow file

You can create a snapmirror.allow file in the /etc/ directory on the source system. You can create entries in the /etc/snapmirror.allow file to specify the destination storage systems that are allowed to copy data directly from the source system. If the snapmirror.access option is set to legacy (the default setting), the snapmirror.allow file defines the access permissions.

Steps

  1. To specify the SnapMirror destinations allowed access to the SnapMirror source using the /etc/snapmirror.allow file, create the snapmirror.allow file in the /etc/directory on the root volume of the source system, using a text editor.

    Note: The file might have been created previously. In such a case, you can proceed to modifying the entries in the file.

  2. Add the name of each storage system that is allowed access, each on a separate line in the /etc/snapmirror.allow file.

    Note: You do not have to add the name of the local system.

  3. Save edits to the file.

Example

If you want SnapMirror to copy data locally on systemA and to other systems named systemB and systemC, add the following entries in the /etc/snapmirror.allow file on systemA.
systemB

systemC

Note: Entries in the /etc/snapmirror.allow file are case-sensitive. You can use the hostname command on the destination systems to find the correct entries for the /etc/snapmirror.allow file.