HP XP7 Tiered Storage Manager CLI Reference Guide (TK985-96002, May 2014)

For details about how to specify the security communication settings, see the HP XP7 Command View
Advanced Edition Administrator Guide.
After completing the environment settings, for the arguments in the CLI command (server-location
and options), specify the values for using SSL communication and execute the command. For details
about the arguments relating to SSL communication in the CLI command, see Description of the CLI
command elements on page 29 and Options common to all CLI commands on page 31.
Allocating memory
In order to execute CLI commands, you need to first specify an appropriate maximum value for the
memory size. The amount of memory that can be allocated is set using the HTSM_CLI_MEM_SIZE
environment variable.
For the maximum memory size value, specify at least 150 MB. The default is set to 256M, meaning
that 256 MB is reserved. However, HP recommends that you use the default of 256 MB.
The default unit for this value is bytes. To specify kilobytes, add k or K. To specify megabytes, add
m or M.
If the amount of memory set for HTSM_CLI_MEM_SIZE is not enough for CLI execution, the CLI will
display the following error message, and then terminate:
A java.lang.OutOfMemoryError exception occurred in the main thread.
<<No stack trace is available>>
If the above error occurs, increase the value of HTSM_CLI_MEM_SIZE, and then execute the CLI
again.
Setting up the language type of the CLI to be run on the management client
HP recommends that you set the CLI's language type to match the server's locale.
HP recommends this because when you operate the CLI on a management client, the language of the
information received from the Tiered Storage Manager server depends on the locale of the Tiered
Storage Manager server. The language of the information output by the CLI, such as messages and
trace information, depends on the locale of the client on which the CLI is running.
When you operate the CLI on the management server, the language used for outputting information
is the same, because the locale for the CLI and the locale for the Tiered Storage Manager server are
the same.
Preparations for executing the CLI26