Notes on using cfl extension, Command reference – HP StorageWorks XP Remote Web Console Software User Manual
Page 123
The following items may need to be changed:
•
The installation directory of a shell program
If your operating system is UNIX and a shell program is installed in a directory other than
/bin
, you need to change #! /bin/csh in the first line to the installation directory of the
shell program (such as /usr/bin/csh).
•
The user authentication file name
If you rename the user authentication file, you need to change myAuthentication.txt to
the file name that you specified.
When you store the user authentication file in a directory other than \Tools\CFL_CLI (for
example, the user's home directory), you need to specify the relative or absolute path. Only
single-byte characters can be specified for a path or file name. No double-byte characters
can be specified.
The termination codes that CFL Extension returns when a batch file is executed are as follows:
•
0: The command finished successfully.
•
Other than 0: The command finished abnormally (an error occurred).
To use a reference to a termination code in your batch file, do the following:
•
For a Windows batch file, write %errorlevel% in the batch file.
•
For a UNIX Bourne shell script, write %? in the shell script.
•
For a UNIX C shell script, write %status in the shell script.
The following example is a reference to a termination code used in a Windows batch file. When
this batch file is executed and CFL Extension returns a termination code other than 0, the command
prompt displays a message indicating the command failed. When this batch file is executed and
CFL Extension returns a termination code 0, the command prompt displays a message indicating
the command finished successfully.
java -Djava.security.policy=java.policy -jar JSanCFL.jar myAuthentication.txt CFLGET %1 %2
if %errorlevel% NEQ 0 echo COMMAND FAILED.
if %errorlevel% EQU 0 echo COMMAND SUCCESSFUL.
Notes on Using CFL Extension
During the processing of CFL Extension, do not perform the following operations that suspend the
processing:
•
Right-click the command prompt window when the command prompt is not in Quick Edit
Mode.
•
Left-click the command prompt window when the command prompt is in Quick Edit Mode.
If the processing is suspended, perform one of the following operations to resume the processing:
•
Left-click the command prompt window when the command prompt is not in Quick Edit Mode
(right-click the command prompt window when the command prompt is in Quick Edit Mode).
•
Press the ESC key when the command prompt window is selected.
If the CFL Extension processing is suspended for a certain period of time, an RMI time-out occurs
and the login status is cancelled. In this case, an error (0001 4011) occurs after you resume the
processing. If this error occurs, execute the CFL Extension command again.
Command Reference
CFL Extension supports the following commands:
Command Reference
123