HP StorageWorks XP Performance Control user guide: HP XP12000 Disk Array, HP XP10000 Disk Array (T1605-96012, July 2009)
50 XP Performance Control Export Tool
The installation directory for the Export Tool (that is, the export directory) contains two batch files:
runWin.bat and runUnix.bat. If your computer runs Windows, use runWin.bat. If your computer runs
UNIX, use
runUnix.bat.
Figure 3 illustrates scripts in
runWin.bat and runUnix.bat. These batch files include a command line
that executes a java command. When executing your batch file, the java command executes
subcommands specified in your command file, and saves monitoring data in files.
Batch file for Windows computers (
runWin.bat)
Batch file for UNIX computers (
runUnix.bat)
Figure 3 Scripts in batch files
NOTE: The symbol indicates the end of a command line.
If the computer that runs the Export Tool communicates directly with the SVP, you usually do not need to
change scripts in
runWin.bat and runUnix.bat. However, you might need to edit the java command
script in your text editor in some circumstances, for example:
• If your command file name is not
command.txt
• If you moved your command file to a different directory
• If you do not want to save log files in the
log directory
• If you want to name log files as you like
If the computer that runs the Export Tool communicates with the SVP via a proxy host, you must edit the
java command script in your text editor. When editing the java command script, you must specify the
proxy host’s host name (or IP address) and port number. For example, if the host name is Jupiter and
the port number is 8080, the resulting command script is as follows:
Batch file for Windows computers (
runWin.bat)
Batch file for UNIX computers (
runUnix.bat)
Figure 4 Scripts in batch files (when specifying the proxy host’s host name)
NOTE: The symbol indicates the end of a command line.
If the proxy host’s IP address is 158.211.122.124 and the port number is 8080, the resulting command
script is as follows:
java -classpath "./lib/JSanExport.jar;./lib/JSanRmiServerEX.jar" - Xmx268435456 -
-Dmd.command=command.txt -Dmd.logpath=log sanproject.getmondat.RJMdMain
pause
#! /bin/sh
java -classpath "./lib/JSanExport.jar:./lib/JSanRmiServerEX.jar" -Xmx268435456 -
-Dmd.command=command.txt -Dmd.logpath=log sanproject.getmondat.RJMdMain
java -classpath "./lib/JSanEx.jar" -Dhttp.proxyHost=Jupiter -Dhttp.proxyPort=8080
- Xmx268435456 -Dmd.command=command.txt -Dmd.logpath=log
sanproject.getmondat.RJMdMain
pause
#! /bin/sh
java -classpath "./lib/JSanExport.jar:./lib/JSanRmiServerEx.jar"
-Dhttp.proxyHost=Jupiter -Dhttp.proxyPort=8080 -Xmx268435456
-Dmd.command=command.txt -Dmd.logpath=log sanproject.getmondat.RJMdMain