HP ProLiant DL380p Configuring Arrays on HP Smart Array Controllers Reference - Page 58

Setting the target, Interface Type: Parallel SCSI

Page 58 highlights

controller slot=1 ld 1 modify bootvolume=none Setting the target If you must perform several operations on a given target device, you can simplify the required commands by setting the device as the default for the CLI operations. After you have set the target, any command that you enter in the CLI without a specified is automatically applied to the set target. If you must also perform operations on other devices, you can still do so at any time by specifying the for each of those operations as usual. You can also change the set target or clear it completely. The set target is automatically cleared when you close the CLI. IMPORTANT: You cannot use the set target command in batch file scripts. Syntax: set target where is a controller, array, or logical drive. Example commands: => set target ctrl slot=3 => clear target Typical scenario First, set a target as follows: => set target ctrl ch="Lab 4" => show target controller chassisname="Lab 4" As an example of how the set target command works, check the status of array A on this controller: => array A show MSA1000 at Lab 4 array A Interface Type: Parallel SCSI Unused Space: 7949 MB Status: OK Note that the controller does not need to be specified because it is currently the set target. Now clear the target, reset it, and enter a few commands for the new set target: => clear target => set target ctrl slot=3 => array A add drives=1:7,1:8,1:9 => array B add spares=1:10,1:11 => ctrl slot=4 ld 3 modify ss=64 => modify rp=high This sequence includes a command for a different target (the controller in slot 4) as a demonstration. Note that the next command in the sequence (the one for modifying the rebuild priority) applies to the controller in slot 3, not the one in slot 4. This is because the command does not specify a for the rebuild priority, so the default set target is used instead. HP Array Configuration Utility 58

  • 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
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128

HP Array Configuration Utility
58
controller slot=1 ld 1 modify bootvolume=none
Setting the target
If you must perform several operations on a given target device, you can simplify the required commands by
setting the device as the default
<target>
for the CLI operations.
After you have set the target, any command that you enter in the CLI without a specified
<target>
is
automatically applied to the set target. If you must also perform operations on other devices, you can still do
so at any time by specifying the
<target>
for each of those operations as usual. You can also change the
set target or clear it completely. The set target is automatically cleared when you close the CLI.
IMPORTANT:
You cannot use the
set target
command in batch file scripts.
Syntax:
set target <target>
where
<target>
is a controller, array, or logical drive.
Example commands:
=> set target ctrl slot=3
=> clear target
Typical scenario
First, set a target as follows:
=> set target ctrl ch="Lab 4"
=> show target
controller chassisname="Lab 4"
As an example of how the set target command works, check the status of array A on this controller:
=> array A show
MSA1000 at Lab 4
array A
Interface Type: Parallel SCSI
Unused Space: 7949 MB
Status: OK
Note that the controller does not need to be specified because it is currently the set target.
Now clear the target, reset it, and enter a few commands for the new set target:
=> clear target
=> set target ctrl slot=3
=> array A add drives=1:7,1:8,1:9
=> array B add spares=1:10,1:11
=> ctrl slot=4 ld 3 modify ss=64
=> modify rp=high
This sequence includes a command for a different target (the controller in slot 4) as a demonstration. Note
that the next command in the sequence (the one for modifying the rebuild priority) applies to the controller in
slot 3, not the one in slot 4. This is because the command does not specify a
<target>
for the rebuild
priority, so the default set target is used instead.