HP Storage Essentials V5.00.01 CLI guide (T4283-96015, January 2006)

Storage Essentials 5.00.01 CLI Guide 3
•HTTPS - 443
•RMI - 1099
Accessing the CLI Help from the CLI
Online help for the command line interface (CLI) is not only accessible by clicking the Help button
on the management server, but also from the CLI window. Help can be accessed from the CLI
window by appending -help or -h to the command. For example, assume you want to list all the
statistics for a host, but you don't know the full command. You could type a portion of the command
and append it with -help, as shown in the following example:
Microsoft Windows:
appiqstats -help
UNIX:
./appiqstats -help
The software would provide information about the appiqstats command.
If you want to view the overall help for the CLI, enter the following at the command prompt:
cli -help
Before you can use the CLI, you must make a connection to the management server. See the topic,
Before Using the CLI” on page 2 for more information.
CLI Commands
It is recommended you use the CLI prompt to enter your commands instead of typing the “appiq”
prefix in the CLI commands. You can avoid typing the “appiq” prefix in the CLI commands by
entering cli at the command prompt.
Each time you use the “appiq” prefix in a command at the command prompt, the CLI client must
re-establish a connection with the management server. In comparison, when you use the CLI
command prompt, a connection with the management server is established only once, not each
time you enter a command. Because the CLI command prompt only establishes a connection once,
it uses less resources and runs faster than entering commands at the command prompt.
To access the CLI prompt and enter a command:
1. Enter the following:
cli
2. Enter the following:
cli> list -event -all
Notice the “appiq” prefix has been removed.
See ”Before Using the CLI” on page 2 for information about how to access the CLI for the first time.
Information about the CLI commands for the following can be found in ”CLI Commands” on
page 11:
CLI Version” on page 12
Applications” on page 12
Backups” on page 13