HP StorageWorks Modular Smart Array 1000 HP Array Configuration Utility User G - Page 45
CLI syntax, The <target> variable, The <command> variable, Keyword abbreviations
View all HP StorageWorks Modular Smart Array 1000 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 45 highlights
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: [parameter=value] The 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 variable The 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 adapterid arrayaccelerator cacheratio Abbreviation in ACU CLI ai aa cr Keyword logicaldrive parallelscsi physicaldrive Abbreviation in ACU CLI ld ps pd Using the Command Line Interface 45