25.06.2015 Views

Administering Platform LSF - SAS

Administering Platform LSF - SAS

Administering Platform LSF - SAS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Setting Daemon Message Log to Debug Level<br />

Setting Daemon Message Log to Debug Level<br />

How the message<br />

log level takes<br />

effect<br />

The message log level for <strong>LSF</strong> daemons is set in lsf.conf with the parameter<br />

<strong>LSF</strong>_LOG_MASK. To include debugging messages, set <strong>LSF</strong>_LOG_MASK to one<br />

of:<br />

◆ LOG_DEBUG<br />

◆ LOG_DEBUG1<br />

◆ LOG_DEBUG2<br />

◆ LOG_DEBUG3<br />

By default, <strong>LSF</strong>_LOG_MASK=LOG_WARNING and these debugging messages<br />

are not displayed.<br />

The debugging log classes for <strong>LSF</strong> daemons is set in lsf.conf with the<br />

parameters LSB_DEBUG_CMD, LSB_DEBUG_MBD, LSB_DEBUG_SBD,<br />

LSB_DEBUG_SCH, <strong>LSF</strong>_DEBUG_LIM, <strong>LSF</strong>_DEBUG_RES.<br />

The location of log files is specified with the parameter <strong>LSF</strong>_LOGDIR in<br />

lsf.conf.<br />

You can use the lsadmin and badmin commands to temporarily change the<br />

class, log file, or message log level for specific daemons such as LIM, RES,<br />

mbatchd, sbatchd, and mbschd without changing lsf.conf.<br />

The message log level you set will only be in effect from the time you set it until you<br />

turn it off or the daemon stops running, whichever is sooner. If the daemon is<br />

restarted, its message log level is reset back to the value of <strong>LSF</strong>_LOG_MASK and the<br />

log file is stored in the directory specified by <strong>LSF</strong>_LOGDIR.<br />

Limitations<br />

When debug or timing level is set for RES with lsadmin resdebug, or<br />

lsadmin restime, the debug level only affects root RES. The root RES is the<br />

RES that runs under the root user ID.<br />

Application RESs always use lsf.conf to set the debug environment.<br />

Application RESs are the RESs that have been created by sbatchd to service<br />

jobs and run under the ID of the user who submitted the job.<br />

This means that any RES that has been launched automatically by the <strong>LSF</strong><br />

system will not be affected by temporary debug or timing settings. The<br />

application RES will retain settings specified in lsf.conf.<br />

540<br />

<strong>Administering</strong> <strong>Platform</strong> <strong>LSF</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!