Using hpacuscripting, Capturing a configuration – HP Linux Server Management Software User Manual
Page 39
Toolkit utilities 39
Using HPACUSCRIPTING
Starting with version 8.28.13.0, ACU Scripting is now a standalone application that is distributed with the
ACU CLI application. In ACU versions prior to 8.28.13.0, the scripting executable was provided with the
ACU GUI component.
Users familiar with the previous versions of ACU Scripting must now install the ACU CLI application to obtain
the scripting executable. The new ACU scripting executable (hpacuscripting) replaces the former executable
(cpqacuxe) in all scripts.
The ACU Scripting application has two scripting modes:
•
Capture mode for capturing a configuration (on page
ACU inspects the configuration of all internal and external array controllers connected to the server and
then writes a script file describing this configuration.
•
Input mode for using an Input script (on page
ACU reads the array configuration described in a specified script file. See "Creating an ACU script file (on
)." ACU then applies this configuration to a target system.
NOTE:
For a complete list of all command-line parameters, execute the /? utility.
Capturing a configuration
To capture the configuration of a system, enter the following command at the system command line prompt:
hpacuscripting -c [drive:][path]OUTPUTFILENAME.ext [-internal | -external]
-e [drive:][path]ERRORFILENAME.ext
OUTPUTFILENAME is the name of the capture file, and ext. is the file extension. If you do not specify a name
and location for this file, ACU uses the default name ACUOUTPUT.ini, and places the file in the ACU working
directory.
The -internal and -external switches limit capture to internal or external controllers.