rmsession
The rmsession command closes an existing Global Mirror session.
Parameters
- -dev storage_image_ID
- (Optional) The storage image ID, which includes manufacturer, machine type, and serial number. The storage image ID is required if you do not specify a fully qualified LSS ID, do not set the devid variable in your profile or through the setenv command, and the HMC is aware of more than one storage image. Using the -dev parameter will temporarily override any defined value for devid for the current command.
- -lss ID
- (Required) 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 - FE.
- -quiet
- (Optional) Turns off the end Global Mirror session confirmation prompt for this command.
- Session_ID | -
- (Required) The session ID on which Global Mirror processing is to be closed. A session ID is a hexadecimal number in the range 01 - FF.
Example: Closing an existing Global Mirror session
dscli> rmsession -dev IBM.2107-75FA120 -lss 10 01
Output
Are you sure you want to close Session ID 01? y/n Y Global Mirror Session ID 01 closed successfully.