beautypg.com

Sun Microsystems Sun Fire V100 User Manual

Page 93

background image

Chapter 6

Managing the Sun Fire V100 Server From the Solaris Prompt

75

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:

Note –

Unless you include the

lom -W on

and

-R on

options in a script file, you

must run the

lom

command every time you reboot the system if you want to use the

automatic server restart facility. Otherwise the watchdog will not run, and the server
will not reset after a lockup.

To Set the

Hardware Reset

Option From a

Script or Command (

lom -R on

)

To make the LOM device’s watchdog process trigger an automatic server restart
(ASR) after a lockup, add the

-R on

option to the command in your

/etc/rc2.d/S25lom

script file. This is the script that runs the watchdog. For

instructions about how to do this, see “To Configure the LOM ASR” on page 73.

However, if for any reason you are not using the script file provided with your
system (

/etc/rc2.d/S25lom

) but have instead enabled the watchdog from the

command line or from another script file, you can turn the

Hardware reset

option

on.

To turn the

Hardware reset

option on, type the following at the command line:

To turn the

Hardware reset

option off from the command line,type:

# lom -W on,40000,10000

# lom -W on,40000,10000 -R on

# lom -R on

# lom -R off