HP StorageWorks Command View XP Command Line Interface (CLI) reference guide (B9357-96161, January 2006)

12 Getting started
3. After you un-tar the file, the CLI components are located at <your_path>/cvcli. It does not matter
where you un-tar the files, but all of the following files must be in the same directory:
cli.jar
CLI_Commands.xml
CLIhelp.xml
configModifyScript128_1024_12000.txt
configModifyScript512_48.txt
configscript.txt
configscriptlegacy.txt
cssi_sec_interfaces.jar
cvcli
CVCLI.bat
CVCLI.properties
CVCLI.txt
CVCLIScripting.txt
xerces.jar
4. To complete the installation, follow the instructions found in the CVCLI.txt file.
Running the CLI
Modes of execution
There are two modes of CLI execution: interactive mode and batch mode.
Interactive mode
Use interactive mode (the default mode) to enter one command at a time. In this mode, the CLI provides a
command prompt. You enter commands one at a time until you end the session by typing exit.
For Windows hosts:
Go to <your_path>\cvcli and run cvcli.bat by entering cvcli.
A login window prompts you for a user name and password.
For UNIX hosts:
Go to <your_path>/cvcli and run cvcli.
A login window prompts you for a user name and password. For HP-UX hosts, bypass the login window
by entering cvcli -p <user>/<password>.
Batch mode
Use batch mode to execute a batch file containing multiple CLI commands. This is useful for submitting a
large number of commands. The session ends after the commands in the batch file have been executed.
Commands in a batch file are not executed in the order they are listed in the file. Instead, similar
commands are grouped together and executed together to increase speed and efficiency. For more
information about batch mode, see ”Batch processing” on page 185.
For Windows hosts:
Go to <your_path>\cvcli and enter cvcli -f <filename> where <filename> is the name
of an input file containing Command View CLI commands.
A login window prompts you for a user name and password.
For UNIX hosts:
Go to <your_path>/cvcli and enter cvcli -f <filename> where <filename> is the name
of an input file containing Command View CLI commands.
A login window prompts you for a user name and password. For HP-UX hosts, bypass the login window
by entering cvcli -p <user>/<password> -f <filename>.