1 <!-- RIBCL Sample Script for HP Lights-Out Products -->
\r
2 <!--Copyright (c) 2003,2007 Hewlett-Packard Development Company, L.P.-->
\r
4 <!-- Description: This is a sample XML script to toggle the power -->
\r
5 <!-- on the host server in which one of the following -->
\r
6 <!-- devices is executing: -->
\r
7 <!-- Integrated Lights-Out 2 (iLO 2) -->
\r
8 <!-- Integrated Lights-Out (iLO) -->
\r
9 <!-- Remote Insight Lights-Out Edition II (RILOE II) -->
\r
11 <!-- NOTE: You will need to replace the USER_LOGIN and PASSWORD -->
\r
12 <!-- values with values that are appropriate for your -->
\r
13 <!-- environment. -->
\r
15 <!-- This script will use the ACPI Power Button function to -->
\r
16 <!-- attempt to gracefully shutdown the host operating system -->
\r
17 <!-- (if your OS supports and is configured for graceful -->
\r
18 <!-- shutdown) before it powers off the server. -->
\r
20 <!-- Use CPQLOCFG.EXE ver 2.26 or greater with this script. -->
\r
22 <!-- This script was written for iLO 2 firmware version 1.30 -->
\r
25 <!-- See "HP Integrated Lights-Out Management Processor -->
\r
26 <!-- Scripting and Command Line Resource Guide" for more -->
\r
27 <!-- information on scripting and the syntax of the RIBCL -->
\r
30 <!-- Firmware support infomation for this script: -->
\r
31 <!-- iLO 2 - All versions. -->
\r
32 <!-- iLO - All versions. -->
\r
33 <!-- RILOE II - All versions. -->
\r
35 <RIBCL VERSION="2.0">
\r
36 <LOGIN USER_LOGIN="adminname" PASSWORD="password">
\r
37 <SERVER_INFO MODE="write">
\r
38 <!-- Modify the HOST_POWER attribute to toggle power on the host server -->
\r
39 <!-- HOST_POWER="No" (Turns host server power off) -->
\r
40 <!-- A graceful shutdown will be attempted for ACPI-aware -->
\r
41 <!-- operating systems configured to support graceful shutdown. -->
\r
42 <!-- HOST_POWER="Yes" (Turns host server power on) -->
\r
43 <SET_HOST_POWER HOST_POWER="No"/>
\r