mksession

The mksession command opens a Global Mirror session.

Read syntax diagramSkip visual syntax diagram
>>-mksession--+-------------------------+-- -lss--ID------------>
              '- -dev--storage_image_ID-'              

>--+--------------------------------+--+-Session_ID-+----------><
   '- -volume--volume_ID--+-------+-'  '-" - "------'   
                          '-. . .-'                     

Parameters

-dev storage_image_ID
(Optional). Specifies the storage image ID, which includes manufacturer, type, and serial number. This parameter is required if you do not specify a fully qualified ID for the logical subsystem.
Example: IBM.1750-68FA120
-lss ID
(Required). Creates a Global Mirror session for this logical subsystem. Accepts a fully qualified LSS ID, which includes the storage image ID, or a shortened version without the storage image ID if the -dev parameter is specified. The LSS ID is a hexadecimal number in the range of 00 - 1F (1750 only).
Example of a fully qualified LSS ID: IBM.1750-68FA120/10
-volume volume_ID . . .
(Optional). Specifies an array of one or more volume IDs or a range of volume IDs to be included in the Global Mirror session. All volumes must share a common logical subsystem.
To specify a range of volume IDs, you must separate the volume IDs with a hyphen. To specify a combination of one or more volume IDs and a range of volume IDs, separate the volume IDs and ranges with commas.
Do not qualify the volume ID with the storage image ID. The volume ID is a 32 bit number that can be represented as 4 hexadecimal digits in the form of XYZZ where X is the address group (0 - 1), XY together is the logical subsystem number 00 - 1E (for 1750), and ZZ is the volume number (00 - FF).
Example of a volume ID: 0010
Example of a range of volume IDs: 0010-001F
Example of multiple volume IDs and ranges: 0100-010F,0180-018F,0120
Session_ID | -
(Required). Specifies the session ID for which Global Mirror processing is allowed. A session ID is a hexadecimal number in the range 01 - FF.
If you specify the dash (-), this parameter information is automatically supplied.
Example of a session ID: 01

Example (1750)

Invoking the mksession command
dscli>mksession -dev IBM.1750-68FA120 -lss 10 –volume 1000-100F 01 
The resulting output
Date/Time: Sun Aug 11 02:23:49 PST 2004 IBM DS CLI Version: 5.0.0.0 
DS: IBM.1750-68FA120

Global Mirror session ID 01 successfully opened.
Related reference
mkflash
rmflash
lsflash
setflashrevertible
resyncflash
reverseflash
commitflash
revertflash
unfreezeflash
mkgmir
pausegmir
resumegmir
rmgmir
showgmir
lssession
chsession
rmsession
chlss
chlcu
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2004, 2007. All Rights Reserved.