Hiding warning prompts, Querying a device, Help – HP StorageWorks 1500cs Modular Smart Array User Manual
Page 46: Typical procedures
Using the Command Line Interface 46
Keyword
Abbreviation in ACU
CLI
Keyword
Abbreviation in ACU
CLI
chassisname* ch*
preferredpathmode
ppm
chassisslot chs rebuildpriority rp
connectionname cn
redundantcontroller rc
controller ctrl serialnumber sn
drivetype dt stripesize
ss
drivewritecache dwc
surfacescandelay ssd
expandpriority ep
tapedrive
td
*The CLI also uses this keyword and abbreviation for the terms box name and RAID array ID.
Hiding warning prompts
When you enter a command for an operation that can potentially destroy user data, the CLI displays a
warning and prompts you for input (a
y
or an
n
) before continuing the operation. This situation is
undesirable when running batch file scripts. To prevent warning prompts from being displayed, use the
term
forced
as a parameter.
Example command:
ctrl ch="Lab4" ld 1 delete forced
Querying a device
If you do not know what values a parameter can have, you can sometimes query the device to find out by
entering a
?
as the value of the parameter.
Example command:
=> ctrl ch="Lab4" ld 1 modify raid = 0 ss=?
A typical screen response in this case could be:
Available options are:
8
16 (current value)
32
64
128 (default)
256
For information about which parameters can be queried, refer to the CLI help ("
).
Help
To get help with the CLI, enter
help
at the CLI prompt as follows:
=> help
This command does not need a target variable or a parameter.
Typical procedures
The following sections describe some common ACU CLI procedures.