HP StorageWorks P9000 Tiered Storage Manager Software 7.1 CLI Reference Guide (TB585-96011, May 2011)

Options common to all CLI commands
There are two kinds of options: those used for all CLI commands, and those used for only some CLI
commands. This subsection describes the options used for all CLI commands.
If an argument needs to be specified after an option, specify the argument as a single character string.
Arguments that contain spaces should be enclosed in quotation marks, or whatever is appropriate
for the command execution environment. For example:
--output "C:\My Documents\redirect.txt"
The following table lists options common to all commands.
Table 3 Options common to all CLI commands
DescriptionOption argumentOption
Specify the user name used to log on to the Tiered Storage
Manager server.
If a user name is not specified in the
htsmcli.properties file or from the command line, an
error occurs.
user-name
-u or
--username
Specify the password corresponding to the user name.
#1,
#2
You can either specify the password directly, or specify
a file that contains the password.
When specifying a file name for an argument, specify
a name that begins with the at sign (@).The string in the
first line of the specified text file is assumed to be the
password. For the file name, specify either an absolute
path, or a relative path from the directory from which
the CLI command is executed.
If incorrect passwords are entered and the number of
login failures reaches the defined limit, the Tiered Stor-
age Manager server will lock the user account.
#3
password or @name-
of-password-file
-p or
--password
Specify the name of the redirect file to which the standard
output is to be output.
Specify this to redirect the execution results of a CLI
command to the specified file, instead of the console.
For the file name, specify either an absolute path, or a
relative path from the directory from which the CLI
command is executed.
name-of-the-stand-
ard-output-redir-
ect-file
#4
-o or
--output
Specify this option for SSL communication between the
Tiered Storage Manager server and the CLI.
Various settings must be changed to use SSL communication.
For details about how to set this option, see Setting up SSL
communication on page 28.
No arguments
-s or
--secure
#1
CLI Reference Guide 35