Using the Export Tool 7-23
Hitachi Universal Storage Platform V/VM Hitachi Performance Manager User’s Guide
Java -classpath "./lib/JSanExport.jar;./lib/JSanRmiServerSx.jar" -Xmx536870912 -
Dmd.command=command.txt -Dmd.logpath=log sanproject.getmondat.RJMdMain
pause
Batch file for UNIX computers (runUnix.bat)
#! /bin/sh
Java -classpath "./lib/JSanExport.jar:./lib/JSanRmiServerSx.jar" -Xmx536870912 -
Dmd.command=command.txt -Dmd.logpath=log sanproject.getmondat.RJMdMain

Figure 7-2 Scripts in Batch Files

In the above scripts, the " " symbol indicates the end of a command line.
If the computer running 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 as shown in Figure 7-3:
Batch file for Windows computers (runWin.bat)
Java -classpath "./lib/JSanExport.jar;./lib/JSanRmiServerSx.jar" -Dhttp.proxyHost=Jupiter
-Dhttp.proxyPort=8080 -Xmx536870912 -Dmd.command=command.txt -Dmd.logpath=log
sanproject.getmondat.RJMdMain
pause
Batch file for UNIX computers (runUnix.bat)
#! /bin/sh
Java -classpath "./lib/JSanExport.jar:./lib/JSanRmiServerSx.jar" -Dhttp.proxyHost=Jupiter
-Dhttp.proxyPort=8080 -Xmx536870912 -Dmd.command=command.txt -Dmd.logpath=log
sanproject.getmondat.RJMdMain

Figure 7-3 Scripts in Batch Files (When Specifying the Host Name of a

Proxy Host)

In the above scripts, 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)
Java -classpath "./lib/JSanExport.jar;./lib/JSanRmiServerSx.jar" -Dhttp.proxyHost=158.211.122.124