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

Before setting up an environment on the management client, set up secure communication from the
Device Manager server.
If you reconfigure communication security from the Device Manager server, the Device Manager
server certificate is changed. If this occurs, you need to replace the management client certificate.
To set up an environment from the management client that the Device Manager CLI is executed from:
1. Download the DeviceManagerCerts file (the Device Manager server certificate) from the
Device Manager server using your browser:
http://device-manager-server:port-id/service/DeviceManagerCerts
device-manager-server is the Device Manager server's IP address or host name. port-id
is the Device Manager server's port.
2. Store the downloaded file in the Device Manager CLI installation directory. The installation
directory is the directory where the Device Manager CLI has been installed. The installation
directory contains the hdvmcli.bat file in a Windows system, or the hdvmcli.sh file in a
Solaris, AIX, Linux, or HP-UX system.
Use the file name DeviceManagerCerts.
3. Set the path name of the DeviceManagerCerts file in the HDVM_CLI_CERTS_PATH environment
variable.
In Windows:
device-manager-cli-installation-folder\DeviceManagerCerts
In Solaris, AIX, Linux, or HP-UX:
device-manager-cli-installation-directory/DeviceManagerCerts
4. In AIX, specify the settings so that JSSE can be used in the JRE.
Add the following line to the JRE-installation-directory/lib/security/
java.security file:
ssl.SocketFactory.provider=com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl
The following shows examples of executing a Device Manager CLI command via HTTPS. For example,
the input below executes the GetServerInfo command:
In Windows:
> hdvmcli.bat -s https://device-manager-server-host-name:2443/service GetServerInfo
In Solaris, AIX, Linux, or HP-UX:
# ./hdvmcli.sh -s https://device-manager-server-host-name:2443/service GetServerInfo
Observe the following guidelines:
Use the -s (or --secure) option.
Use the HTTPS protocol for the Device Manager server URL.
CLI Reference Guide 21