Modifying A Batch File - HP XP20000/XP24000 User Manual

Hp storageworks xp24000/xp20000 remote web console user guide (ae131-96087, may 2011)
Hide thumbs Also See for XP20000/XP24000:
Table of Contents

Advertisement

katfile
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. The 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 the appropriate access privilege for the user authentication file that you created.
Make sure that only the user who created the file can access the file.
Examples:
In this example for Windows, myAuthentication.txt is created from information such
as the IP address (158.214.135.127), user ID (administrator), and password (administrator).
\mkatfile 158.214.135.127 administrator administrator >myAuthentication.txt
In this example for Windows, myAuthentication.txt is created from information such
as the IP address (fe80::20a:e4ff:fe8f:20b5), user ID (administrator), and password
(administrator).
\mkatfile [fe80::20a:e4ff:fe8f:20b5] administrator administrator >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 31 Batch Files for Executing the CFL Extension Commands
Directory
\Tools\CFL_CLI\sample
Before executing the CFL Extension commands, copy the batch files provided by Remote Web
Console to the \Tools\CFL_CLI directory (the same directory as JSanCFL.jar), and then
modify the file if necessary. The file with the .bat extension is for Windows, and the file with the
.sh extension is for UNIX.
The following examples show a batch file for the CFLSET command. The
end of a command line.
For Windows:
java -jar -Djava.security.policy=java.policy JSanCFL.jar myAuthentication.txt CFLSET %1 %2
For UNIX:
#! /bin/csh
java -jar -Djava.security.policy=java.policy JSanCFL.jar myAuthentication.txt CFLSET $1 $2
SVP-ip-address
user-id
File Name
cflchk
cflget
cflset
password > myAuthentication.txt
Description
A batch file for the CFLCHK command
A batch file for the CFLGET command
A batch file for the CFLSET command
Preparing for Using CFL Extension 123
symbol indicates the

Advertisement

Table of Contents
loading

This manual is also suitable for:

Storageworks xp20000Storageworks xp24000

Table of Contents