On unix, Using the export tool, Preparing a command file – HP XP7 Storage User Manual

Page 92

Advertising
background image

5.

Double-click export.exe to start the installation. The Export Tool is installed, and a new
folder named “export” is created.

NOTE:

We recommend that you delete runUnix.bat from the export folder because this

file is no longer needed.

On UNIX

The Export Tool program is a Java class file and is located in the lib directory.
1.

Log on as a superuser.

You do not need to remove a previous installation of Export Tool. The new installation overwrites
the older program.

2.

Create a new directory for the Export Tool program (for example, /monitor).

3.

Mount the Export Tool CD-ROM.

4.

Go to the /program/monitor/UNIX directory on the CD-ROM, and copy the export.tar
file to the new directory you just created.

5.

Decompress the export.tar file on your computer. The Export Tool is installed into the
installation directory.

NOTE:

We recommend that you delete runWin.bat from the installation directory because this

file is no longer needed.

Using the Export Tool

After installing the Export Tool, you must prepare a command file and a batch file before you can
export any monitoring data. This section explains how to prepare a command file and a batch
file, and then 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 need to write several subcommands in a command file. When you run the Export Tool, the
subcommands in the command file execute sequentially and then the monitoring data is saved in
files.

Example of a command file

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
short-range 201305010850:201305010910
; Specifies term of data to be
; exported for data stored
; in short range
long-range 201304301430:201305011430
; 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

92

Exporting Performance Monitor data

Advertising
This manual is related to the following products: