HP P6000 Replication Solutions Manager CLI Reference (T3680-96071, June 2012)

Windows
To direct successful output to a file called out.log and failure output to a file called err.log,
use the following syntax:
.\clui.cmd "some command" 1>out.log 2>err.log
To direct all output (success and failure) to out.log, use the following syntax:
.\clui.cmd "some command" 1>out.log 2>&1
Using a Telnet session
CLUI functionality is automatically installed with the replication manager software on the
management server. You can access the CLUI from Telnet from any computer that has Telnet
capability and a LAN connection to the replication manager. You must have a replication manager
user account and password to log on.
1. Open a command window.
2. Enter telnet <management server name> <port number>.
The default port number is 9000.
3. Press Enter.
A login prompt appears.
4. Log in with the HP Replication Solutions Manager user name and password.
The CLUI command prompt (>) appears.
5. Enter a CLUI command, and then press Enter.
The command is processed and results are displayed in the command window. Note that
certain commands can take some time to return a result.
6. To end the session and log off, enter exit, and then press Enter.
Using a user-written client
You can create a user-written client to access the CLUI. If you create a client, it must provide user
authentication and issue valid commands. You can use Perl, Java, or other programming languages
to create a client. You can use the standard Telnet configured port (9000 by default) to connect
with a standard socket connection, using the LOGIN command as the initial command. The secure
sockets layer (SSL) is accessed with an anonymous SSL socket using the same login method. For
examples, see “User-written client examples” (page 48).
Using a Telnet session 15