beautypg.com

Creating an acu script file, Sample custom input script, Creating an acu – HP Scripting Toolkit for Windows User Manual

Page 31

background image

Creating an ACU script file

To create a valid ACU script file, use one of the following methods:

Modify the sample custom input script

(page 31)

.

Create a Capture file for capturing a configuration

(page 30)

.

You can create a capture file from any server that has ACU loaded, and then modify the
values of options in the file as necessary for the target system. This method is useful for applying
a standard configuration to several servers that have similar storage resources.

Write an original script.

Each line of text in an ACU script file is in the format option = value and can be written
in uppercase or lowercase letters. For information about possible option values and the
minimum configuration information that a valid script must have, see

“Sample custom input

script” (page 31)

.

You can add blank lines and comments to any script to make it easier to read and understand. To
create a comment, enter a semicolon, and then enter the comment text. ACU ignores all text on
the same line after a semicolon.

Sample custom input script

The sample script in this section gives all possible values for each option.

If an option is shown in bold type, you must enter a value for that option when writing your
own script.

If a value is shown in bold type, ACU uses that value as a default setting when creating new
logical drives.

You can use this script as a template for your own script. The Control category has the following
options:

Action mode

Method mode

Action = Configure|Reconfigure

Method = Custom|Auto

; COMMENT: ACU cannot create a RAID 50 or RAID

60 configuration in Auto mode. You must create such configurations

manually using the Custom setting.

Controller = All | First | Slot [N][:N]| WWN [N]| SerialNumber [N]|

IOCabinet [N],IOBay [N],IOChassis [N],Slot [N],Cabinet [N],Cell [N]

ClearConfigurationWithDataLoss = Yes|No

; COMMENT: This option is now

deprecated.

LicenseKey = XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

DeleteLicenseKey = XXXXX-XXXXX-XXXXX-XXXXX-XXXXX | * ; COMMENT: *

is a wild card that enables you to delete all license keys on the

specified controller.

RAIDArrayID = “XXXXXXXXXXXXXXXXXXXX”

ReadCache = 0|10|20|25|30|40|50|60|70|75|80|90|100

WriteCache = 0|10|20|25|30|40|50|60|70|75|80|90|100

RebuildPriority =

Low|Medium|High

ExpandPriority =

Low|Medium|High

SurfaceScanDelay = N

SSPState = Enable|Disable

Using HPACUSCRIPTING

31