HP StorageWorks Performance Control XP user guide (T1605-96007, October 2007)
50 Performance Control Export Tool
Batch file for UNIX computers (runUnix.bat)
Figure 19 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 20 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:
Batch file for Windows computers (
runWin.bat)
#! /bin/sh ↵
java -classpath "./lib/JSanExport.jar:./lib/JSanRmiServer.jar"
-Dmd.command=command.txt -Dmd.logpath=log sanproject.getmondat.RJMdMain ↵
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 ↵