Copying cli tools, Changing the java security policy, Creating user authentication files – HP XP P9500 Storage User Manual

Page 10

Advertising
background image

Copying CLI tools

The /CFLCLItool directory contains the CLI files. This directory is located on CD#3 of a microcode
distribution kit.

This directory contains the following files, folders, and spreadsheet templates:

/CFLCLItool

folder - contains the following files:

JSanCLI.jar

java.policy

file - the default policy file

For more information about this policy file, see the Java documentation.

sample

folder - contains the CLI command files

template

folder - contains the spreadsheet templates

1.

Create an installation directory to store the CLI files.

2.

Insert CD#3 into the CD-ROM drive.

3.

Copy the /CFLCLItool directory from the CD to the directory you created.

Changing the Java security policy

You must change the Java security policy to be able to execute CLI commands. Java runs on the
Web browser and communicates with the P9500 storage systems to which it is attached.

You can use the current policy file in the CLI as a user policy file. If you use this policy file, the
security policy changes only when you execute CLI commands. The policy file is stored in the CLI
installation directory.

Alternatively, you can edit the java.policy file.
1.

Launch a text editor, and open the java.policy file located in the /CFLCLItool folder.

2.

Enter the following into the file:

grant {
permission java.security.AllPermission;
};

3.

Save your changes.

Creating user authentication files

Each CLI user must have a user authentication file that contains the IP address, user name, and
password. After you create the user authentication file, set the appropriate access authority for the
file using your operating system security feature.
1.

Log in to RWC using a storage administrator account.

2.

From the /CFLCLITool/sample file, copy and then paste the appropriate statement in the
/CFLCLITool

directory.

(For Windows) Execute the following command:

mkatfile.bat

(For UNIX) Execute the following command:

mkatfile.sh

3.

(For UNIX systems) If you have a shell program installed in a directory other than /bin,
execute the following command:

mkatfile.sh

4.

Change #! /bin/csh in the first row to the directory where the shell program is installed.
For example, /usr/bin/csh).

10

Command Line Interface Installation and Commands

Advertising