Running the expath tool, Syntax, Parameters – HP XP External Storage Software User Manual
Page 161: Example, Termination code, Syntax parameters example termination code

; Disconnect
svpip 127.0.0.1
login root password
disconnect E1-1 E1-2
disconnect E2-1 E2-2
The svpip and login commands are used for writing the authentication information. If no
authentication file is created, the authentication information must be written in a command file as
shown above.
Running the ExPath Tool
To run the ExPath tool, write the following command in a batch file, and execute the batch file on
the command line. The ExPath tool cannot be started multiple times concurrently.
A sample batch file (
runWin.bat
) is provided for your use. You can customize this batch file to
suit your needs.
Syntax
java
classpath
”classpath”
properties_a_to_e
sanproject.uvmdat.RJUvmMain
Parameters
Description
Parameter
Specifies the paths to the JAR files
(
"./lib/JSanExPthTool.jar;./lib/JSanRmiServerSx.jar"
).
classpath
Specifies the file that contains the Java security policy.
(a)
-Djava.security.policy=a policy file
path
(Required)
Specifies the file that contains the authentication
information. To encrypt the authentication information or
to use an IPv6 address of the SVP, this parameter is
required. If the parameter is omitted, the authentication
information in a command file will be used.
(b)
-Duvm.authentication=an authentication
file path
Specifies the file that contains information about the
operation and target external volume.
(c)
-Duvm.command=a command file path
(Required)
Specifies the directory where a log file should be created.
If this parameter is omitted, a log file will be created in the
current directory.
(d)
-Duvm.logpath=a directory where a log
file should be created
Specifies the log file name. If the directory already has a
log file with the same name, the log file will be overwritten.
If this parameter is omitted, a log file named
uvm-MMDDHHMMSS.log
will be created.
MMDDHHMMSS
in the file name will be numbers indicating month, day,
hour, minute, and second. In addition, if this parameter is
omitted, a new log file will be created every time you start
the ExPath tool. Delete unnecessary log files regularly.
(e)
-Duvm.logfile=a log file name
Example
java -classpath "./lib/JSanExPthTool.jar;./lib/JSanRmiServerSx.jar"
-Xmx268435456 -Djava.security.policy=myPolicy.txt
-Duvm.authentication=Authentication.txt -Duvm.command=command.txt
-Duvm.logpath=log sanproject.uvmdat.RJUvmMain
Termination Code
0: The ExPath tool finished successfully.
Using the ExPath Tool
161