HP StorageWorks Modular Smart Array 1000 HP Array Configuration Utility User G - Page 46

Hiding warning prompts, Querying a device, Help, Typical procedures

Page 46 highlights

Keyword chassisname* chassisslot connectionname controller drivetype drivewritecache expandpriority Abbreviation in ACU Keyword CLI ch* preferredpathmode chs rebuildpriority cn redundantcontroller ctrl serialnumber dt stripesize dwc surfacescandelay ep tapedrive Abbreviation in ACU CLI ppm rp rc sn ss ssd 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" on page 46). 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. Using the Command Line Interface 46

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71

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
" on page
46
).
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.