The LoadLeveler daemons and processes keep log files according to the specifications in the configuration file. A number of keywords are used to describe where LoadLeveler maintains the logs and how much information is recorded in each log. These keywords, shown in Table 20, are repeated in similar form to specify the pathname of the log file, its maximum length, and the debug flags to be used.
Controlling debugging output describes the events that can be reported through logging controls.
Setting up file system monitoring describes keywords that monitor the available free
space on the file system and also enable system responses to increase system
fault tolerance.
Table 20. Log control statements
| Daemon/ Process | Log File (required)
(See note (PAT)) | Max Length (required)
(See note (MXL)) | Debug Control (required)
(See note (FLA)) |
|---|---|---|---|
| Master | MASTER_LOG = path | MAX_MASTER_LOG = bytes | MASTER_DEBUG = flags |
| Schedd | SCHEDD_LOG = path | MAX_SCHEDD_LOG = bytes | SCHEDD_DEBUG = flags |
| Startd | STARTD_LOG = path | MAX_STARTD_LOG = bytes | STARTD_DEBUG = flags |
| Starter | STARTER_LOG = path | MAX_STARTER_LOG = bytes | STARTER_DEBUG = flags |
| Negotiator | NEGOTIATOR_LOG = path | MAX_NEGOTIATOR_LOG = bytes | NEGOTIATOR_DEBUG = flags |
| Kbdd | KBDD_LOG = path | MAX_KBDD_LOG = bytes | KBDD_DEBUG = flags |
| GSmonitor | GSMONITOR_LOG = path | MAX_GSMONITOR_LOG = bytes | GSMONITOR_DEBUG = flags |
Notes:
You can also specify that the log file be started anew with every invocation of the daemon by setting the TRUNC statement to true as follows:
You can control the level of debugging output logged by LoadLeveler programs. The following flags are presented here for your information, though they are used primarily by IBM personnel for debugging purposes:
| Note: | A hierarchical message is sent from an originating node to lower ranked receiving nodes. |
For example,
SCHEDD_DEBUG = D_CKPT D_XDR
Causes the scheduler to log information about checkpointing user jobs and exchange xdr messages with other LoadLeveler daemons. These flags will primarily be of interest to LoadLeveler implementers and debuggers.
By default, LoadLeveler stores only the two most recent iterations of a daemon's log file (<daemon name>_Log, and <daemon name>_Log.old). Occasionally, for problem diagnosing, users will need to capture LoadLeveler logs over an extended period. Users can specify that all log files be saved to a particular directory by using the SAVELOGS keyword in a local or global configuration file. Be aware that LoadLeveler does not provide any way to manage and clean out all of those log files, so users must be sure to specify a directory in a file system with enough space to accommodate them. This file system should be separate from the one used for the LoadLeveler log, spool, and execute directories. The syntax is:
SAVELOGS = <directory>
Where <directory> is the directory in which log files will be archived.
Each log file is represented by the name of the daemon that generated it, the exact time the file was generated, and the name of the machine on which the daemon is running. When you list the contents of the SAVELOGS directory, the list of log file names looks like this:
NegotiatorLogNov02.16:10:39c163n10.ppd.pok.ibm.com NegotiatorLogNov02.16:10:42c163n10.ppd.pok.ibm.com NegotiatorLogNov02.16:10:46c163n10.ppd.pok.ibm.com NegotiatorLogNov02.16:10:48c163n10.ppd.pok.ibm.com NegotiatorLogNov02.16:10:51c163n10.ppd.pok.ibm.com NegotiatorLogNov02.16:10:53c163n10.ppd.pok.ibm.com StarterLogNov02.16:09:19c163n10.ppd.pok.ibm.com StarterLogNov02.16:09:51c163n10.ppd.pok.ibm.com StarterLogNov02.16:10:30c163n10.ppd.pok.ibm.com SchedLogNov02.16:09:05c163n10.ppd.pok.ibm.com SchedLogNov02.16:09:26c163n10.ppd.pok.ibm.com SchedLogNov02.16:09:47c163n10.ppd.pok.ibm.com SchedLogNov02.16:10:12c163n10.ppd.pok.ibm.com SchedLogNov02.16:10:37c163n10.ppd.pok.ibm.com StartLogNov02.16:09:05c163n10.ppd.pok.ibm.com StartLogNov02.16:09:26c163n10.ppd.pok.ibm.com StartLogNov02.16:09:47c163n10.ppd.pok.ibm.com StartLogNov02.16:10:12c163n10.ppd.pok.ibm.com StartLogNov02.16:10:37c163n10.ppd.pok.ibm.com