Exported files, Examples – HP XP P9500 Storage User Manual

Page 87

Advertising
background image

Description

Operand

The path must be enclosed in double quotation marks (").

You can specify the following parameters. At minimum you must specify -Dmd.command.

property-parameters

-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 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 SVP via a proxy host.

-Xmxmemory-size(bytes)

Specifies the size of memory to be used by JRE when the Export Tool is being executed.
You must specify this parameter. The memory size must be 536870912, as shown in the
Example later in this topic. If an installed memory size is smaller than the recommended
size of the PC running Remote Web Console, you must install more memory before
executing the Export Tool.

If an installed memory size is larger than the recommended memory size of the PC running
Remote Web Console, you can specify a memory size larger than as shown in the
Example. However, to prevent lowering of execution speed, you do not set oversized
memory size.

-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.

Examples

The following example assumes that the computer running the Export Tool communicates with SVP
via a proxy host. In the following 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/JSanRmiApiEx.jar;./lib/JSanRmiServerUx.jar""
-Dhttp.proxyHost=Jupiter
-Dhttp.proxyPort=8080 -Xmx536870912 -Dmd.command=command.txt
-Dmd.logpath=log sanproject.getmondat.RJMdMain <CR+LF>

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/JSanRmiApiEx.jar;./lib/JSanRmiServerUx.jar"
-Xmx536870912 -Dmd.command=command.txt -Dmd.logfile=export.log
-Dmd.logpath=log sanproject.getmondat.RJMdMain<CR+LF>

In the above script, <CR+LF> indicates the end of a command line.

Exported files

The Export Tool saves the exported monitoring data into text files in CSV (comma-separated value)
format, in which values are delimited by commas. Many spreadsheet applications can be used to
open CSV files.
The Export Tool by default saves the CSV text files in compressed (ZIP) files. To use a text editor
or spreadsheet software to view or edit the monitoring data, first decompress the ZIP files to extract

Exported files

87

Advertising
This manual is related to the following products: