EasyManua.ls Logo

Avaya S8700 - Recovery

Avaya S8700
2618 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Recovery
Issue 1 May 2002
3-5555-233-143
Recovery
Watchdog and Applications
The Watchdog monitors the sanity of the various applications it initially created. It
does this using two mechanisms. The Watchdog receives:
A SIGCHLD signal if any process it created dies
Periodic heartbeat messages from those processes
If heartbeat messages go away for a certain time (as specified in the Watchdogs
configuration file), the application is killed. When an application terminates (either
unintentionally died or intentionally killed), Watchdog runs an application-specific
recovery script that:
May try to kill every process in the application
Checks for and corrects any resource problems
Tries to recreate the application
The Watchdog tries to recreate the application a specified number of times. If
unsuccessful after that number of tries within the specified retry interval, the
Watchdog runs the applications total failure script.
For MultiVantage, the recovery script kills every MultiVantage process. Its total
failure script kills off the MultiVantage processes and causes a Linux reboot.
Watchdog and Linux
The Watchdog also monitors several Linux services/daemons. Since the Linux
init process originally started these processes, Watchdog cant use the
SIGCHLD signal to monitor these processes. Instead, Watchdog uses a thread to
periodically check the validity of the process identifier for each monitored
processes. If invalid, the Watchdog calls a Linux script to stop and then restart the
particular service. The Linux services monitored by Watchdog are:
atd at daemon (runs programs at specific times)
crond cron daemon (runs programs periodically)
dbgserv provides debugging services
httpd Apache hypertext transfer protocol server
inetd Internet server daemon (provides telnet/rlogin/etc. connectivity)
klogd Linux kernel log daemon (manages logging from Linux
kernel/drivers)
prune monitors and cleans up partitions

Table of Contents

Other manuals for Avaya S8700

Related product manuals