HP ProLiant BL660c Configuring Arrays on HP Smart Array Controllers Reference - Page 56

The <command> variable, Querying a device, Hiding warning prompts

Page 56 highlights

controller all controller slot=2 array all controller slot=3 physicaldrive 1:2-1:5 The variable The variable can be any of the following words or phrases, corresponding to typical configuration tasks: add create delete modify remove set target There are also four nonconfiguration commands: diag ("Generating a diagnostic report" on page 61) help ("The help command" on page 59) rescan ("Rescanning the system" on page 61) show ("The show command" on page 57) A command often requires a parameter, and some parameters require a value, but the specific parameters and values that are valid for a given command depend on the target to which you apply the command. To determine the valid parameters and values for a particular combination of target and command variables, you can query the device ("Querying a device" on page 56). You can also inspect the example commands in other sections of this guide. 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 To determine which parameters can be queried, use the help feature of the CLI ("The help command" on page 59). 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 HP Array Configuration Utility 56

  • 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
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112

HP Array Configuration Utility
56
controller all
controller slot=2 array all
controller slot=3 physicaldrive 1:2-1:5
The <command> variable
The
<command>
variable can be any of the following words or phrases, corresponding to typical
configuration tasks:
add
create
delete
modify
remove
set target
There are also four nonconfiguration commands:
diag
("
Generating a diagnostic report
" on page
61
)
help
("
The help command
" on page
59
)
rescan
("
Rescanning the system
" on page
61
)
show
("
The show command
" on page
57
)
A command often requires a parameter, and some parameters require a value, but the specific
parameters and values that are valid for a given command depend on the target to which you apply the
command.
To determine the valid parameters and values for a particular combination of target and command
variables, you can query the device ("
Querying a device
" on page
56
). You can also inspect the
example commands in other sections of this guide.
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
To determine which parameters can be queried, use the help feature of the CLI ("
The help command
" on
page
59
).
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