IBM DS6000 Computer Drive User Manual


 
Chapter 26. Global Mirror examples 395
drain - Specifies the maximum Consistency Group drain time in seconds, and is the
maximum amount of time that the consistent set of data is allowed to drain to the remote
site before failing the current Consistency Group formation. The default is 30 seconds.
For a detailed discussion, see 22.4, “Consistency Groups” on page 260.
The command in Example 26-54 starts the session and the actual Consistency Group
creation process. It uses the default session parameters.
Example 26-54 mkgmir
dscli mkgmir -lss 65 -session 01 -cfg $DSCLI/profile/DS-01.profile
Date/Time: June 14, 2005 3:30:33 PM EDT IBM DSCLI Version: 5.0.3.134 DS: IBM.2107-7506551
CMUC00162I mkgmir: Global Mirror for session 01 successfully started.
To list a Global Mirror session, use the command showgmir as described in 26.11.5, “Query
Global Mirror session information” on page 397.
26.11 Control and Query Global Mirror with the DS CLI
This section lists the commands you use to control and query the Global Mirror environment.
26.11.1 Query status of the paths
To query the status of the paths use the DS CLI command lspprcpath:
dscli lspprcpath <Source_LSS_ID> -cfg <Source device configuration file>
Listing the path information for source LSS 65 in the storage disk subsystem at site 1, we
have the result shown in Example 26-55.
Example 26-55 lspprcpath for LSS 65
dscli lspprcpath 65 -cfg $DSCLI/profile/DS-01.profile
Date/Time: June 14, 2005 3:26:29 PM EDT IBM DSCLI Version: 5.0.3.134 DS: IBM.2107-7506551
Src Tgt State SS Port Attached Port
========================================
65 65 Success FF65 I0100 I0040
65 65 Success FF65 I0101 I0110
26.11.2 Query Global Copy pairs
Use the lspprc command to display the list of Global Copy volume relationships with the
corresponding status information. The syntax of the lspprc command is as follows:
dscli lspprc -cfg <Source device configuration file>
<Source_Volume>:<Target_Volume> <Source_Volume>:<Target_Volume> ...
or
dscli lspprc -l -cfg <Source device configuration file> <Source_Volume>
<Source_Volume> ...
dscli lspprc -l -cfg <target device configuration file> <Target_Volume>
<Target_Volume> ...