Creating the Global Mirror session

Complete this task to create a Global Mirror session. This is the fourth step in setting up your Global Mirror environment. After you complete this step you are ready to start Global Mirror processing.

Before you begin

The following tasks must be completed before you can proceed with this step.

  • Ensure that the Fibre Channel paths between all Global Mirror source and target pairs and between the master and subordinate storage systems have been created.
  • Ensure that the Global Copy pairs have been created between the local storage systems and the remote storage systems.
  • Ensure that the FlashCopy® relationships at the remote site between the Global Copy secondary volumes and the FlashCopy target volumes have been created.

About this task

The purpose of this step is to create a container that associates volumes with a Global Mirror session.

Complete the following steps to create the Global Mirror session. 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: You can enter the commands that are described in the steps either for aDS8000 model or for a DS6000 model, but for the DS6000 model, the storage image ID is different.

Procedure

  1. Issue the mksession command to create the Global Mirror session. Enter the mksession command at the dscli command prompt using the following parameters and variables:

    dscli>mksession -dev storage_image_ID -lss LSS_ID -volume volume_ID Session_ID

    Example

    dscli> mksession -dev IBM.2107-75FA120 -lss 10 -volume 0800-0810 01
  2. Repeat Step 1 for each LSS.

    You must make a session for each LSS. However, you can associate each LSS with the same session. For example: You have LSS 08 and it contains volumes 0800 - 0810. You create a session and assign it to session 08. You also have LSS 09 and it contains volumes 0900 - 0910. You create a session and assign it to session 08. When you start Global Mirror processing, the volumes for LSS 8 and LSS 9 are processed in the same session (session 08).