iLO 2 Scripting and Command Line Guide

5 Group administration and iLO 2 scripting....................................................48
CPQLOCFG Utility..................................................................................................................48
Unauthenticated XML query.....................................................................................................48
Query definition in HP SIM......................................................................................................50
Application Launch using HP SIM.............................................................................................51
Batch processing using CPQLOCFG..........................................................................................52
CPQLOCFG parameters..........................................................................................................52
6 Perl scripting............................................................................................55
Using Perl with the XML scripting interface.................................................................................55
XML enhancements.................................................................................................................55
Opening an SSL connection.....................................................................................................56
Sending the XML header and script body..................................................................................56
7 Virtual Media scripting..............................................................................59
Scripting Web server requirements............................................................................................59
Using virtual media scripting ...................................................................................................59
Using Virtual Media on Linux servers through an SSH connection..................................................60
Virtual media image files.........................................................................................................61
CGI helper application............................................................................................................61
Setting up IIS for scripted virtual media......................................................................................62
8 HPONCFG online configuration utility.........................................................65
HPONCFG............................................................................................................................65
HPONCFG supported operating systems...................................................................................65
HPONCFG requirements.........................................................................................................65
Installing HPONCFG...............................................................................................................66
Windows server installation.................................................................................................66
Linux server installation ......................................................................................................66
HPONCFG utility....................................................................................................................66
HPONCFG command line parameters..................................................................................67
Using HPONCFG on Windows servers............................................................................67
Using HPONCFG on Linux servers...................................................................................68
Obtaining the basic configuration........................................................................................68
Obtaining a specific configuration.......................................................................................69
Setting a configuration.......................................................................................................70
Using variable substitution...................................................................................................71
Capturing and restoring a configuration................................................................................72
User commands.................................................................................................................73
9 Using RIBCL.............................................................................................75
Overview of the RIBCL.............................................................................................................75
XML header......................................................................................................................75
Data types........................................................................................................................75
String..........................................................................................................................75
Specific string...............................................................................................................75
Boolean string..............................................................................................................75
Response definitions...........................................................................................................75
RIBCL....................................................................................................................................76
RIBCL parameters...............................................................................................................76
RIBCL runtime errors...........................................................................................................76
LOGIN..................................................................................................................................76
LOGIN parameters.............................................................................................................77
LOGIN runtime errors.........................................................................................................77
USER_INFO...........................................................................................................................77
ADD_USER.......................................................................................................................77
ADD_USER parameters..................................................................................................78
4 Contents