HP StorageWorks XP Performance Control user guide: HP XP12000 Disk Array, HP XP10000 Disk Array (T1605-96012, July 2009)
XP Performance Control user guide 47
• The Export Tool program is a Java class file and is located in the export\lib directory.
Installing the Export Tool on a UNIX computer
1. Create a directory on your UNIX computer.
In later steps, you will install the Export Tool on the new directory.
2. Insert the Program Products CD in the CD-ROM drive.
3. Do either of the following:
• If you are using Solaris, locate the archive file
export.tar in the directory
/export_tool/solaris in your CD-ROM disc, and copy export.tar to the new directory you
created earlier.
• If you are using HP-UX, locate the archive file
export.tar in the directory /export_tool/hp-ux
in your CD-ROM disc, and copy
export.tar to the new directory you created earlier.
4. Decompress
export.tar on your computer.
The Export Tool is installed. Also, a new directory named
export is created.
NOTE:
•The
export directory contains a couple of files, which include runWin.bat. HP recommends
deleting
runWin.bat because this file is no longer needed.
• The Export Tool program is a Java class file and is located in the
export/lib directory.
Using the Export Tool
To export monitoring data, you must prepare a command file and a batch file. This section explains how
to prepare a command file and a batch file, and then explains how to run the Export Tool.
Preparing a command file
To run the Export Tool, you must write scripts for exporting monitoring data. When writing scripts, you
must write several subcommands in a command file. When you run the Export Tool, subcommands in the
command file execute sequentially, and monitoring data is saved in files.
Here is a sample command file:
Figure 2 Sample command file
NOTE: In this file, a semicolon (;) indicates the beginning of a comment. Characters from a semicolon to
the end of the line are regarded as a comment.
svpip 158.214.135.57 ; Specifies IP address of SVP
login expusr passwd ; Logs user into SVP
show ; Outputs storing period to standard output
group PhyPG Long ; Specifies type of data to be exported and type of
; storing period
group RemoteCopy ; Specifies type of data to be exported
shortrange 200410010850:200410010910
; Specifies term of data to be exported for data stored
; in short range
longrange 200409301430:200410011430
; Specifies term of data to be exported for data stored
; in long range
outpath out ; Specifies directory in which files will be saved
option compress ; Specifies whether to compress files
apply ; Executes processing for saving monitoring data in files