LSF Version 7.3 - Platform LSF Configuration Reference
Operating system Naming convention
Windows
LSF_SERVERDIR\elim.application.exe
or
LSF_SERVERDIR\elim.application.bat
Restriction:
The name elim.user is reserved for backward compatibility.
Do not use the name elim.user for your application-specific
elim.
Note:
LSF invokes any elim that follows this naming convention,—
move backup copies out of LSF_SERVERDIR or choose a
name that does not follow the convention. For example, use
elim_backup instead of elim.backup.
•
Exit upon receipt of a SIGTERM signal from the load information manager (LIM).
•
Periodically output a load update string to stdout in the format number_indices
index_name index_value [index_name index_value …] where
Value
Defines
number_indices
•
The number of external load indices collected by the elim.
index_name
•
The name of the external load index.
index_value
•
The external load index value returned by your elim.
For example, the string
3 tmp2 47.5 nio 344.0 licenses 5
reports three indices: tmp2, nio, and licenses, with values 47.5, 344.0, and 5, respectively.
• •
The load update string must report values between -INFINIT_LOAD and
INFINIT_LOAD as defined in the lsf.h header file.
•
The elim should ensure that the entire load update string is written successfully to
stdout. Program the elim to exit if it fails to write the load update string to stdout.
•
If the elim executable is a C program, check the return value of printf(3s).
•
If the elim executable is a shell script, check the return code of /bin/echo(1).
•
If the elim executable is implemented as a C program, use setbuf(3) during
initialization to send unbuffered output to stdout.
•
Each LIM sends updated load information to the master LIM every 15 seconds; the
elim executable should write the load update string at most once every 15 seconds. If
the external load index values rarely change, program the elim to report the new values
only when a change is detected.
If you map any external resource as default in lsf.cluster.cluster_name, all elim
executables in LSF_SERVERDIR run on all hosts in the cluster. If LSF_SERVERDIR contains
more than one elim executable, you should include a header that checks whether the elim
Feature: External load indices
108 Platform LSF Configuration Reference