ProLiant Servers (ML,DL,SL)
1855158 Members
3679 Online
104109 Solutions
New Discussion

Re: 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 3
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! 
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!