Include other options for the iLO, since 'reset' doesn't work when the machine
authorStephen Soltesz <soltesz@cs.princeton.edu>
Mon, 23 Jun 2008 17:05:42 +0000 (17:05 +0000)
committerStephen Soltesz <soltesz@cs.princeton.edu>
Mon, 23 Jun 2008 17:05:42 +0000 (17:05 +0000)
is powered off.  TODO: add the check to power the host On if it is off.

iloxml/PowerOff_Server.xml [new file with mode: 0644]
iloxml/PowerOn_Server.xml [new file with mode: 0644]

diff --git a/iloxml/PowerOff_Server.xml b/iloxml/PowerOff_Server.xml
new file mode 100644 (file)
index 0000000..2a91833
--- /dev/null
@@ -0,0 +1,46 @@
+<!--         RIBCL Sample Script for HP Lights-Out Products          -->\r
+<!--Copyright (c) 2003,2007 Hewlett-Packard Development Company, L.P.-->\r
+\r
+<!-- Description:  This is a sample XML script to toggle the power   -->\r
+<!--               on the host server in which one of the following  -->\r
+<!--               devices is executing:                             -->\r
+<!--                 Integrated Lights-Out 2 (iLO 2)                 -->\r
+<!--                 Integrated Lights-Out (iLO)                     -->\r
+<!--                 Remote Insight Lights-Out Edition II (RILOE II) -->\r
+\r
+<!-- NOTE:  You will need to replace the USER_LOGIN and PASSWORD     -->\r
+<!--        values with values that are appropriate for your         -->\r
+<!--        environment.                                             -->\r
+\r
+<!--        This script will use the ACPI Power Button function to   -->\r
+<!--        attempt to gracefully shutdown the host operating system -->\r
+<!--        (if your OS supports and is configured for graceful      -->\r
+<!--        shutdown) before it powers off the server.               -->\r
+\r
+<!--        Use CPQLOCFG.EXE ver 2.26 or greater with this script.   -->\r
+\r
+<!--        This script was written for iLO 2 firmware version 1.30  -->\r
+<!--        release.                                                 -->\r
+\r
+<!--        See "HP Integrated Lights-Out Management Processor       -->\r
+<!--        Scripting and Command Line Resource Guide" for more      -->\r
+<!--        information on scripting and the syntax of the RIBCL     -->\r
+<!--        XML.                                                     -->\r
+\r
+<!--        Firmware support infomation for this script:             -->\r
+<!--            iLO 2 - All versions.                                -->\r
+<!--              iLO - All versions.                                -->\r
+<!--         RILOE II - All versions.                                -->\r
+\r
+<RIBCL VERSION="2.0">\r
+  <LOGIN USER_LOGIN="adminname" PASSWORD="password">\r
+  <SERVER_INFO MODE="write">\r
+    <!-- Modify the HOST_POWER attribute to toggle power on the host server -->\r
+    <!-- HOST_POWER="No"  (Turns host server power off)              -->\r
+    <!-- A graceful shutdown will be attempted for ACPI-aware        -->\r
+    <!-- operating systems configured to support graceful shutdown.  -->\r
+    <!-- HOST_POWER="Yes" (Turns host server power on) -->\r
+    <SET_HOST_POWER HOST_POWER="No"/>\r
+  </SERVER_INFO>\r
+  </LOGIN>\r
+</RIBCL>\r
diff --git a/iloxml/PowerOn_Server.xml b/iloxml/PowerOn_Server.xml
new file mode 100644 (file)
index 0000000..fc5f40c
--- /dev/null
@@ -0,0 +1,46 @@
+<!--         RIBCL Sample Script for HP Lights-Out Products          -->\r
+<!--Copyright (c) 2003,2007 Hewlett-Packard Development Company, L.P.-->\r
+\r
+<!-- Description:  This is a sample XML script to toggle the power   -->\r
+<!--               on the host server in which one of the following  -->\r
+<!--               devices is executing:                             -->\r
+<!--                 Integrated Lights-Out 2 (iLO 2)                 -->\r
+<!--                 Integrated Lights-Out (iLO)                     -->\r
+<!--                 Remote Insight Lights-Out Edition II (RILOE II) -->\r
+\r
+<!-- NOTE:  You will need to replace the USER_LOGIN and PASSWORD     -->\r
+<!--        values with values that are appropriate for your         -->\r
+<!--        environment.                                             -->\r
+\r
+<!--        This script will use the ACPI Power Button function to   -->\r
+<!--        attempt to gracefully shutdown the host operating system -->\r
+<!--        (if your OS supports and is configured for graceful      -->\r
+<!--        shutdown) before it powers off the server.               -->\r
+\r
+<!--        Use CPQLOCFG.EXE ver 2.26 or greater with this script.   -->\r
+\r
+<!--        This script was written for iLO 2 firmware version 1.30  -->\r
+<!--        release.                                                 -->\r
+\r
+<!--        See "HP Integrated Lights-Out Management Processor       -->\r
+<!--        Scripting and Command Line Resource Guide" for more      -->\r
+<!--        information on scripting and the syntax of the RIBCL     -->\r
+<!--        XML.                                                     -->\r
+\r
+<!--        Firmware support infomation for this script:             -->\r
+<!--            iLO 2 - All versions.                                -->\r
+<!--              iLO - All versions.                                -->\r
+<!--         RILOE II - All versions.                                -->\r
+\r
+<RIBCL VERSION="2.0">\r
+  <LOGIN USER_LOGIN="adminname" PASSWORD="password">\r
+  <SERVER_INFO MODE="write">\r
+    <!-- Modify the HOST_POWER attribute to toggle power on the host server -->\r
+    <!-- HOST_POWER="No"  (Turns host server power off)              -->\r
+    <!-- A graceful shutdown will be attempted for ACPI-aware        -->\r
+    <!-- operating systems configured to support graceful shutdown.  -->\r
+    <!-- HOST_POWER="Yes" (Turns host server power on) -->\r
+    <SET_HOST_POWER HOST_POWER="Yes"/>\r
+  </SERVER_INFO>\r
+  </LOGIN>\r
+</RIBCL>\r