hp ilo-2 command line power off and power on problem

I have an hp G5 DL360 with iLO2 and when I try to do "power on" or "power off" it does not respond.  iLO only seems to respond to the "power reset" command.

Is there another way to power on and off using the iLO command line utility?
Who is Participating?

Download Sample xml scripts for ILO from here



Save following sample script as "poweroff.xml"

<!-- RIBCL Sample Script for HP Lights-Out Products -->
<!-- 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 one of the following -->
<!-- devices is executing: -->
<!-- Integrated Lights-Out 2 (iLO 2) -->
<!-- Integrated Lights-Out (iLO) -->
<!-- Remote Insight Lights-Out Edition II (RILOE II) -->

<!-- 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.25 or greater with this script. -->

<!-- This script was written for iLO 2 firmware version 1.10 -->
<!-- release. -->

<!-- See "HP Integrated Lights-Out Management Processor -->
<!-- Scripting and Command Line Resource Guide" for more -->
<!-- information on scripting and the syntax of the RIBCL -->
<!-- XML. -->

<!-- Firmware support infomation for this script: -->
<!-- iLO 2 - All versions. -->
<!-- iLO - All versions. -->
<!-- RILOE II - All versions. -->

<LOGIN USER_LOGIN="adminname" PASSWORD="password">
<!-- 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) -->

Now Assuming that your script is named "poweroff.xml" and that you have already downloaded and installed the HP Lights-Out Configuration Utility

Commands like this could do the trick:
C:\>cpqlocfg -s -f poweroff.xml -u Admin -p pword

Similarly you can start the server by exploring sample scripts.
jdanAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.