Modifying a batch file – HP StorageWorks XP Remote Web Console Software User Manual

Page 143

Advertising
background image

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 of the directory that a shell program

is installed (such as

/usr/bin/csh

).

Start the command prompt, then move to the following directory:

\CFL-installed-directory\Tools\CFL_CLI

Execute the batch file in the following format. For UNIX, enter

.sh

after mkatfile (

mkatfile.sh

).

mkatfile

SVP-ip-address

user-id

password > 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.

Set the appropriate access to the user authentication file that you created.
Make sure that only the user who created the file can access the file.

Example:
In this example for Windows,

myAuthentication.txt

is created from the information such as

the IP address (158.214.135.127), user ID (root), and password (root).

mkatfile 158.214.135.127 root root >myAuthentication.txt

In this example for Windows,

myAuthentication.txt

is created from the information such as

the IP address (fe80::20a:e4ff:fe8f:20b5), user ID (root), and password (root).

mkatfile [fe80::20a:e4ff:fe8f:20b5] root root >myAuthentication.txt

Modifying a Batch File

The batch files provided by Remote Web Console to be used for executing the CFL Extension
commands can be manually modified, if necessary. The batch files are as follows:

Table 22 Batch Files for Executing the CFL Extension Commands

Description

File Name

Directory

batch file for the

CFLCHK

command

cflchk

\Tools\CFL_CLI\

Sample

batch file for the

CFLGET

command

cflget

batch file for the

CFLSET

command

cflset

XP24000/XP20000 Remote Web Console User's Guide

143

Advertising
This manual is related to the following products: