HP StorageWorks Modular Smart Array 1000 HP Array Configuration Utility User G - Page 32

Sample custom input script

Page 32 highlights

If you do not specify a capture file name, ACU gives the file the default name of ACUCAPT.INI and places it in the ACU working directory. In Input mode: cpqacuxe -i FILENAME If you do not specify an input file name, ACU gives the file the default name ACUINPUT.INI and places it in the ACU working directory. If any errors occur during either process, these errors are noted in the file ERROR.INI that is logged to the default working directory. Sample custom input script The following script gives all possible values for each option. • If an option is shown in bold type, you must enter a value for that option. • If a value is shown in bold type, ACU uses that value as a default setting when creating new logical drives. • An asterisk next to a line denotes that the line is not used in Automatic mode. You can use this script as a template for your own script. Action = Configure|Reconfigure Method = Custom|Auto Controller = All | Slot [N] | WWN [N] | SerialNumber [N] | IOCabinet [N],IOBay [N],IOChassis [N],Slot [N],Cabinet [N],Cell [N] ClearConfigurationWithDataLoss = Yes|No LicenseKey = XXXXX-XXXXX-XXXXX-XXXXX-XXXXX DeleteLicenseKey = XXXXX-XXXXX-XXXXX-XXXXX-XXXXX ChassisName = "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 PreferredPathMode = Auto|Manual * Array = A|B|C|D|E|F|G|...Z|a|b|c|d|e|f OnlineSpare = Port:ID,Port:ID... | Box:Bay,Box:Bay... | Port:Box:Bay,Port:Box:Bay,... | None * Drive = Port:ID,Port:ID... | Box:Bay,Box:Bay... | Port:Box:Bay,Port:Box:Bay,... * LogicalDrive = 1|2|3|...32 RAID = 0|1|5|6|adg * Size = [N]|Max * Sectors = 32|63 * StripeSize = 8|16|32|64|128|256 Scripting in ACU 32

  • 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

Scripting in ACU 32
If you do not specify a capture file name, ACU gives the file the default name of ACUCAPT.INI and
places it in the ACU working directory.
In Input mode:
cpqacuxe -i
FILENAME
If you do not specify an input file name, ACU gives the file the default name ACUINPUT.INI and places it
in the ACU working directory.
If any errors occur during either process, these errors are noted in the file ERROR.INI that is logged to the
default working directory.
Sample custom input script
The following script gives all possible values for each option.
If an
option
is shown in bold type, you must enter a value for that option.
If a
value
is shown in bold type, ACU uses that value as a default setting when creating new logical
drives.
An asterisk next to a line denotes that the line is not used in Automatic mode.
You can use this script as a template for your own script.
Action
= Configure|Reconfigure
Method = Custom|
Auto
Controller
= All | Slot [
N
] | WWN [
N
] | SerialNumber [
N
] | IOCabinet
[
N
],IOBay [
N
],IOChassis [
N
],Slot [
N
],Cabinet [
N
],Cell [
N
]
ClearConfigurationWithDataLoss = Yes|
No
LicenseKey = XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
DeleteLicenseKey = XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
ChassisName = “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
PreferredPathMode =
Auto
|Manual
* Array
= A|B|C|D|E|F|G|...Z|a|b|c|d|e|f
OnlineSpare = Port:ID,Port:ID... | Box:Bay,Box:Bay... |
Port:Box:Bay,Port:Box:Bay,... |
None
* Drive = Port:ID,Port:ID... |
Box:Bay,Box:Bay... |
Port:Box:Bay,Port:Box:Bay,...
* LogicalDrive
= 1|2|3|...32
RAID = 0|1|5|6|adg
* Size = [
N
]|
Max
* Sectors = 32|63
* StripeSize = 8|16|32|64|128|256