Using the export tool, Running the batch file – HP XP7 Storage User Manual
Page 96

Example of specifying a proxy host on Windows (runWin.bat):
java -classpath
"./lib/JSanExport.jar;./lib/JSanRmiApiEx.jar;./lib/JSanRmiServerUx.jar"
-Dhttp.proxyHost=Jupiter -Dhttp.proxyPort=8080 -Xmx536870912
-Dmd.command=command.txt -Dmd.logpath=log sanproject.getmondat.RJMdMain
Example of specifying a proxy host on UNIX (runUnix.bat):
#! /bin/sh
"./lib/JSanExport.jar:./lib/JSanRmiApiEx.jar:./lib/JSanRmiServerUx.jar"
-Dhttp.proxyHost=Jupiter -Dhttp.proxyPort=8080 -Xmx536870912
-Dmd.command=command.txt -Dmd.logpath=log sanproject.getmondat.RJMdMain
In the preceding scripts,
If the IP address of the proxy host is 158.211.122.124 and the port number is 8080, the resulting
command script is as follows:
Example batch file for Windows computers (runWin.bat):
java -classpath
"./lib/JSanExport.jar;./lib/JSanRmiApiEx.jar;./lib/JSanRmiServerUx.jar"
-Dhttp.proxyHost=158.211.122.124 -Dhttp.proxyPort=8080 -Xmx536870912
-Dmd.command=command.txt -Dmd.logpath=log sanproject.getmondat.RJMdMain
Example batch file for UNIX computers (runUnix.bat):
#! /bin/sh
"./lib/JSanExport.jar:./lib/JSanRmiApiEx.jar:./lib/JSanRmiServerUx.jar"
-Dhttp.proxyHost=158.211.122.124 -Dhttp.proxyPort=8080 -Xmx536870912
-Dmd.command=command.txt -Dmd.logpath=log sanproject.getmondat.RJMdMain
In the above scripts,
For detailed information about syntax of the Java command, see
.
Using the Export Tool
Running the batch file
To save monitoring data in files, launch the Export Tool by running the batch file. From a system
running UNIX, enter the name of the batch file at the command prompt, and then press the
key.
From a system running Windows, double-click the batch file to run it.
c:\WINDOWS> cd c:\export
c:\export> runWin.bat
Dots (...) appear on the screen until the system finishes exporting data. If an internal error occurs,
an exclamation mark (!) appears; and then the Export Tool restarts automatically.
Example of command prompt outputs from the Export Tool
[ 2] svpip 158.214.135.57
[ 3] login User = expusr, Passwd = [****************]
:
:
[ 6] group Port
:
:
[20] apply
Start gathering port data
96
Exporting Performance Monitor data