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

Install the Oracle JRE.
To set up a Java environment (recommended settings):
For the HDVM_CLI_JRE_PATH environment variable, specify the path to a different JRE from the
one used on the Device Manager server.
If you use the JRE that is being used on the Device Manager server, the JRE might unexpectedly
be updated to a version not supported by the Device Manager CLI. This could happen when
Java on the Device Manager server is updated, or when Device Manager is upgraded.
TIP:
You can also use the PATH environment to specify the JRE path. In this case, note the following:
- Do not specify a JRE included in a P9000 Command View AE Suite product.
- Operations of other applications that use Java might be affected.
- In an environment in which the JRE is automatically updated, the JRE version might unexpectedly
be updated to a version not supported by the Device Manager CLI.
Related topics
Java environment settings, page 22
Changing the memory heap size of the Device Manager CLI
To ensure successful execution of the Device Manager CLI, specify an appropriate memory heap size
in the HDVM_CLI_MEM_SIZE environment variable.
By default, the memory heap size of the Device Manager CLI is set to 256 MB. In large-scale storage
systems, using Get commands such as GetStorageArray, GetLogicalGroup, and GetHostInfo
might require more memory than the default value. In such a case, you need to set an appropriate
memory heap size for the Device Manager CLI and Device Manager server in advance. If the amount
of memory used for a command exceeds the specified memory heap size, error message
KAIC90574-E is displayed, and the Device Manager CLI terminates.
Choose the memory heap size to be used by the Device Manager CLI by calculating the memory
heap size required for the GetStorageArray command to obtain information about all logical
units, paths, and LDEVs at the same time. For details about the memory heap size required for the
Device Manager server, see the HP P9000 Command View Advanced Edition Suite Software
Administrator Guide.
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
CLI Reference Guide 23