Using The Export Tool; Preparing A Command File; An Example Of A Command File - HP XP20000 User Manual

Hide thumbs Also See for XP20000:
Table of Contents

Advertisement

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. It is recom-
mended that you delete 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

Preparing a batch file
Running 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 commands in a command file. When you run the Export Tool, the commands
in the command file execute sequentially and then the monitoring data are saved in files.
Figure 38
gives an example of a command file:
svpip 158.214.135.57
login expusr passwd
show
group PhyPG Long
group RemoteCopy
shortrange 200610010850:200610010910
longrange 200609301430:200610011430
outpath out
option compress
apply
Figure 38 An Example of a Command File
.
In the above scripts, the semicolon (;) indicates the beginning of a comment. Characters from a
semicolon to the end of the line are regarded as a comment.
The scripts in this command file is explained as follows:
svpip 158.214.135.57
120
Using the Export Tool
; Specifies IP address of SVP
; Logs user into SVP
; Outputs storing period to standard output
; Specifies type of data to be exported and type
; of storing period
; Specifies type of data to be exported
; Specifies term of data to be exported for data
; stored in short range
; Specifies term of data to be exported for data
; stored in long range
; Specifies directory in which files will be saved
; Specifies whether to compress files
; Executes processing for saving monitoring data
; in files

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xp24000

Table of Contents