HP XP20000/XP24000 HP StorageWorks XP24000/XP20000 Remote Web Console User Gui - Page 123
Modifying a Batch File, Table 31 Batch Files for Executing the CFL Extension Commands
![]() |
View all HP XP20000/XP24000 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 123 highlights
katfile 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. 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 File Name cflchk cflget cflset Description A batch file for the CFLCHK command A batch file for the CFLGET command A batch file for the CFLSET command 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 symbol indicates 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 Preparing for Using CFL Extension 123
![](/manual_guide/products/hewlettpackard-xp20000xp24000-hp-storageworks-xp24000xp20000-remote-web-console-user-guide-ae13196087-2011-79f3aa6/123.png)