HP P9000 Command View Advanced Edition Suite Software 7.2 CLI Reference Guide

Use the server name set in the Device Manager server certificate as the host name for the Device
Manager server URL.
Use the HTTPS port for the Device Manager server URL (2443, unless configured differently in the
server's configuration file).
Setting the HDVM_CLI_MEM_SIZE environment variable
To ensure successful CLI execution, the HDVM_CLI_MEM_SIZE environment variable must be set to
an appropriate value. The default value is 256 MB. Since this value is specified in bytes, make sure
that you always attach k or K when indicating kilobytes, or m or M when indicating megabytes.
Get commands such as GetStorageArray, GetLogicalGroup, and GetHostInfo might require
more memory due to command parameters assigned.
When you want to use the GetStorageArray command to acquire information about a logical
unit, its path, and its LDEV at the same time, then depending on the number of resources managed
by Device Manager, you need to change the Device Manager CLI memory heap sizes and the Device
Manager server memory heap sizes. To calculate the Device Manager CLI memory heap size, use
the formula below, and then set the value for the HDVM_CLI_MEM_SIZE environment variable. Since
this value is specified in megabytes, make sure you always attach m or M to the value.
Formula:
memory-heap-size = number-of-LDEVs x 0.03 + total-number-of-paths x 0.03 +
140
To set the memory heap size, use either of the methods below. If both methods are used, and two
values are set at the same time, the value set by method 1 takes priority.
For Windows
Method 1: Use the command prompt to set the calculation result for the HDVM_CLI_MEM_SIZE
environment variable.
Method 2: Use a text editor to open the hdvmcli.bat file, and then change the value set for
set HDVM_CLI_MEM_SIZE=.
For Solaris, AIX, Linux, or HP-UX
Method 1: Use a terminal window to set the calculation result for the HDVM_CLI_MEM_SIZE en-
vironment variable.
Method 2: Use a text editor to open the hdvmcli.sh file, and then change the value set for HD-
VM_CLI_MEM_SIZE=.
NOTE:
If the Device Manager server is managing multiple storage systems, CLI memory requirements will
be increased. Be sure to contact your HP Technical Support for further information.
If the value of HDVM_CLI_MEM_SIZE is less than what is required by a CLI command, CLI termin-
ates, and the following error message is displayed:
KAIC90574-E The memory for the CLI became insufficient while this
operation was being performed.
Environment settings22