Creating An Authentication File - HP StorageWorks XP24000 User Manual

External storage
Hide thumbs Also See for StorageWorks XP24000:
Table of Contents

Advertisement

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
c l a s s p a t h
Parameters
Parameter
classpath
svpip
UserID
Password
An_Authentication_File
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 {
};
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:
HP Confidential
s a n p r o j e c t . u v m d a t . M a k e A u t h e n t i c a t i o n
permission java.security.AllPermission;
s v p i p
U s e r I D
P a s s w o r d > A n _ A u t h e n t i c a t i o n _ F i l e
Description
Specifies the paths to the JAR files
("./lib/JSanExPthTool.jar;./lib/JSanRmiServerSx.jar").
Specifies the IP address of the SVP. If the SVP has an IPv6
address, enclose the IPv6 address in square brackets [ ].
Specifies the Remote Web Console user ID.
Specifies the password for the Remote Web Console user
ID.
Specifies an authentication file name.
Using the ExPath Tool 155

Advertisement

Table of Contents
loading

This manual is also suitable for:

Storageworks xp20000

Table of Contents