beautypg.com

2-3 when upgrading the device manager, 3 executing device manager cli commands over https – HP XP Command View Advanced Edition Software User Manual

Page 34

background image




Setting up command line interface



34

If you do not know the installation directory for the Common Component, you can check the
directory in the server.base.home property of the server.properties file for the Device
Manager server. For details about the property file, see the HP StorageWorks XP Command View
Advanced Edition software Device Manager server installation and configuration guide.

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 (\).

2-2-3 When upgrading the Device Manager

When upgrading the Device Manager, the version of Java that the Device Manager CLI or the
Device Manager server supports may 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 under the following conditions:

The Device Manager CLI is downloaded from the web client and used.

The path of the JRE that the Device Manager server uses is configured to the environment
variable HDVM_CLI_JRE_PATH.

Under these conditions, the JRE that the Device Manager server uses is updated when the Device
Manager is upgraded. The JRE version configured to the environment variable
HDVM_CLI_JRE_PATH

is also updated. However, if the Device Manager CLI (that was downloaded

from the web client) is being used, the Device Manager CLI is not upgraded when the Device
Manager is upgraded. Therefore, the Device Manager CLI may not support the new JRE version.

If the updated JRE version is not supported by the version of the Device Manager CLI that you want
to use, take either of the following actions:

Download the latest version of the Device Manager CLI from the web client (recommended).

Prepare another JRE that is supported by the downloaded version of Device Manager CLI,
and then configure that JRE to the environment variable HDVM_CLI_JRE_PATH.

2-3 Executing Device Manager CLI commands

over HTTPS

If you want to execute the Device Manager CLI commands from the Device Manager server over
HTTPS, you must set up the environment appropriately.

To set up the environment for executing Device Manager CLI commands over HTTPS:

1.

Download the DeviceManagerCerts file from the Device Manager server at the following
URL:

http://device-manager-server:port-id/service/DeviceManagerCerts

NOTE:

indicates the server's IP address or host name.

2.

Store the downloaded file in the installation directory of the Device Manager CLI. The
installation directory is the directory where the Device Manager CLI is installed. The installation
directory contains the hdvmcli.bat file in a Windows system, or the hdvmcli.sh file in a
Solaris, Linux or HP-UX system.

NOTE:

Use the file name DeviceManagerCerts.

3.

Set the path name of the DeviceManagerCerts file in the HDVM_CLI_CERTS_PATH
environment variable.

In Windows: