3

So i have a server that has locked up twice recently.

What i want to do is catch any kernel panic/oops written to the serial console. I can ssh in and start the VSP and i'm running my SSH session in bash using script so anything written to the console should be logged by script.

The problem is iLO times-out and closes the SSH session.

A quick look in the web interface shows there is an iLO idle timeout but that can only bet set to max 120 minutes and not disabled.

Is there any way to disable iLO closing the SSH session so i can effectively log whats put out over the virtual serial port for some time, and hopefully catch what ever panic/oops is spat out at these seemingly random lockups.

3 Answers 3

3

Are you seeing anything in the system's IML logs? Do you have the management agents installed for the hardware?

What specific OS and model of ProLiant server are you using? If you have the agents installed, you should be getting some information relevant to the lockups or possibly tripping the ASR watchdog timer.

For the VSP. have you made the necessary changes to the kernel command line and Grub to output to the console?

For ILO, the model and firmware revision makes a difference. Current ILO2 and ILO3 firmware allows for an Infinite idle timeout under Access Options.

enter image description here

2
  • That looks to be the trick then. Firmware update should allow the connection to stay open. grub and login console are configured correctly the only issue is that iLO closes the connection. Sep 8, 2011 at 22:27
  • If you're coming in remotely and using PuTTY, you can also try the keepalive mentioned in another comment. I'd be very interested in whether you're getting anything useful in the output from the HP agents, though.
    – ewwhite
    Sep 8, 2011 at 22:32
2

If you can use PuTTY, maybe you can prevent a time out from occurring...

Putty Configuration

1

I'm not sure if the ilo's SSH implementation supports it but using the openssh client and setting ServerAliveInterval may help. It defaults to 0. I use it to keep my ssh connections active to prevent nat table timer timeouts. In ~/.ssh/config put:

ServerAliveInterval 60

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .