beautypg.com

Cli commands in redundant configurations, Cli help, Example command – HP StorageWorks 1510i Modular Smart Array User Manual

Page 17

background image

Commands are not case sensitive and must be typed in full.

The CLI does not support line-continuation characters. If all characters of a command cannot

fit on one line of the CLI, the command wraps to the next line on the screen. The maximum

command length is 255 characters.

Example command

The following command has three portions: the basic command and three operands:
add unit 0 data=”disk101-disk103” raid_level=0
The basic command is add unit. The operands are:

0

data=”disk101-disk103”

raid_level=0

Some CLI commands require an operand. If operands are required but are not entered, the CLI command

string is considered invalid. The syntax of the parameter value is uniquely defined for each CLI command,

but must be less than 20 alphanumeric characters.
Some CLI commands support operands that modify the command, but are not required. If a modifying

operand is available but not used, a default value is used.

CLI commands in redundant configurations

When a system has two controllers, the same firmware image is run on both controllers. The two

controllers communicate with each other through a PCI bus called the inter-controller link (ICL). Each

controller has a serial port and has a CLI available to users who connect the serial port to a serial terminal.
Some CLI commands are entered from one controller's CLI prompt but are for the other controller to

execute. Command syntax instructs the controller to accept user input, pass the command to the other

controller, and then display the result.
The following keywords are used in the CLI to indicate a specific controller:

this_controller—refers to the controller that the CLI is connected to.

other_controller—refers to the other controller in the MSA.

CLI help

Help commands can be used to display helpful information about CLI commands. Displayed information

may include a brief definition, required command syntax, available operands, the number of characters

for a command option value, or a list of allowed/disallowed characters.
The basic command is help. If a noun or verb is also entered, the display is limited to information about

that specific command. If help is entered without a limiting noun or verb, the displayed lists all possible

command verbs and then all possible command nouns.

Example command

To see a list of all possible command verbs and command nouns, enter help without a command

verb or noun.
help
To see a list of all commands, use the display_all operand:
CLI> help display_all
To see information about a specific command, enter help followed by the command in question. The

following example displays information about the add unit command.
CLI> help add unit

1510i Modular Smart Array Command Line Interface user guide

17