HP Scripting Toolkit 9.60 for Windows User Guide

IFHW command-line syntax.................................................................................................21
IFHW command-line arguments...........................................................................................22
IFHW return codes.............................................................................................................22
IFHW command line examples............................................................................................22
Expression operators and terms...........................................................................................22
Expression examples..........................................................................................................23
Using HWQUERY...................................................................................................................23
HWQUERY command-line syntax.........................................................................................23
HWQUERY command line arguments...................................................................................23
HWQUERY return codes.....................................................................................................24
HWQUERY command-line examples....................................................................................24
Using CONREP......................................................................................................................24
CONREP command-line syntax............................................................................................25
CONREP command-line arguments......................................................................................25
CONREP return codes........................................................................................................25
CONREP screen output.......................................................................................................26
CONREP -s (Store to Data file) ............................................................................................26
CONREP –l (Load from Data File).........................................................................................26
CONREP Data File Sample Contents for HP ProLiant servers not using the Oxx ROM family.........27
CONREP command file contents..........................................................................................28
Using HPRCU.........................................................................................................................28
HPRCU command-line syntax...............................................................................................29
HPRCU command line arguments.........................................................................................29
HPRCU return codes...........................................................................................................29
HPRCU sample XML format.................................................................................................29
Using HPSSASCRIPTING..........................................................................................................30
Capturing a configuration...................................................................................................30
Using an Input script...........................................................................................................31
Creating an HP SSA script file.............................................................................................31
Sample custom input script.............................................................................................31
Script file options...............................................................................................................33
Control category...........................................................................................................34
Action mode............................................................................................................34
Method mode..........................................................................................................34
Controller category.......................................................................................................34
Controller................................................................................................................35
ChassisName..........................................................................................................35
ClearConfigurationWithDataLoss................................................................................35
LicenseKey, DeleteLicenseKey.....................................................................................35
PreferredPathMode...................................................................................................35
ReadCache, WriteCache...........................................................................................36
RebuildPriority, ExpandPriority....................................................................................36
SSPState..................................................................................................................36
SurfaceScanDelay....................................................................................................37
Video performance options........................................................................................37
Array category.............................................................................................................37
Array......................................................................................................................37
Drive.......................................................................................................................37
DriveType................................................................................................................38
OnlineSpare............................................................................................................38
Logical Drive category...................................................................................................38
ArrayAccelerator......................................................................................................39
LogicalDrive.............................................................................................................39
LogicalDriveSSPState.................................................................................................39
ParityGroups............................................................................................................39
4 Contents