![Compaq 231027-002 - ProLiant - DL320R01 Скачать руководство пользователя страница 75](http://html.mh-extra.com/html/compaq/231027-002-proliant-dl320r01/231027-002-proliant-dl320r01_reference-manual_2645014075.webp)
HP Array Configuration Utility 75
NOTE:
Disabling the array accelerator for a logical drive reserves use of the accelerator cache
for other logical drives on the array. This feature is useful if you want the other logical drives to
have the maximum possible performance (for example, if the logical drives contain database
information).
Syntax:
<target> modify aa=enable|disable|?
where
<target>
is a logical drive.
Example command:
=> ctrl slot=3 ld 1 modify aa=enable
Enabling a script to exit on error
When a script encounters an error during execution, the
exitonerror
keyword enables the script to
decide whether to continue or to exit the application and return an exit code.
Syntax:
set [exitonerror=enable | disable]
Example commands:
set exitonerror=enable
set eoe=disable
show exitonerror
Using ACU scripting
Access ACU with one of the many methods available:
•
Accessing ACU in the offline environment (on page
22
)
•
Accessing ACU in the online environment (on page
27
)
The ACU Scripting application has two scripting modes:
•
Capture mode for capturing a configuration (on page
75
)
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
76
)
ACU reads the array configuration described in a specified script file. See "Creating an ACU script file
(on page
76
)." ACU then applies this configuration to a target system.
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.