HP Scripting Toolkit 9.60 for Windows User Guide

<informational>
<product name>ProLiant DL380 Gen8</product_name>
<system_rom_family>P64</ system_rom_family >
<system_rom_date>11/01/2011</system_rom_date>
</informational>
<feature feature_id='176' selected_option_id='2' default_option_id=1 feature_type='option'>
<feature_name>Intel(R) Hyperthreading Options</feature_name>
<option option_id='1'><option_name>Enabled</option_name></option>
<option option_id='2'><option_name>Disabled</option_name></option>
</feature>
<feature feature_id='100' feature_type=string>
<feature_name>Server Name - Line 1</feature_name>
<feature_value>SERVERNAME</feature_value>
</feature>
</hprcu>
Using HPSSASCRIPTING
Starting with version 8.28.13.0, HP SSA Scripting is now a standalone application that is distributed
with the HP SSA CLI application. In HP SSA versions prior to 8.28.13.0, the scripting executable
was provided with the HP SSA GUI component.
For more information, see the Configuring Arrays on HP Smart Array Controllers Reference Guide
on the HP website at http://www.hp.com/support/CASAC_RG_en.
Users familiar with the previous versions of HP SSA Scripting must now install the HP SSA CLI
application to obtain the scripting executable. The new HP SSA scripting executable
(hpssascripting) replaces the former executable (cpqssaxe) in all scripts.
The HP SSA Scripting application has two scripting modes:
Capture mode for capturing a configuration (page 30)
HP SSA 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 (page 31)
HP SSA reads the array configuration described in a specified script file. See “Creating an HP
SSA script file” (page 31). HP SSA then applies this configuration to a target system.
NOTE: For a complete list of all command-line parameters, execute the /h utility.
Capturing a configuration
To capture the configuration of a system, enter the following command at the system command
line prompt:
hpssascripting -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, HP SSA uses the default name HPSSAOUTPUT.ini and
places the file in the HP SSA working directory.
The -internal and -external switches limit capture to internal or external controllers.
The -e switch information is used only if HP SSA must generate an error file. By default, HP SSA
names the error file ERROR.ini and places it in the HP SSA working directory.
30 Scripting Toolkit utilities