Capturing a configuration
To capture the configuration of a system, enter the following command at the system command line prompt:
hpssascripting -c FILENAME [-internal -external] -e FILENAME
The
The
The
Using an Input script
To use an Input script to configure or reconfigure a system, first locate a suitable HP SSA script or see "Creating an HP SSA script file (on page 81)."
Then, enter the following command at the system command line prompt:
hpssascripting
The
The
The
The
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 (on page 82).
•Create a Capture file for capturing a configuration (on page 81).
You can create a capture file from any server that has HP SSA loaded, and then modify the values of the 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 the sample custom input script (on page 82).
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.