Example – HP XP Array Manager Software User Manual
Page 120

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 host name or the IP address of a proxy host. 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 port number of a proxy host. 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 will be created whenever the Export Tool executes.
If this parameter is omitted, log files will be 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 host name of the proxy host is Jupiter, and the port name of
the proxy host is 8080:
java -classpath "./lib/JSanExport.jar;./lib/JSanRmiServer.jar" -Dhttp.proxyHost=Jupiter
-Dhttp.proxyPort=8080 -Dmd.command=command.txt -Dmd.logpath=log sanproject.getmondat.RJMdMain
In the following example, a log file named export.log will be created in the log directory below the
current directory when the Export Tool executes:
java -classpath "./lib/JSanExport.jar;./lib/JSanRmiServer.jar" -Dmd.command=command.txt
-Dmd.logfile=export.log -Dmd.logpath=log sanproject.getmondat.RJMdMain
Note:
The symbol indicates the end of a command line.
120
Using the Export Tool