Using the export tool, Preparing a command file – HP XP P9000 for Compatible High Perf FICON Connectivity Software User Manual

Page 88

Advertising
background image

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 system. The Export Tool is installed into the
installation directory.

Using the Export Tool

To be able to export monitoring data, you must first prepare a command file and a batch file, and
then you can run the Export Tool to export monitoring data.

Page 88

Page 90

Page 92

Preparing a command file

Before you 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 are executed 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 201210010850:201210010910
; Specifies term of data to be
; exported for data stored
; in short range
long-range 201209301430:201210011430
; 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

A semicolon (;) indicates the beginning of a comment. Characters from a semicolon to the end of
the line are comments.
The scripts in this command file are explained as follows:

svpip 158.214.135.57

This script specifies that you are logging into SVP whose IP address is 158.214.135.57.
You must log into SVP when using the Export Tool.
The svpip subcommand specifies the IP address of SVP. You must include the svpip
subcommand in your command file. For detailed information about the svpip subcommand,
see

(page 96)

.

login expusr passwd

This script specifies that you use the user ID expusr and the password passwd to log into
SVP.

88

Export Tool

Advertising
This manual is related to the following products: