Hp XP Command View Advanced Edition Software Manuel d'utilisateur Page 294

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 318
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 293
Using the Device Manager properties file
294
The following example specifies C:\Temp\diag.log for the output destination:
hdvmcli.logfile=C:/Temp/diag.log
NOTE: In a Windows environment, use / or \\ instead of \ as a delimiter.
5-4-2 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: hdvmcli.diaglevel=DEBUG
Information: hdvmcli.diaglevel=INFO
Warnings: hdvmcli.diaglevel=WARN
Errors: hdvmcli.diaglevel=ERROR
NOTE: You can set the hdvmcli.diaglevel property to DEBUG, INFO, WARN, or ERROR. The
default logging level is INFO.
5-4-3 Message trace output
You can use the –t or --messagetrace option to record the requests sent to the Device
Manager server and the responses received back from the Device Manager server. By default, the
messages are recorded in the MessageTrace.log file. You can also turn on message trace and
specify the location of the log file in the properties file.
For example, you could specify the log file location and turn on message trace in the property file as
follows:
hdvmcli.tracefile=C:/DeviceManager/traffic.log
messagetrace=true
For more information on Device Manager properties, see the HP StorageWorks XP Command View
Advanced Edition software Device Manager server installation and configuration guide.
5-4-4 Specifying the Device Manager server URL
Because the same Device Manager server may be used repeatedly, the URL can be specified in the
properties file. The hdvmcli.serverurl property can specify the following URL:
hdvmcli.serverurl=http://localhost:2001/service
For details about specifying the URL, see section
3-1 .
When the URL is defined in the properties file, it can be omitted from the command line. For
example:
C:\hdvm > hdvmcli GetStorageArray serialnum=30057 model=XP512
When the URL is also specified in the command line, that URL is used instead of the URL from the
properties file.
5-4-5 Inputting requests from XML documents
CAUTION: To use the XML-API CLI feature, you need thorough knowledge of XML-API, and
need to take great care in formulating commands.
Instead of specifying the command and parameters from the command line, you can make the
request from a file. The file must contain a valid XML document in the correct form for a Device
Vue de la page 293
1 2 ... 289 290 291 292 293 294 295 296 297 298 299 ... 317 318

Commentaires sur ces manuels

Pas de commentaire