HP P9000 Command View Advanced Edition Suite Software 7.4.1-00 CLI Reference Guide (TB581-96335, April 2013)

8 Properties file
This chapter describes how to specify options and parameters by using the Device Manager CLI
properties file. This chapter also describes how to change certain properties by entering commands
from the command line.
Overview of the properties file
The Device Manager server URL, command options, and parameters can be set in the properties file.
When these items have been specified in the properties file, you do not need to enter them from the
command line.
The properties file can also contain the log file output and debugging level settings.
The properties file is named hdvmcli.properties and is located in the Device Manager CLI
installation directory.
Below is an example of the properties file (in Windows). The lines that begin with a hash mark (#)
are comment lines.
#################################
#
# Device Manager Command Line Interface (CLI) Properties File
#
# Can be used to provide options and default parameters
# for the Device Manager CLI program.
#
# The Device Manager CLI program does not require
# any of the properties to be set.
# Location for the diagnostics file
# (default, when not specified, is hdvmcli.log
# in the executing directory).
hdvmcli.logfile=C:/Temp/diag.log
# Diagnostic level of the diagnostic file
# (currently, default is INFO).
# Allowable values are DEBUG, INFO, and WARN,
# each of which will output that level and higher.
hdvmcli.diaglevel=INFO
# Location for the message trace file
# (default, when not specified, is MessageTrace.log
# in the executing directory).
hdvmcli.tracefile=C:/DeviceManager/traffic.log
# Set the server url.
hdvmcli.serverurl=http://localhost:2001/service
##### OPTIONS ####
CLI Reference Guide 431