Hitachi MK-96RD621-08 User Manual

Page 160

Advertising
background image

5-6

Using the Storage Navigator CLI

Hitachi Universal Storage Platform V/VM Hitachi Storage Navigator User’s Guide

After creating a user authentication file, you must use the security feature of
your operating system to set an appropriate access authority to the user

authentication file so that only the user who created the file can access the file.
If other users can access the file, unauthorized changes might be made into
the storage system.

To create a user authentication file:
1. Log into a Storage Navigator computer with the user account of the storage

administrator.

2. Copy a batch file for executing a command to the same directory as

JSanCLI.jar.
If the operating system of your Storage Navigator computer is Windows,
copy the file whose extension is ".bat". If it is UNIX, copy the file whose

extension is ".sh".
Copy source:
\CLI-installed-directory\CFLCLITool\sample\mkatfile.bat
\CLI-installed-directory\CFLCLITool\sample\mkatfile.sh
Copy destination:
\CLI-installed-directory\CFLCLITool\

3. If your operating system is UNIX and a shell program is installed in a

directory other than "/bin", modify the batch file that you copied earlier.
Open the batch file and change "#! /bin/csh" in the first line to the

directory that a shell program is installed (such as /usr/bin/csh).

4. Start the command prompt and then move to the following directory.

\CLI-installed-directory\CFLCLITool\

5. Execute the batch file in the following format. For UNIX, enter ".sh" after

mkatfile (that is, mkatfile.sh).

mkatfileUSVP-ip-addressUuser-idUpassword

>

myAuthentication.txt

Specify the following items:

SVP-ip-address: specify the IP address of the SVP. To use an IPv6
address, enclose the IPv6 address in square brackets [ ] .

user-id: specify the user ID of the storage administrator.

password: specify the password of the storage administrator.

When you execute the command, a user authentication file named

"myAuthentication.txt" is created in the current directory.
You can rename this user authentication file. Only single-byte characters

can be specified for the file name. Extension must be ".txt". If you rename
the file, you need to change the name of the user authentication file
written in the batch file.

6. Set an appropriate access authority to the user authentication file that you

created.

Advertising