HP StorageWorks Performance Control XP user guide (T1605-96007, October 2007)
Performance Control XP user guide 75
The java command for exporting data In files
Syntax
javaΔ-classpathΔclass-pathΔproperty-parametersΔsanproject.getmondat.
RJMdMain
Description
This java command starts the Export Tool.
To start the Export Tool, you must write this java command in the batch file, and run the batch file.
Operands
class-path
Specifies the path to the Export Tool’s class file.
The path must be enclosed in double quotation marks (").
property-parameters
You can specify the following parameters. At least you must specify -Dmd.command.
• -Dhttp.proxyHost=host-name-of-proxy-host, or
-Dhttp.proxyHost=IP-address-of-proxy-host
Specifies the proxy host’s host name or IP address. You must specify this parameter if the computer
that runs the Export Tool communicates with the SVP via a proxy host.
• -Dhttp.proxyPort=port-number-of-proxy-host
Specifies the proxy host’s port number. You must specify this parameter if the computer that runs the
Export Tool communicates with the SVP via a proxy host.
• -Dmd.command=path-to-command-file
Specifies the path to the command file.
• -Dmd.logpath=path-to-log-file
Specifies the path to log files. A log file is created whenever the Export Tool executes.
If this parameter is omitted, log files are saved in the current directory.
• -Dmd.logfile=name-of-log-file
Specifies the name of the log file.
If this parameter is omitted, log files are named
exportMMddHHmmss.log. MMddHHmmss indicates
when the Export Tool executed. For example, the log file
export0101091010.log contains log
information about Export Tool execution at Jan.1, 09:10:10.
Example
The following example assumes that the computer running the Export Tool communicates with the SVP via a
proxy host. In this example, the proxy host’s host name is Jupiter, and the proxy host’s port name is
8080.
In the following example, a log file named
export.log is created in the log directory below the current
directory when the Export Tool executes.
NOTE: The ↵ symbol indicates the end of a command line.
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"
-Dmd.command=command.txt -Dmd.logfile=export.log -Dmd.logpath=log
sanproject.getmondat.RJMdMain ↵