The lssession command displays a list of Global Mirror sessions for a logical subsystem (LSS) and information regarding the volumes of each session in the list.
>>-lssession--+-------------------------+--+-----+--------------> '- -dev--storage_image_ID-' +- -s-+ '- -l-' >--+-LSS_ID-+-------------------------------------------------->< '-" - "--'
For this command and all other DS CLI list commands, the results are shown in table format to provide clarity. The actual reports do not display as tables.
The following tables represent the headers that are displayed on the output report that is associated with the lssession command using the -l parameter. A separate example is not shown for the 1750 because the information is the same for both machine types. The only difference is the machine type designation, 2107 versus 1750.
When you use the -s parameter with the lssession command only 3 ID items are displayed in the resulting report: LSSID, SessionID, and VolumeID. A separate example is shown for this scenario.
dscli>lssession –dev IBM.2107-75FA120 -l 01
Date/Time: Sun Aug 11 02:23:49 PST 2004 IBM DS CLI Version: 5.0.0.0 DS: IBM.2107-75FA120
| LSSID | Session | Status | Volume | Volume |
|---|---|---|---|---|
IBM.2107- |
01 | Normal | IBM.2107- |
Active |
IBM.2107- |
01 | Normal | IBM.2107- |
Active |
IBM.2107- |
01 | Normal | IBM.2107- |
Active |
IBM.2107- |
02 | Normal | IBM.2107- |
Active |
IBM.2107- |
02 | Normal | IBM.2107- |
Remove |
IBM.2107- |
02 | Normal | IBM.2107- |
Join |
Primary |
Secon- |
First- |
Allow- |
|---|---|---|---|
Pri- |
Secon- |
True | Dis- |
Pri- |
Secon- |
True | Dis- |
Pri- |
Secon- |
True | Dis- |
Pri- |
Secon- |
True | Dis- |
Pri- |
Secon- |
True | Dis- |
Pri- |
Secon- |
False | Dis- |
dscli>lssession -s –dev IBM.2107-75FA120 10
Date/Time: Sun Aug 11 02:23:49 PST 2004 IBM DS CLI Version: 5.0.0.0 DS: IBM.2107-75FA120
| LSSID | Session | Volume |
|---|---|---|
| 10 | 01 | 1001 |
| 10 | 01 | 1002 |
| 10 | 01 | 1003 |
| 10 | 02 | 1011 |
| 10 | 02 | 1012 |
| 10 | 02 | 1013 |