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

NOTE:
If you use the Device Manager CLI on the same computer as the Device Manager server, HP
recommends that you specify the same JRE that the Device Manager server uses (the JRE provided
with HP P9000 Command View Advanced Edition Suite). However, when HTTPS is used to communicate
with the Device Manager server, you cannot use the same JRE that the Device Manager server uses.
In this case, prepare another JRE that is supported by the Device Manager CLI and configure a Java
environment.
When the Device Manager CLI uses the same JRE as the Device Manager server, specify the path of
that JRE in the HDVM_CLI_JRE_PATH environment variable. The HP P9000 Command View Advanced
Edition Suite Common Component (abbreviated hereafter as Common Component) installation directory
is included in the JRE path. The JRE path is as follows:
In Windows:
Common-Component-installation-folder\jdk\jre\bin
In Solaris and Linux:
Common-Component-installation-directory/jdk/jre/bin
If you do not know the installation directory for Common Component, you can check the directory in
the server.base.home property of the Device Manager server server.properties file. A
forward slash (/) is used as a delimiter for directories in the server.base.home property. Therefore,
when you set the JRE path in the HDVM_CLI_JRE_PATH environment variable in Windows, change
a forward slash (/) to a backslash (\).
When upgrading Device Manager
When upgrading Device Manager, the version of Java that the Device Manager CLI or the Device
Manager server supports might be updated.
If the Java version has been updated, check the JRE version that is currently configured, and then, if
necessary, change the JRE settings. You have to be especially careful when the Device Manager CLI
is used in the following environment:
The Device Manager CLI is downloaded from the GUI and being used
The path of the JRE that the Device Manager server uses has been set in the HDVM_CLI_JRE_PATH
environment variable.
If the above conditions are satisfied, the JRE that the Device Manager server uses is updated when
Device Manager is upgraded. At the same time, the JRE version set in the HDVM_CLI_JRE_PATH
environment variable is also updated. However, if the Device Manager CLI (that was downloaded
from the GUI) is being used, the Device Manager CLI will not be upgraded even if Device Manager
is upgraded. Therefore, the Device Manager CLI might not support the new JRE version.
If the updated JRE version is not supported by the Device Manager CLI version that you are using,
take either of the following actions:
Download the latest Device Manager CLI version from the GUI (recommended)
Prepare another JRE that is supported by the Device Manager CLI version being used, and then
set that JRE for the HDVM_CLI_JRE_PATH environment variable.
Environment settings22