HP P9000 Command View Advanced Edition Suite Software 7.3.1-00 CLI Reference Guide

Setting up HTTPS communication
To use HTTPS to communicate with the Device Manager server, you need to set up an environment
on Device Manager server and the management client that executes the Device Manager CLI. For
details about how to specify the security communication settings, see the HP P9000 Command View
Advanced Edition Suite Software Administrator Guide.
For details about examples of executing commands using HTTPS, see Executing the Device Manager
CLI by using HTTPS on page 29.
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=.
CLI Reference Guide 23