
This directory contains the solution to dynamic reconfiguration of processors.
Normally when a processor is put on-line or off-line, LSF doesn't notice 
this change. In order to reflect the change of ncpus in LSF, the Admin has to 
manually execute command "lsadmin reconfig" and "badmin reconfig". 

Here we provide an elim to handle this automatically. It requires an elim to
be started on each LSF server host. elim is started by lim automatically. The 
side effect is that a dummy dynamic resource is created and this resource is 
shown by lsload -l.

elim, reconfigbatch:
   scripts that handle the reconfiguration of LSF Base and LSF Batch.
 
To enable the feature, change the configuration according to the following 
steps:

1. In lsf.cluster.<cluster_name> file,  at the end of section ResourceMap, 
add one line for dynamic resource dummy:

        Begin ResourceMap
        RESOURCENAME  LOCATION
        .....
        dr_restart    [default]     
        End ResourceMap


2. In lsf.shared file,  at the end of section Resource, add one line
for specifying dynamic resources:

        Begin Resource
        RESOURCENAME TYPE    INTERVAL INCREASING  DESCRIPTION
	....
        dr_restart   Numeric 3600          N      (DR restart resource)
        End Resource


3. Copy file elim to directory $LSF_SERVERDIR. This environment variable is 
specified in lsf.conf file. Under this directory, you should see lim, res, 
sbatchd, etc.

4. Copy file reconfigbatch to directory $LSF_BINDIR. This environment variable
is also specified in lsf.conf file. Under this directory, you should find lsid,
lsload, bsub, bhosts, etc.

5. Restart the whole cluster using:
	lsadmin limrestart -f all



