beautypg.com

Array category, Array, Drive – HP Scripting Toolkit for Windows User Manual

Page 37: Drivetype, Array drive drivetype

background image

Array category

The Array category has the following options:

“Array” (page 37)

“Drive” (page 37)

“DriveType” (page 37)

“OnlineSpare” (page 38)

Array

Enter a letter or pair of letters to identify the array you are creating or reconfiguring, and observe
these additional limitations:

In Configure mode, ACU creates a new array. The value that you specify for the array option
must be the next available letter or pair of letters in the sequence, according to the number
of existing arrays on the controller. AA follows Z, and BA follows AZ.

In Reconfigure mode, ACU can either create a new array or reconfigure an existing array. In
this case, the value that you specify can identify an existing array, or it can correspond to the
next available array letter or pair of letters in the existing configuration.

Drive

You can use this option to add a drive to an existing array (to expand an array) or to build a new
array. If you are expanding an array, each drive that you add must have a capacity no less than
that of the smallest drive already in the array. The added and existing drives in the array must all
be the same type (for example, SAS or SATA).

If the value of the ClearConfigurationWithDataLoss option is Yes, you can use the Drive
option to remove drives from an array. However, the ClearConfigurationWithDataLoss
option is now deprecated.

If you use Auto method mode, ACU configures all the available drives on the controller into one
array. If the drives are of different capacities, ACU determines the capacity of the smallest drive
and uses the same amount of space on all other available drives.

If you use Custom method mode, choose one of the following methods to specify the drives to be
used in the array. Different arrays on the same controller can use different methods.

To specify individual drives, use the applicable convention (port:ID, box:bay, or port:box:bay).

To specify only the number of drives to use (not which specific drive IDs to use), enter that
number as the value for this option. For example, if you enter drive=3, ACU uses the first
three available drives to build or expand the array that you define in the remainder of the
script. ACU automatically determines which drives are suitable to use.

To use all available drives, enter an asterisk as the value for this option. An array that is
configured using this method cannot have a spare.

DriveType

The value that you enter for this option specifies the type of drive (SAS, SATA, or parallel SCSI)
that ACU must use to build the array.

Using HPACUSCRIPTING

37