Specifications
Configuration
Read the next section carefully. The daemon is designed to recover from errors and will reset the
system if not configured carefully. Planning and care should be given to how this is installed and
configured. This section is not intended to explain and configure watchdog, but only to explain and
configure how LifeKeeper interoperates in such a configuration.
Configuration
The following steps should be carried out by an administrator with root user privileges. The
administrator should already be familiar with some of the risks and issues with watchdog.
The health check script (LifeKeeper monitoring script) is the component that ties the LifeKeeper
configuration with the watchdog configuration
(/opt/LifeKeeper/samples/watchdog/LifeKeeper-watchdog). This script provides full
monitoring of LifeKeeper and should not require any modifications.
1. If watchdog has been previously configured, enter the following command to stop it. If not, go
to Step 2.
/etc/rc.d/init.d/watchdog stop
Confirmation should be received that watchdog has stopped
Stopping watchdog: [OK]
2. Edit the watchdog configuration file (/etc/watchdog.conf) supplied during the installation
of watchdog software.
l Modify test-binary:
test-binary = /opt/LifeKeeper/samples/watchdog/LifeKeeper-
watchdog
l Modify test-timeout:
test-timeout = 5
l Modify interval:
interval = 7
The interval value should be less than LifeKeeper communication path timeout (15 seconds),
so a good number for the interval is generally half of this value.
3. Make sure LifeKeeper has been started. If not, please refer to the Starting LifeKeeper topic.
4. Start watchdog by entering the following command:
/etc/rc.d/init.d/watchdog start
Confirmation should be received that watchdog has started
Starting watchdog: [OK]
5. To start watchdog automatically on future restarts, enter the following command:
chkconfig --levels 35 watchdog on
SteelEye Protection Suite for Linux119