beautypg.com

Converting a support ticket to xml (clf) – HP Library and Tape Tools User Manual

Page 69

background image

Converting a support ticket to XML (CLF)

L&TT can be run from the command line to convert a support ticket to XML
format. For more information about using reports and support tickets, see

Reports

Description

and support tickets (page 115)

. The converted support ticket is the same as if it

was originally created in XML format.

hp_ltt -f xmlticket file=

filename>[instname=] [dirpath=

path directory>] filename=

Syntax

Specify the path and name of the
support ticket to be converted. The

file

Parameters

support ticket can have either a .lzt
or .ltd file extension. L&TT will
automatically extract the .ltd files out
of the .lzt file, and create .xml files
with the same names as the .ltd files.
The detail level will be everything.

Specify a name for this instance of
L&TT. This parameter is optional for the

instname

first instance of L&TT and required for
all other instances of L&TT. If this
parameter is supplied, the log files from
this instance will be created in a
logs_

folder in

the logs folder of the L&TT installation
directory or directory specified by
dirpath

.

Specify the absolute path for the
temporary directory used by L&TT for

dirpath

its runtime files. This parameter is
optional when L&TT is run from the
system installation directory and
required when L&TT is run from
removable media, such as a USB flash
drive or CD.

When running L&TT from the system
installation directory, if dirpath is
specified and instname is not
specified, the L&TT runtime files will be
created in the dirpath directory.
Otherwise, if dirpath is specified, the
L&TT runtime files will be created in
/logs_

name>

.

Specify the name of the XML file that is
created after conversion.

filename

In Windows, to convert a support ticket
"st_HPUltrium_5-SCSI_20110304_100315_HU10028CWM.lzt" to a XML
support ticket:

Examples

hp_ltt -f xmlticket file="C:\Program

Files\Hewlett-Packard\HP Library and Tape

Tools\logs\st_HPUltrium_5-SCSI_20110304_100315_HU10028CWM.lzt"

dirpath="C:\temp" filename="sticket.xml"

In UNIX , to convert a support ticket
"st_HPUltrium_5-SCSI_20110304_100315_HU10028CWM.lzt" to a XML
support ticket:

./hp_ltt -f xmlticket

file=/opt/ltt/logs/st_HPUltrium_5-SCSI_20110304_100315_HU10028CWM.lzt

filename=sticket.xml

Command line functions

69