rmsession

The rmsession command closes an existing Global Mirror session.

Read syntax diagramSkip visual syntax diagram
>>-rmsession--+-------------------------+-- -lss--ID--+---------+--+-Session_ID-+-><
              '- -dev--storage_image_ID-'             '- -quiet-'  '-" - "------'   

Parameters

-dev storage_image_ID
(Optional). Specifies the ID of the storage image that contains the logical subsystem. The storage image ID includes manufacturer, machine type, and serial number. This parameter is required if you do not specify a fully qualified LSS ID.
Example: IBM.1750-68FA120
-lss ID
(Required). Specifies the logical subsystem (LSS) ID for the Global Mirror session that is being closed. The format of the LSS ID is a hexadecimal value in the range 00 - 1F (1750 only).
This parameter accepts a fully qualified LSS ID, which includes the storage image ID, or shortened version without the storage image ID if the -dev parameter is specified.
Example of a fully qualified LSS ID: IBM.1750-68FA120/10
-quiet
(Optional). Turns off the confirmation prompt for this command.
Session_ID | -
(Required). Specifies the session ID on which Global Mirror processing is to be closed. A session ID is a hexadecimal number in the range 01 - FF.
If you specify a dash (-), this parameter information is automatically supplied. However, you cannot use the dash (-) if you are using the DS CLI interactive mode.
Example of a session ID: 01

Example (1750)

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

Are you sure you want to close Session ID 01? y/n Y
Global Mirror Session ID 01 closed successfully.
Related reference
mkflash
rmflash
lsflash
setflashrevertible
resyncflash
reverseflash
commitflash
revertflash
unfreezeflash
mkgmir
pausegmir
resumegmir
rmgmir
showgmir
lssession
mksession
chsession
chlss
chlcu
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2004, 2007. All Rights Reserved.