Configuring automatic server restart – Sun Microsystems Sun Fire V100 User Manual

Page 91

Advertising
background image

Chapter 6

Managing the Sun Fire V100 Server From the Solaris Prompt

73

FIGURE 6-1

Sample LOM Device Event Log (Oldest Event Reported First)

Configuring Automatic Server Restart

You can configure automatic server restart (ASR) to restart a server automatically
after a lockup. LOM has a watchdog process that, by default, expects to be patted
every 10,000 milliseconds. If it does not receive a pat after 40,000 milliseconds
(default), then LOM switches on the front and back fault LEDs and generates a LOM
event report. However, it does not automatically restart the system unless you have
configured it to do so.

To Configure the LOM ASR

Add the

-R

option to the

priocntl

command in the script file called

/etc/

rc2.d/S25lom

.

This is the script that runs the LOM watchdog process:

When you have done this, LOM will restart the server whenever the watchdog times
out.

# lom -e 10

LOMlite Event Log:

+0h0m21s host reset

9/15/2000 17:35:28 GMT LOM time reference

+0h3m20s fault led state - ON

+0h3m24s fault led state - OFF

+0h39m34s Alarm 1 ON

+0h39m40s Alarm 3 ON

+0h39m54s Alarm 3 OFF

+0h40m0s Alarm 1 OFF

+0h48m52s fault led state - OFF

+0h49m39s Fan 1 FATAL FAULT: failed

+0h50m58s fault led state - ON

# lom -e 10

# priocntl -e -c RT lom -W on,40000,10000 -R on

Advertising