HP StorageWorks Performance Control XP user guide (December 2005)

50 Performance Control Export Tool
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 occasions, for example:
If the name of your command file 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 need to edit the
java command script in your text editor. When editing the java command script, you need to specify the
host name (or the IP address) and the port number of the proxy host. 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 20 Scripts in batch files (when specifying the host name of a proxy host)
NOTE: The symbol indicates the end of a command line.
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:
Batch file for Windows computers (
runWin.bat)
Batch file for UNIX computers (
runUnix.bat)
Figure 21 Scripts in batch files (when specifying the IP address of a proxy host)
NOTE: The symbol indicates the end of a command line.
For detailed information about syntax of the java command, see ”The java command for exporting data
In files” on page 76.
java -classpath "./lib/JSanExport.jar;./lib/JSanRmiServer.jar"
-Dhttp.proxyHost=Jupiter -Dhttp.proxyPort=8080 -Dmd.command=command.txt
-Dmd.logpath=log sanproject.getmondat.RJMdMain
pause
#! /bin/sh
java -classpath "./lib/JSanExport.jar:./lib/JSanRmiServer.jar"
-Dhttp.proxyHost=Jupiter -Dhttp.proxyPort=8080 -Dmd.command=command.txt
-Dmd.logpath=log sanproject.getmondat.RJMdMain
java -classpath "./lib/JSanExport.jar;./lib/JSanRmiServer.jar"
-Dhttp.proxyHost=158.211.122.124 -Dhttp.proxyPort=8080 -Dmd.command=command.txt
-Dmd.logpath=log sanproject.getmondat.RJMdMain
pause
#! /bin/sh
java -classpath "./lib/JSanExport.jar:./lib/JSanRmiServer.jar"
-Dhttp.proxyHost=158.211.122.124 -Dhttp.proxyPort=8080 -Dmd.command=command.txt
-Dmd.logpath=log sanproject.getmondat.RJMdMain