Platform LSF Administration Guide Version 6.2
System Directories and Log Files
Administering Platform LSF
592
System Directories and Log Files
LSF uses directories for temporary work files, log files and transaction files and spooling.
LSF keeps track of all jobs in the system by maintaining a transaction log in the work
subtree. The LSF log files are found in the directory
LSB_SHAREDIR/cluster_name/logdir.
The following files maintain the state of the LSF system:
lsb.events
LSF uses the lsb.events file to keep track of the state of all jobs. Each job is a
transaction from job submission to job completion. LSF system keeps track of
everything associated with the job in the
lsb.events file.
lsb.events.n
The events file is automatically trimmed and old job events are stored in lsb.event.n
files. When
mbatchd starts, it refers only to the lsb.events file, not the
lsb.events.n files. The bhist command can refer to these files.
Job script files in the info directory
When a user issues a bsub command from a shell prompt, LSF collects all of the
commands issued on the bsub line and spools the data to
mbatchd, which saves the
bsub command script in the info directory (or in one of its subdirectories if
MAX_INFO_DIRS is defined in
lsb.params) for use at dispatch time or if the job is
rerun. The info directory is managed by LSF and should not be modified by anyone.
Log directory permissions and ownership
Ensure that the permissions on the LSF_LOGDIR directory to be writable by root.
The LSF administrator must own LSF_LOGDIR.
Support for UNICOS accounting
In Cray UNICOS environments, LSF writes to the Network Queuing System (NQS)
accounting data file,
nqacct, on the execution host. This lets you track LSF jobs and
other jobs together, through NQS.
Support for IRIX Comprehensive System Accounting (CSA)
The IRIX 6.5.9 Comprehensive System Accounting facility (CSA) writes an accounting
record for each process in the
pacct file, which is usually located in the
/var/adm/acct/day directory. IRIX system administrators then use the csabuild
command to organize and present the records on a job by job basis.
The LSF_ENABLE_CSA parameter in
lsf.conf enables LSF to write job events to
the
pacct file for processing through CSA. For LSF job accounting, records are written
to
pacct at the start and end of each LSF job.
See the Platform LSF Reference for more information about the LSF_ENABLE_CSA
parameter.
See the IRIX 6.5.9 resource administration documentation for information about CSA.