HP Scripting Toolkit 9.50 for Linux User Guide

Creating an HP SSA script file
To create a valid HP SSA script file, use one of the following methods:
Modify the sample custom input script (page 37).
Create a Capture file for capturing a configuration (page 36).
You can create a capture file from any server that has HP SSA 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 HP SSA 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 37).
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. HP SSA 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, HP SSA 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: HP SSA 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 HPSSASCRIPTING 37