HP P9000 Tiered Storage Manager Software 7.4.1-00 CLI Reference Guide (TB585-96029, April 2013)

Preparations after setup
This section explains the preparations that must be performed to execute the CLI commands after you
have set up the CLI.
Setting up the htsmcli.properties file
Each time you execute the CLI, you need to enter the server location, user name, password, and
whether to use SSL communication. In order to skip this step, you can specify the server location and
common options in the htsmcli.properties file in advance.
For details on CLI command arguments, options, and parameter formats, see CLI command
syntax on page 29.
For details on the default storage location of the htsmcli.properties file, see Overview of
property files for the CLI on page 171. For setting examples for the htsmcli.properties file, see
Specifying options and parameters in the htsmcli.properties file on page 172.
Specifying HTSM_CLI_HOME
HTSM_CLI_HOME is an environment variable used to inform the CLI of the location of the
htsmcli.properties file. The htsmcli.properties file can be stored anywhere, but to use
it, you need to set the path to it in the HTSM_CLI_HOME environment variable.
If you are using a Windows environment, note the following points:
Do not enclose the path in single or double quotation marks (' or ").
(Example of an invalid specification: "C:\TieredStorageManager\Tiered-Storage-
Manager-version\CLI")
Do not specify a backslash (\) at the end of the path.
(Example of an invalid specification: C:\TieredStorageManager\Tiered-Storage-Man-
ager-version\CLI\)
Do not specify a directory that is directly under the root of a drive.
(Example of an invalid specification: C:\)
Encoding the password in the property file or password file
Specify a password in the htsmcli.properties file or password file to omit entering the password
when using the CLI. You can specify a plain text password in the htsmcli.properties file or
password file. However, HP recommends that you use the htsmaccount command to encode the
password for better security.
Environment settings for encoding a password
You can select either the NORMAL or HIGH encoding security level for encoding passwords. If you
encode a password in the NORMAL level, environment settings are not required. For details about
how to change the encoding level to HIGH for generating a safer and more secure character string,
see the HP P9000 Command View Advanced Edition Suite Software Administrator Guide.
CLI Reference Guide 23