ProLiant Servers (ML,DL,SL)
cancel
Showing results for 
Search instead for 
Did you mean: 

Stopping gracefully server using iLO2

Jack Frontiers
Occasional Advisor

Stopping gracefully server using iLO2

Hi,

I have a VMware hypervisor which must stop using an HP UPS agent. The agent can execute code when the UPS gives the shutdown message to the agent.

The easiest way is to emulate a "Momentary Press", which will cause the hypervisor to stop the running machines and itself.

In the console, using SSH, I have the following options in iLO2:

hpiLO-> POWER help
POWER : Control server power.
power - Display the current server power state
CLP COMMAND - show /system1 enabledstate
power on - Turn the server on
CLP COMMAND - start /system1
power off - Turn the server off
CLP COMMAND - stop /system1
power reset - Reset the server
CLP COMMAND - reset /system1
power warm - Warm boot the server
CLP COMMAND - reset /system1 soft

I don't see a command for the "Momentary Press" functionality of the webinterface. How can I do this?

Thanks!
3 REPLIES
Jimmy Vance
HPE Pro

Re: Stopping gracefully server using iLO2

if the OS is acpi aware the command "stop /system1" works like "momentary press" and does a graceful shutdown



__________________________________________________
No support by private messages. Please ask the forum!      I work for HPE

If you feel this was helpful please click the KUDOS! thumb below!   
Jack Frontiers
Occasional Advisor

Re: Stopping gracefully server using iLO2

I tested it, yes it works indeed.

Thanks!
Jimmy Vance
HPE Pro

Re: Stopping gracefully server using iLO2

Glad it solved your issue




__________________________________________________
No support by private messages. Please ask the forum!      I work for HPE

If you feel this was helpful please click the KUDOS! thumb below!