Using an input script, Creating an acu script file, Sample custom input script – HP Linux Server Management Software User Manual
Page 40
Toolkit utilities 40
The -e switch information is used only if ACU must generate an error file. By default, ACU names the error
file ERROR.ini and places it in the ACU working directory.
Using an Input script
To use an Input script to configure or reconfigure a system, first locate a suitable ACU script or see "Creating
an ACU script file (on page
)."
Then, enter the following command at the system command line prompt:
hpacuscripting -i [drive:][path]FILENAME.ext [-internal | -external] [-reset]
-e [drive:][path]ERRORFILENAME.ext
FILENAME is the name of the ACU input file, and ext is the file extension. If you do not specify the name and
location of this file, ACU searches for ACUINPUT.ini in the ACU working directory.
The -internal and -external switches limit configuration operations to internal or external controllers.
The -reset flag destroys any existing data and overwrites the current configuration with the configuration
specified in the script.
The -e switch information is used only if ACU must generate an error file. By default, ACU names the error
file ERROR.ini and places it in the ACU working directory.
Creating an ACU script file
To create a valid ACU script file, use one of the following methods:
•
Modify the sample custom input script (on page
•
Create a Capture file for capturing a configuration (on page
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 the sample custom input script (on page
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