25.06.2015 Views

Administering Platform LSF - SAS

Administering Platform LSF - SAS

Administering Platform LSF - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 9<br />

Adding Resources<br />

Configuring your application-specific SELIM<br />

Naming your ELIM<br />

Existing ELIMs<br />

The master ELIM is installed as <strong>LSF</strong>_SERVERDIR/melim. After installation:<br />

1 Define the external resources you need.<br />

2 Write your application-specific SELIM to track these resources, as described<br />

in “Writing an ELIM” on page 160.<br />

3 Put your ELIM in <strong>LSF</strong>_SERVERIR.<br />

Use the following naming conventions:<br />

◆<br />

◆<br />

On UNIX, <strong>LSF</strong>_SERVERDIR/elim.application<br />

For example, elim.license<br />

On Windows, <strong>LSF</strong>_SERVERDIR\elim.application.[exe |bat]<br />

For example, elim.license.exe<br />

Your existing ELIMs do not need to follow this convention and do not need to be<br />

renamed. However, since melim invokes any ELIM that follows this convention, you<br />

should move any backup copies of your ELIM out of <strong>LSF</strong>_SERVERDIR or choose a name<br />

that does not follow the convention (for example, use elim_bak instead of elim.bak).<br />

elim.user is<br />

reserved<br />

The name elim.user is reserved for backward compatibility. Do not use the<br />

name elim.user for your application-specific elim.<br />

How <strong>LSF</strong> uses ELIM for external resource collection<br />

When an ELIM is<br />

started<br />

The values of static external resources are specified through the<br />

lsf.cluster.cluster_name configuration file. The values of all dynamic<br />

resources, regardless of whether they are shared or host-based, are collected<br />

through an ELIM.<br />

An ELIM is started in the following situations:<br />

◆ On every host, if any dynamic resource is configured as host-based. For<br />

example, if the LOCATION field in the ResourceMap section of<br />

lsf.cluster.cluster_name is ([default]), then every host will start<br />

an ELIM.<br />

◆ On the master host, for any cluster-wide resources. For example, if the<br />

LOCATION field in the ResourceMap section of<br />

lsf.cluster.cluster_name is ([all]), then an ELIM is started on the<br />

master host.<br />

◆ On the first host specified for each instance, if multiple instances of the<br />

resource exist within the cluster. For example, if the LOCATION field in the<br />

ResourceMap section of lsf.cluster.cluster_name is ([hostA<br />

hostB hostC] [hostD hostE hostF]), then an ELIM will be stared on<br />

hostA and hostD to report the value of that resource for that set of hosts.<br />

If the host reporting the value for an instance goes down, then an ELIM is<br />

started on the next available host in the instance. In above example, if<br />

hostA became unavailable, an ELIM is started on hostB. If the hostA<br />

becomes available again then the ELIM on hostB is shut down and the one<br />

on hostA is started.<br />

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

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

Saved successfully!

Ooh no, something went wrong!