Platform LSF Administration Guide Version 6.2

Chapter 10
Adding Resources
Administering Platform LSF
223
Configuring your application-specific SELIM
The master ELIM is installed as LSF_SERVERDIR/melim. After installation:
1
Define the external resources you need.
2
Write your application-specific SELIM to track these resources, as described in
Writing an ELIM” on page 224.
3
Put your ELIM in LSF_SERVERIR.
Naming your ELIM
Use the following naming conventions:
On UNIX, LSF_SERVERDIR/elim.application
For example, elim.license
On Windows, LSF_SERVERDIR\elim.application.[exe |bat]
For example, elim.license.exe
Existing ELIMs
Your existing ELIMs do not need to follow this convention and do not need to be
renamed. However, since melim invokes any ELIM that follows this convention, you
should move any backup copies of your ELIM out of LSF_SERVERDIR or choose a name
that does not follow the convention (for example, use elim_bak instead of elim.bak).
elim.user is
reserved
The name elim.user is reserved for backward compatibility. Do not use the
name elim.user for your application-specific elim.
How LSF uses ELIM for external resource collection
The values of static external resources are specified through the
lsf.cluster.cluster_name configuration file. The values of all dynamic resources,
regardless of whether they are shared or host-based, are collected through an ELIM.
When an ELIM is
started
An ELIM is started in the following situations:
On every host, if any dynamic resource is configured as host-based. For example, if
the LOCATION field in the
ResourceMap section of
lsf.cluster.cluster_name is ([default]), then every host will start an
ELIM.
On the master host, for any cluster-wide resources. For example, if the LOCATION
field in the
ResourceMap section of lsf.cluster.cluster_name is ([all]),
then an ELIM is started on the master host.
On the first host specified for each instance, if multiple instances of the resource
exist within the cluster. For example, if the LOCATION field in the
ResourceMap
section of
lsf.cluster.cluster_name is ([hostA hostB hostC] [hostD
hostE hostF])
, then an ELIM will be started on hostA and hostD to report
the value of that resource for that set of hosts.
If the host reporting the value for an instance goes down, then an ELIM is started
on the next available host in the instance. In above example, if
hostA became
unavailable, an ELIM is started on
hostB. If the hostA becomes available again
then the ELIM on
hostB is shut down and the one on hostA is started.
There is only one ELIM on each host, regardless of the number of resources on which
it reports. If only cluster-wide resources are to be collected, then an ELIM will only be
started on the master host.