Version 2.20 or above of CPQLOCFG.EXE is required to configure iLO Directory Settings using RIBCL
scripts. Be sure that the Lights-Out Configuration Utility is in a directory referenced by the PATH
environment variable. Table 8 identifies the CPQLOCFG.EXE switches and their functions.
Table 8. CPQLOCFG.EXE switches
Switch
Function
-s
Determines the iLO that is to be updated.
-f
Provides the full path and name of the RIBCL file that
contains the actions to be performed.
-u
Specifies the user login name.
-p
Specifies the user password.
-l
Defines where the log file will be generated and what the
file name will be.
NOTE:
Do not use this switch if launching from Systems Insight Manager. Systems
Insight Manager will provide the address of the iLO when CPQLOCFG.EXE
is launched.
XML examples
Below are two examples of XML scripts executed using CPQLOCFG.EXE's command line syntax.
CPQLOCFG.EXE calls the XML file using the –f switch. Example 1 uses XML file 1
"Insert_Virtual_Media.xml" and example 2 uses XML file 2 "get_vmcd_status.xml".
Example 1: cpqlocfg.exe -s 16.100.200.199 -f Insert_Virtual_Media.xml
XML file 1: Insert_Virtual_Media.xml
<RIBCL VERSION="2.0">
<LOGIN USER_LOGIN="adminname" PASSWORD="password">
<RIB_INFO MODE="write">
<INSERT_VIRTUAL_MEDIA DEVICE="FLOPPY"
IMAGE_URL="http://16.100.200.33/images/Floppy/dos.bin"/>
</RIB_INFO>
</LOGIN>
</RIBCL>
Example 2: cpqlocfg.exe -s 16.100.200.199 -f get_vm_status.xml
XML file 2: get_vm_status.xml
<RIBCL VERSION="2.0">
<LOGIN USER_LOGIN="user" PASSWORD="password">
<RIB_INFO MODE="read">
<GET_VM_STATUS DEVICE="CDROM"/>
</RIB_INFO>
</LOGIN>
</RIBCL>
CLP scripting
HP has worked with key industry partners within the Distributed Management Task Force, Inc, to
define an industry-standard set of commands. iLO 1.70 implements the command set defined in the
Comments
The value is either the DNS name or IP
address of the target server.
If this switch is omitted, a default log file
with the DNS name or the IP address is
created.
30