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

To install the Device Manager CLI:
1. Download the Device Manager CLI file from the P9000 Command View AE Suite GUI.
2. Copy the downloaded file to the computer on which the CLI is to be installed.
3. Decompress the copied file.
4. Configure the execution environment and the properties file.
Related topics
Setting up a Java environment, page 22
Configuring the properties file for the Device Manager CLI, page 24
Java environment settings
To use the Device Manager CLI, you need to set up a Java environment. To set up the Java environment
for the Device Manager CLI, confirm that a Java version supported by the Device Manager CLI is
installed on the computer that is to run the Device Manager CLI. Then, specify a JRE that is appropriate
for the Device Manager CLI execution environment.
You can use either of the following methods to specify a JRE:
Specify a JRE by using the HDVM_CLI_JRE_PATH environment variable (recommended)
Specify a JRE by using the PATH environment variable
You can specify the following types of JRE:
A different JRE from the one used on the Device Manager server (Oracle JRE)
The same JRE as the one used on the Device Manager server (the JRE included in the P9000
Command View AE Suite product, or Oracle JRE)
The JRE included in the P9000 Command View AE Suite is stored in the following location.
In Windows:
Common-Component-installation-folder\jdk\jre\bin
In Linux:
Common-Component-installation-directory/jdk/jre/bin
If you do not know the HP P9000 Command View Advanced Edition Suite Common Component
(abbreviated hereafter as Common Component) installation directory or folder, in the server.prop-
erties properties file on the Device Manager server, check the server.base.home property.
CAUTION:
When using HTTPS for communication with the Device Manager server, you cannot specify the JRE
that is included in the P9000 Command View AE Suite product.
Setting up a Java environment
The following section also explains the recommended settings for a Java environment.
Operations to complete in advance
Check the Java versions that are supported by the Device Manager CLI.
Preparing to use the Device Manager CLI22