Sun Microsystems 120 Server User Manual


 
Chapter 9 Managing the Server From the Solaris Prompt 9-9
9.2.2 Enabling the LOM Watchdog Process From Your
Own Script or Command (lom -W on)
Note You do not normally need to do this. If you want to configure the LOM
device to perform an automatic server restart after a lockup, see Section 9.2.1,
“Configuring the LOM Watchdog to Restart the System After a Lockup” on page 9-8.
Only use the lom -W on option on the command line or in another script file if for
some reason you have removed the /etc/rc2.d/S25lom script.
The LOM device’s watchdog process is enabled by default and, if you type
lom -W on while this watchdog process is already running, the command will have
no effect. You can only run this command if you have removed the
/etc/rc2.d/S25lom script file or you have turned the watchdog off manually by
using the lom -W off command.
The default priocntl command is as follows:
priocntl -e -c RT lom -W on,40000,10000
The number 40,000 on this command line indicates the watchdog’s timeout period in
milliseconds; you can specify a different number. The number 10,000 indicates its pat
interval in milliseconds; again, you can specify a different number.
Note Do not specify a watchdog timeout period of less than 5,000 milliseconds. If
you do, you might find that the watchdog times out frequently even though the
server has not locked up. And this could cause your server to panic unnecessarily.
If the watchdog process times out (in other words, if it does not receive its expected
pat), the LOM device will turn on the server’s front and back Fault LEDs and
generate a LOM event report. However, it will not automatically reset the system. To
make it reset the system, you must use the -R option (see Section 9.2.3, “Setting the
Hardware Reset Option From a Script or Command (lom -R on)” on page 9-10.)
If you have no LOM watchdog process running already and you want the process
to run, type the following, or add it to another script file:
If you want the LOM device to perform an automatic server restart after a lockup,
you must include the -R on option in the command, as follows:
# lom -W on,40000,10000
# lom -W on,40000,10000 -R on