The remaining examples in this chapter are described as if entered in Console mode.

CLI syntax

Whether entered in Command mode or Console mode, a typical ACU CLI command line consists of three parts: a target device, a command, and a parameter with values if necessary. Using angle brackets to denote a required variable and plain brackets to denote an optional variable, the structure of a typical ACU CLI command line is as follows:

<target> <command> [parameter=value]

The <target> variable

This variable provides the path to a target device. The device can be a controller, an array, a logical drive, or a physical drive.

For example:

controller slot=3

controller wwn=500805F3000BAC11 controller serialnumber=P56350D9IP903J controller slot=3 array A

controller chassisname="A" array A logicaldrive 2 controller chassisname="A" physicaldrive 1:0

You can also specify that an operation be performed on several similar devices at the same time.

For example:

controller all

controller slot=3 logicaldrive 2

The <command> variable

The <command> variable can be any of the following words or phrases:

add create delete help modify remove rescan set target show

Some commands require a parameter, and some parameters require a value. The descriptions of the commands in the rest of this chapter provide examples of some usable parameters and variables for those cases that need them.

Keyword abbreviations

Several commonly used keywords in the ACU CLI have acceptable abbreviations, as shown in the following table.

Keyword

Abbreviation in

Keyword

Abbreviation in

 

ACU CLI

 

ACU CLI

 

 

 

 

adapterid

ai

logicaldrive

ld

 

 

 

 

arrayaccelerator

aa

parallelscsi

ps

 

 

 

 

cacheratio

cr

physicaldrive

pd

 

 

 

 

Using the Command Line Interface 44

Page 44
Image 44
HP Microsoft Windows Server 2003 for Itanium-based Systems manual CLI syntax, Keyword abbreviations, Target variable