IBM DS6000 Computer Drive User Manual


 
Chapter 26. Global Mirror examples 397
Example 26-58 lssession command (volumes not in session)
dscli lssession 65 -cfg $DSCLI/profile/DS-01.profile
Date/Time: June 14, 2005 3:30:10 PM EDT IBM DSCLI Version: 5.0.3.134 DS: IBM.2107-7506551
LSS ID Session Status Volume VolumeStatus PrimaryStatus SecondaryStatus FirstPassComplete AllowCascading
=================================================================================================================
65 01 Normal 6501 Join Pending Primary Copy Pending Secondary Simplex True Disable
65 01 Normal 6500 Join Pending Primary Copy Pending Secondary Simplex True Disable
Or we can get the result shown in Example 26-59. Note that the status of the volumes is now
active and no longer join pending.
Example 26-59 lssession command (volumes in session)
dscli lssession 65 -cfg $DSCLI/profile/DS-01.profile
Date/Time: June 14, 2005 4:47:50 PM EDT IBM DSCLI Version: 5.0.3.134 DS: IBM.2107-7506551
LSS ID Session Status Volume VolumeStatus PrimaryStatus SecondaryStatus FirstPassComplete
AllowCascading
========================================================================================================================
67 01 CG In Progress 6701 Active Primary Copy Pending Secondary Simplex True Disable
67 01 CG In Progress 6700 Active Primary Copy Pending Secondary Simplex True Disable
26.11.5 Query Global Mirror session information
The showgmir command displays detailed properties and performance metrics for the Global
Mirror operations associated with a specified LSS. This command has the following syntax:
dscli showgmir -metrics <Master_LSS_ID> -cfg <Master device configuration file>
If we ask for Global Mirror session information for the Master storage image, and there are no
Subordinates, we see the result shown in Example 26-60.
Example 26-60 showgmir of running session with Master only
dscli showgmir 65 -cfg $DSCLI/profile/DS-01.profile
Date/Time: June 14, 2005 3:30:57 PM EDT IBM DSCLI Version: 5.0.3.134 DS: IBM.2107-7506551
ID IBM.2107-7506551/65
Master Count 1
Master Session ID 0x01
Copy State Running
Fatal Reason Not Fatal
CG Interval (seconds) 0
XDC Interval(milliseconds) 50
CG Drain Time (seconds) 30
Current Time 06/14/2005 15:34:17 EDT
CG Time 06/14/2005 15:34:17 EDT
Successful CG Percentage 100
FlashCopy Sequence Number 0x42AF3139
Master ID IBM.2107-7506551
Subordinate Count 0
Master SSID -
Subordinate SSID -
If there was the Master and one Subordinate in the running Global Mirror session, we would
see the results shown in Example 26-61.
Note: The option metrics is used to display performance statistics.