HP StorageWorks P9000 Tiered Storage Manager Software 7.1.1 CLI Reference Guide (TB585-96014, September 2011)

Setting up SSL communication
For SSL communication with a Tiered Storage Manager server, the CLI needs to have the same
electronic certificate as the server. SSL communications at different security levels require different
electronic certificate content.
To use SSL communication or change security levels for SSL communication:
1. Set up the Tiered Storage Manager server for SSL communication at the desired security level.
2. Download an electronic certificate by using the Web browser on the computer from which the
CLI will be run.
Download the certificate from the following URL:
http://host-name-or-IP-address:port-number/TieredStorageManager/
TieredStorageMangaerCerts
Enter the server.base.port value in the server.properties file for port-number.
3. Set the path and name of the downloaded electronic certificate for the environment variable
HTSM_CLI_CERTS_PATH.
The name of the electronic certificate is TieredStorageManagerCerts. If a path is not
specified, the default is as follows:
Storage directory of the electronic certificate file: directory-where-htsmcli-is-executed
NOTE:
For the electronic certificate, specify a file that you have access permissions for. If you do
not have such permissions, SSL communication will fail because the electronic certificate
will be unreadable.
After completing the above 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 33 and Options common to all CLI commands on page 35.
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>>
Preparations for executing the CLI28