<!--          RIBCL Sample Script for Integrated Lights-Out          -->
<!--   Copyright (c) 2003 Hewlett-Packard Development Company, L.P.  -->

<!-- Description:  This is a sample XML script to toggle the power   -->
<!--               on the host server in which the iLO is executing. -->

<!-- NOTE:  You will need to replace the USER_LOGIN and PASSWORD     -->
<!--        values with values that are appropriate for your         -->
<!--        environment.                                             -->

<!--        This script will use the ACPI Power Button function to   -->
<!--        attempt to gracefully shutdown the host operating system -->
<!--        (if your OS supports and is configured for graceful      -->
<!--        shutdown) before it powers off the server.               -->

<!--        Use CPQLOCFG.EXE ver 2.10 or greater with this script    -->
<!--        This script was written for iLO firmware ver 1.10 or     -->
<!--        higher.                                                  -->
<!--        See the iLO User Guide for more information on scripting -->
<!--        and the syntax of the RIBCL XML.                         -->

<RIBCL VERSION="2.0">
  <LOGIN USER_LOGIN="adminname" PASSWORD="password">
  <SERVER_INFO MODE="write">
    <!-- Modify the HOST_POWER attribute to toggle power on the host server -->
    <!-- HOST_POWER="No"  (Turns host server power off) -->
    <!-- A graceful shutdown will be attempted for ACPI-aware -->
    <!-- operating systems configured to support graceful shutdown.  -->
    <!-- HOST_POWER="Yes" (Turns host server power on) -->
    <SET_HOST_POWER HOST_POWER="No"/>
  </SERVER_INFO>
  </LOGIN>
</RIBCL>