HP XP7 Command View Advanced Edition CLI Reference Guide (TK981-96006, May 2014)

To specify the memory heap size of the Device Manager CLI:
1. Calculate the memory heap size required for the GetStorageArray command to obtain
information about all logical units, paths, and LDEVs at the same time.
The following is the formula.
memory-heap-size (megabytes) = number-of-LDEVs x 0.03 +
total-number-of-paths x 0.03 + 140
2. Use method 1 or 2 below to specify the memory heap size.
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. If both methods are used, the value set by method
1 takes precedence.
Method 1:
Use the command prompt or terminal window to set the calculated value for the
HDVM_CLI_MEM_SIZE environment variable.
Method 2:
Use a text editor to open the hdvmcli.bat file or hdvmcli.sh file, and then specify the
calculated value for set HDVM_CLI_MEM_SIZE=.
About configuration for using HTTPS to communicate with the
Device Manager server
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 XP7 Command View
Advanced Edition Administrator Guide.
Configuring the properties file for the Device Manager CLI
If the values necessary for executing the Device Manager CLI, such as the URL of the Device Manager
server and command options, are specified in the properties file, you do not need to enter them from
the command line. You can also specify the log file settings and message trace file settings in the
properties file.
To configure the properties file for the Device Manager CLI:
1. Use a text editor to open the hdvmcli.properties file stored in the Device Manager CLI
installation directory or folder.
2. Specify the properties in the format property=value.
Related topics
Chapter 8, page 529
Preparing to use the Device Manager CLI24