HP iLO 4 Scripting and Command Line Guide

Contents
1 Introduction.............................................................................................13
Scripting and command line guide overview..............................................................................13
Scripting and command line utilities..........................................................................................13
HPQLOCFG Utility.............................................................................................................14
LOCFG.PL Script................................................................................................................14
HPONCFG Utility..............................................................................................................14
SMASH CLP......................................................................................................................14
IPMI.................................................................................................................................15
New in this version.................................................................................................................15
HP Insight Control server deployment........................................................................................16
2 HPQLOCFG usage...................................................................................17
Configuring for unauthenticated XML queries..............................................................................17
Creating a system collection in HP SIM......................................................................................19
Launch applications with HP SIM custom tools............................................................................19
Batch processing using HPQLOCFG..........................................................................................19
HPQLOCFG command line parameters.....................................................................................20
Using quote characters.......................................................................................................20
Command line switches......................................................................................................21
Using variables and name value pairs with HPQLOCFG.....................................................21
3 LOCFG.PL usage......................................................................................23
LOCFG.PL Utility.....................................................................................................................23
LOCFG.PL command line switches.............................................................................................23
4 HPONCFG online configuration utility.........................................................24
HPONCFG............................................................................................................................24
HPONCFG supported operating systems...................................................................................24
HPONCFG requirements.........................................................................................................24
Installing HPONCFG...............................................................................................................24
Windows server installation.................................................................................................25
Linux server installation ......................................................................................................25
VMware installation...........................................................................................................25
HPONCFG utility....................................................................................................................25
HPONCFG command line parameters..................................................................................26
Using HPONCFG on Windows servers............................................................................26
Using HPONCFG on Linux servers...................................................................................27
Obtaining the basic configuration........................................................................................27
Obtaining a specific configuration.......................................................................................28
Setting a configuration.......................................................................................................29
Using variable substitution...................................................................................................29
Capturing and restoring a configuration................................................................................30
5 SMASH CLP usage...................................................................................32
SMASH CLP ..........................................................................................................................32
6 IPMI usage..............................................................................................33
The IPMI utility........................................................................................................................33
Basic IPMI tool usage..............................................................................................................33
Advanced IPMI tool usage on Linux...........................................................................................33
Advanced IPMIutil usage on Windows......................................................................................34
7 SMASH CLP Scripting Language................................................................35
SMASH CLP command line overview........................................................................................35
Contents 3