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

After the command completes, you do not need to specify the password when using the Device
Manager CLI. After executing the hdvmaccount command, use the GetServerInfo or
GetStorageArray command to make sure that the password is correctly set.
Using the properties file to specify parameters
Command parameters can be specified from the command line or in the properties file. When they
have been specified in the properties file, you do not need to specify them from the command line.
If you specify parameters from the command line when they have been specified in the properties
file, the values of the parameters specified from the command line have precedence.
When you specify parameters in the properties file, use the format shown in the following example:
serialnum=30057
model=XP512
NOTE:
In the properties file, specify only parameters that are applicable to a given command. If the file
contains a parameter that is not applicable for the command, the execution results of the command
might not be the expected results. For this reason, make sure that you only specify parameters that
do not cause problems to any other commands.
Setting up the execution environment
This section describes how to set up the Device Manager CLI execution environment.
Specifying the log file
The default file name of the log file used by the Device Manager CLI is hdvmcli.log. This file is
created in the Device Manager CLI execution directory or folder. You can specify a default file name,
log output destination, log level, and so on. Specify the log output destination in the
hdvmcli.logfile property in the properties file. In the following example, the command specifies
C:\Temp\diag.log for the output destination.
hdvmcli.logfile=C:/Temp/diag.log
NOTE:
In a Windows environment, when setting a path to a property, use / or \\ instead of \ as a delimiter.
Specifying a log level
You can use hdvmcli.diaglevel to specify the level of log information to be output to the log file.
Specify the log level as follows:
Debugging
Properties file404