Remote Lights-Out Mgmt (iLO 2, iLO, RILOE II) Forum
Showing results for 
Search instead for 
Do you mean 

RE:Problem in issuing ILO commands in DL320G5s server

SOLVED
Go to Solution
Occasional Advisor

RE:Problem in issuing ILO commands in DL320G5s server

Hi,
We are using some DL320G5 servers.

Problem is: When we are issuing the ILO command "stop system1" through "dante client" the system "fails to shut down".

The "start system1" for poweron is working though.
The servers are responding properly when we are operating through the GUI.

Please help if anyone is having the same problem and has got any solution.

Thanks in advance.
11 REPLIES
Honored Contributor

Re: RE:Problem in issuing ILO commands in DL320G5s server

Most likely cause is that Shutdown Event Tracker is enabled on Windows and is waiting for input.
Occasional Advisor

Re: RE:Problem in issuing ILO commands in DL320G5s server

Hi David,
Thanks for your suggestion. But I am using Ubuntu Lucid as my Operating System. Over it I have a "dante client" installed for creating socks connection to the iLO server. I am not using Windows OS. I am sorry for not mentioning these details earlier.

I am facing this problem with DL320G5 servers only.

Badly stuck!! Need more suggestions.
Thanks for all your responses in advance.
HPE Pro

Re: RE:Problem in issuing ILO commands in DL320G5s server

what command are you using in the GUI, momentary press, or press and hold?



__________________________________________________
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!   
Occasional Advisor

Re: RE:Problem in issuing ILO commands in DL320G5s server

Hi Jimmy,

I am using "press and hold" from GUI.
HPE Pro

Re: RE:Problem in issuing ILO commands in DL320G5s server

If you can get to the iLO CLI interface, I doubt the client your using has any factor.

As always, make sure you running the latest system ROM and iLO firmware.

When you issue the stop /system1 what is returned from iLO? You should see something like:

hpilo-> stop /system1
status=0
status_command=COMMAND COMPLETE
power-off signal sent to host server

The command "stop /system1" sends a gracefull shutdown command to an ACPI aware OS. Would be the same as doing a momentary press in the iLO GUI

I have a DL380 G5 Runing SLES11, depending on what state the system is in, the command reacts as follows:

anytime the OS is not "up" = system turns off

OS running at GUI login prompt (init 5) = popup asking if system should shutdown, restart, or hibernate

OS running no GUI (init 3) = system powers off gracefully

As a last resort you can issue this command which is the same as the GUI "press and hold"

stop /system1 -f

"Press and hold" is just like yanking the power cord; not the best option as you can corrupt the filesystem.



__________________________________________________
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!   
Occasional Advisor

Re: RE:Problem in issuing ILO commands in DL320G5s server

Thanks Jimmy. It worked!!

I was missing out on the fact that by issuing "stop system1" only I was actually doing "momentary press", whereas the need was powering the server off.

Thanks again.

Problem Solved! :)
Occasional Advisor

Re: RE:Problem in issuing ILO commands in DL320G5s server

In continuation.
The nodes I want to poweroff is in init 3.
But here through CLI if I issue only "stop system1" exactly the message is shown as posted by Jimmy. But unfortunately due to some unknown reason the system doesn't poweroff. Even I tried some multiple times it did not poweroff.

So, currently I am using the "stop system1 -f" only to power off. As pointed out by Jimmy it may corrupt the filesystem, but for our scenario it won't matter much since we are doing fresh OS installations.

For time being the problem solved. A huge releif, but I do mention the system running without gui is not powering off gracefully.
HPE Pro

Re: RE:Problem in issuing ILO commands in DL320G5s server

That would make me believe for whatever reason, your kernel is not ACPI aware.



__________________________________________________
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!   
Occasional Advisor

Re: RE:Problem in issuing ILO commands in DL320G5s server

Can u please let me know how can I check whether it supports ACPI and make the kernel ACPI aware.

Some more details, I am testing with some old kernels (2.6.18.x) and some not so old (2.6.32.x) due to specific reasons.
Honored Contributor

Re: RE:Problem in issuing ILO commands in DL320G5s server

dmesg | grep acpi

2.6.x kernels should understand ACPI unless explicitly turned off as in acpi=off in the boot loader...
Occasional Advisor

Re: RE:Problem in issuing ILO commands in DL320G5s server

Ok. thanks for all the help.
//Add this to "OnDomLoad" event