You are here: Administration > Man Pages > lkcheck(8)

lkcheck(8)

NAME

lkcheck(8) - LifeKeeper Resource Health Monitoring Daemon

SYNOPSIS

lkcheck

DESCRIPTION

lkcheck is a daemon process that performs resource health monitoring of LifeKeeper-protected resources.

Periodically, lkcheck will wake up and read the current list of resources from LifeKeeper's configuration database. It will then attempt to execute quickCheck scripts to verify the health of each in-service resource.

If the quickCheck fails, local recovery of the resource will be initiated. The quickCheck scripts are located under the LKROOT directory in subsys/application/Resources/type/actions. Each resource application/type pair has a unique quickCheck script to check resource instances of that application and type. If the quickCheck script does not exist, all resources of that application and type will not be checked, but will be assumed to be in an OK state.

It is intended that lkcheck be run via init(8) from a line in /etc/inittab (see inittab(5)). This entry is controlled by LifeKeeper and should not be modified manually.

Configuration Constants

The operation of lkcheck may be customized. When the lkcheck process starts, it reads its configuration constants. All configuration constants have default values, but they may be set to other values with the use of the /etc/default/LifeKeeper configuration file. This file contains lines with the syntax name=value. Comments may terminate any line, and are introduced with the `#' character. Empty lines are ignored.

The configuration constants (with their default values) are:

LKCHECKINTERVAL

The length of time in seconds (120) between the beginning of one resource test cycle and the next.

If this parameter is 0, the daemon will disable itself. When disabled, the lkcheck process continues to run (i.e., it can be found in the process table), but is idle. To re-enable lkcheck, edit the configuration file and restart the daemon by using 'kill PID', where PID is the process ID of the lkcheck daemon.

FILESYSFULLWARN

When a LifeKeeper protected file system reaches this percentage (default is 90) capacity, the file system quickCheck script begins to log messages to the LifeKeeper "log" log file. See lk_log(8).

FILESYSFULLERROR

When a LifeKeeper protected file system reaches this percentage (default is 95) capacity, the file system quickCheck script begins to log messages to the system log. In addition, a LifeKeeper event of type filesys/diskfull will be sent, see sendevent(5), triggering the $LKROOT/events/filsys/diskfull/notify script to execute. This script can be customized to send email to an administrator to warn of an impending"disk full" condition.

© 2012 SIOS Technology Corp., the industry's leading provider of business continuity solutions, data replication for continuous data protection.