Table of ContentsView in Frames

Specifying SnapMirror 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 snapmirror.allow file to specify the destination 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. As required, choose one of the actions from the following table.
    If the snapmirror.allow file... Then...
    Does not exist in the /etc/ directory on the root volume of the source system. Create the snapmirror.allow file in the /etc/directory on the root volume of the source system by using a text editor.
    Exists in the /etc/ directory on the root volume of the source system. Go to the next step.
  2. Specify the SnapMirror destinations that can access the SnapMirror source using the snapmirror.allow file. Add the name of each allowed system on a separate line in the snapmirror.allow file.
    Note: You do not need 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.systemBsystemC
Note: Entries in the snapmirror.allow file are case-sensitive. You can use the hostname command on the destination systems to find the correct entries for the snapmirror.allow file.