Preparing A Command File - Hitachi MK-96RD617-08 User Manual

Performance manager
Table of Contents

Advertisement

Using the Export Tool
To be able 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 be able 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 are saved in files.
Figure 7-1 gives an example of a command file:
svpip 158.214.135.57
login expusr passwd
show
group PhyPG Long
group RemoteCopy
short-range 200610010850:200610010910
long-range 200609301430:200610011430
outpath out
option compress
apply
Figure 7-1
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 are explained as follows:
svpip 158.214.135.57
This script specifies that you are logging into the SVP whose IP address is
158.214.135.57 . You must log into the SVP when using the Export Tool.
The svpip subcommand specifies the IP address of the SVP. You must
include the svpip subcommand in your command file. For detailed
information about the svpip subcommand, see svpip Subcommand.
login expusr passwd
Hitachi Universal Storage Platform V/VM Hitachi Performance Manager User's Guide
; 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
Example of a Command File
Using the Export Tool
7-19

Advertisement

Table of Contents
loading

Table of Contents