Complete this task to create Global Copy pairs from the local storage
units to the remote storage units. This is the second step in setting up your
Global Mirror environment.
Ensure that you have already created the fibre-channel paths between
all Global Mirror source and target pairs and between the master and subordinate
storage units.
The purpose of this step is to create a relationship between a
source volume and a target volume.
Perform the following steps to create
Global Copy pairs from the local storage units to the remote storage units.
The example commands in this task are shown in two formats. The first format
shows the type of information that the command requires. The second format
provides the command with declared values for the variables.
- Issue the mkpprc command to create a Global Copy pair from
the local storage unit to the remote storage unit and to create a relationship
between the associated source volume and target volume. Enter the mkpprc command
at the dscli command prompt with the following parameters and variables:
dscli>mkpprc -dev storage_imag_ID -remotedev storage_image_ID -type
gcp SourceVolumeID:TargetVolumeID
Exampledscli>mkpprc -dev IBM.1750-68FA120 -remotedev IBM.1750-68FA150 -type gcp
0100:0100
Notes: - The -remotedev parameter specifies the ID of the secondary storage
unit.
- The -type gcp parameter specifies that one or more remote mirror
and copy Global Copy volume relationships be established. Global Copy maintains
the remote mirror and copy relationship in a nonsynchronous manner.
A confirmation message is issued for each successful Global
Copy volume association that is created.
- Issue the lspprc command to check the status information
for each remote mirror and copy volume relationship in the list. Enter the lspprc command
at the dscli command prompt with the following parameters and variables:
dscli>lspprc -dev storage_image_ID -remotedev storage_image_ID
-l SourceVolumeID:TargetVolumeID
Example
dscli>lspprc -dev IBM.2107-68FA120 -remotedev IBM.2107-68FA150 -l 0100:0100
Use the -l parameter to provide a more detailed report about
the Global Copy volume relationships.
It is recommended that you wait until the Global Copy pair process
has completed its first pass before you begin creating the FlashCopy relationships.
Note: Global Copy source volumes are not in the active Global Mirror session
until the volumes have been added to the session and the session has started.