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.

Adding and Removing Hosts Dynamically<br />

WARNING<br />

Chapter 4<br />

Working with Hosts<br />

By default, all configuration changes made to <strong>LSF</strong> are static. You must manually<br />

change the configuration and restart the cluster (or at least all master<br />

candidates). Dynamic host configuration allows you to add hosts to the cluster<br />

or remove them without manually changing the configuration.<br />

When the dynamic host configuration is enabled, any host will be able to<br />

join the cluster. You can limit which hosts can be <strong>LSF</strong> hosts with the<br />

parameter <strong>LSF</strong>_HOST_ADDR_RANGE in lsf.cluster.cluster_name.<br />

How dynamic host configuration works<br />

Master LIM<br />

For dynamic host configuration, the master LIM:<br />

◆<br />

◆<br />

◆<br />

Master candidate LIMs (<strong>LSF</strong>_MASTER_LIST)<br />

Receives request to add hosts<br />

Informs other master candidates to refresh themselves when a host is<br />

added or removed<br />

Detects host unavailability and, if <strong>LSF</strong>_DYNAMIC_HOST_TIMEOUT is<br />

defined, removes unavailable hosts that are not master candidates<br />

To enable dynamic host configuration, you must define <strong>LSF</strong>_MASTER_LIST in<br />

lsf.conf. Specify a list of hosts that are candidates to become the master<br />

host for the cluster.<br />

This set of hosts reads the <strong>LSF</strong> configuration files when a new host is added to<br />

the cluster; other hosts (slave hosts) only receive the host configuration from<br />

master LIM. <strong>LSF</strong>_MASTER_LIST also identifies the hosts that need to be<br />

reconfigured after configuration change.<br />

Master candidate hosts are informed when a new host is added. When a master<br />

candidate becomes master host, its LIM receives requests from dynamic hosts<br />

to add them to the cluster.<br />

Master candidate hosts should share <strong>LSF</strong> configuration and binaries.<br />

Slave LIMs<br />

Dynamically added <strong>LSF</strong> hosts that will not be master candidates are slave<br />

hosts. Each dynamic slave host has its own <strong>LSF</strong> binaries and local lsf.conf<br />

and shell environment scripts (cshrc.lsf and profile.lsf). You must<br />

install <strong>LSF</strong> on each slave host.<br />

If <strong>LSF</strong>_STRICT_CHECKING is defined in lsf.conf to protect your cluster in<br />

untrusted environments, and your cluster has slave hosts that are<br />

dynamically added, <strong>LSF</strong>_STRICT_CHECKING must be configured in the local<br />

lsf.conf on all slave hosts.<br />

Slave LIMs report their availability to the master LIM when they start. When<br />

each slave host starts, it first contacts the master LIM to add itself to the cluster.<br />

The master host adds the host if it is not in its host table, or returns ok if the<br />

host has already been added.<br />

<strong>Administering</strong> <strong>Platform</strong> <strong>LSF</strong> 79

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

Saved successfully!

Ooh no, something went wrong!