Creating FlashCopy relationships (Global Mirror setup)

Complete this task to create FlashCopy® relationships at the remote site between the Global Copy secondary volumes and the FlashCopy target volumes. This is the third step in setting up your Global Mirror environment.

Before you begin

The following tasks must be completed before you can start this step:

  • Ensure that the Fibre Channel paths between all Global Mirror source and target pairs and between the master and subordinate storage systems are created.
  • Ensure that the Global Copy pairs are created between the local storage systems and the remote storage systems.

About this task

The purpose of this task is to create a FlashCopy target for the Global Mirror pairs.

Complete the following steps to create FlashCopy relationships at the remote site between the Global Copy secondary volumes and the FlashCopy target volumes. 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.

Note: Enter the commands that are described in the steps either for a DS8000® model or for a DS6000™ model. The storage image ID for the DS6000 model is different.

Procedure

  1. Enter the mkflash command to create FlashCopy relationships at the remote site between the Global Copy secondary volumes and the FlashCopy target volumes.
    dscli> mkflash -dev storage_image_ID -tgtinhibit -persist -record -nocp 
    sourcevolumeID:targetvolumeID

    Example
    dscli> mkflash -dev IBM.2107-75FA150 -tgtinhibit -record -persist -nocp 
    0001:0004
    Notes:
    1. Specify the storage image ID of the secondary storage system for the -dev storage_image_ID parameter. If the management console has an IP connection to the specified remote site, the command works. If the IP connection is not established, enter the mkremoteflash command with all the same parameters as displayed in the example.
    2. Specify the -tgtinhibit parameter to prevent writes to the target volume.
    3. Specify the -record parameter to activate the change recording function on the volume pair.
    4. Specify the -persist parameter to retain the FlashCopy relationship after the background copy completes.
    5. Specify the -nocp parameter to prevent creating a background copy.

    A confirmation message is generated for each successful FlashCopy pair that is created.

  2. Enter the lsflash command to check the status information for each FlashCopy relationship at the remote site.
    dscli> lsflash -dev storage_image_ID  -l SourceVolumeID:TargetVolumeID

    Example

    dscli> lsflash -dev IBM.2107-75FA150 -l 0100:0100
    
    Use the -l parameter to provide a more detailed report about the FlashCopy relationships.
    Note: If you used the mkremoteflash command, you must enter the lsremoteflash command to run a status check.