HP StorageWorks P9000 Command View Advanced Edition Suite Software 7.1 CLI Reference Guide (TB581-96051, May 2011)

When using the same JRE as the Device Manager server
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.
NOTE:
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.
Executing Device Manager CLI commands via HTTPS
To use HTTPS to connect from the Device Manager CLI to the Device Manager server, environment
settings must be performed on the management client for executing the Device Manager CLI.
Device Manager CLI environment settings20