HP StorageWorks Replication Solutions Manager Command Line User Interface Reference (T3687-96029, August 2005)

C:\mydir> clui –u admin –p nimda –h server16:9001 -f report_rsm.txt
0Success
RSM_Version 1.2.157
User: ad min@server16 on server16/22.999.44.9
CLUI Framework Version 1.2.2
0Success
ArrayA1
ArrayA2
ArrayA3
C:\mydir>
Note that you can include the remote client le-driven command in a batch le or script, rather than
typing it on a command line.
Generating a security key
A security key eliminates the nee d for a user to enter the -u user name, -p password,and-h
host switches with each command. Typically, you generate a security key once for each host-user
combination. The encrypted key is saved in the user’s home directory on the host and is automatically
referenced during the current and future sessions.
Open a command window and enter:
clui -g -u admin -p nimda –h server16:9001
C:\mydr>clui -g -u admin -p nimda -h server16:9001
Created Clui Client properties directory at :
C:\Documents and Settings\user/.cluiclient
Created Clui Client key at :
C:\Documents and Settings\user/.cluiclient/clui client.ckf
Created Clui Client encrypted properties at :
C:\Doc uments and Settings\user\.cluiclient/cluiclient.cpf
Key Generation Ending Successfully.
C:\mydr>
Remote client command syntax
This section describes the remote client comm and syntax and switches.
Command sy nopsis
clui [remote-client switches] [clui command]
|-?
|[-b|-c|-r|-t|-x] response modes
|-f {<path and file name>}
|-g
|-h {<host name>}{port}
|-p {<password>}
|-s {<storage system>}
|-u {<user name>}
Description
The remote client command that starts an interactive session, a single-command session, or a le-driven
session to issue a CLUI command.
HP StorageWorks Replication Solutions Manager Command Line User Interface reference
19