Creating an Authentication File

An authentication file is an encrypted file containing a user ID and a password. If the SVP has an IPv6 address, an authentication file is required. To create an authentication file, perform the following command at the command prompt.

Syntax

java-classpath

classpath” sanproject.uvmdat.MakeAuthentication svpip UserID Password>An_Authentication_File

Parameters

Parameter

Description

classpath

Specifies the paths to the JAR files

 

("./lib/JSanExPthTool.jar;./lib/JSanRmiServerSx.jar").

 

 

svpip

Specifies the IP address of the SVP. If the SVP has an IPv6

 

address, enclose the IPv6 address in square brackets [ ].

 

 

UserID

Specifies the Remote Web Console user ID.

 

 

Password

Specifies the password for the Remote Web Console user

 

ID.

 

 

An_Authentication_File

Specifies an authentication file name.

 

 

Examples

When the SVP has an IPv4 address:

java -classpath "./lib/JSanExPthTool.jar;./lib/JSanRmiServerSx.jar" sanproject.uvmdat.MakeAuthentication 192.168.0.100 UserID PASSWORD>Authentication.txt

When the SVP has an IPv6 address:

java -classpath "./lib/JSanExPthTool.jar;./lib/JSanRmiServerSx.jar" sanproject.uvmdat.MakeAuthentication [fe80::1234] UserID PASSWORD>Authentication.txt

Editing the Java Security Policy

Add the following script to the Java policy file. This script is contained in the sample file named myPolicy.txt. You can copy and paste it to the Java policy file.

grant {

permission java.security.AllPermission;

};

Creating a Command File

In a command file, you can write authentication information and commands that should be executed on the external volume. Three kinds of commands are provided (disconnect, checkpath, and checkstatus) and you can write only one kind of these commands in one command file. To use the three kinds of these commands, you must create three command files. Sample files for these commands are provided for your use. You can customize these files to suit your needs.

One line must contain only one command. You can specify multiple external volumes for one command, and specify multiple commands in multiple lines. The maximum number of external volumes that can be written in one command file is 256. Characters between semicolon (;) and the end of line are recognized as a comment.

The following is an example of a command file for the disconnect command:

160 The ExPath Tool