HP ProLiant SL4545 HP Scripting Toolkit 9.30 for Windows User Guide - Page 31

Creating an ACU script file, Sample custom input script, Action, Method, Controller, Disable

Page 31 highlights

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

  • 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

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