25.06.2015 Views

Administering Platform LSF - SAS

Administering Platform LSF - SAS

Administering Platform LSF - SAS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Changing Default LIM Behavior to Improve<br />

Performance<br />

Chapter 37<br />

Tuning the Cluster<br />

You may want to change the default LIM behavior in the following cases:<br />

◆ In very large sites. As the size of the cluster becomes large (500 hosts or<br />

more), reconfiguration of the cluster causes each LIM to re-read the<br />

configuration files. This can take quite some time.<br />

◆ In sites where each host in the cluster cannot share a common<br />

configuration directory or exact replica.<br />

In this section ◆ “Default LIM behavior” on page 487<br />

◆ “Change default LIM behavior” on page 487<br />

◆ “Reconfiguration and <strong>LSF</strong>_MASTER_LIST” on page 488<br />

◆ “How <strong>LSF</strong> works with <strong>LSF</strong>_MASTER_LIST” on page 488<br />

◆ “Considerations” on page 489<br />

Default LIM behavior<br />

By default, each LIM running in an <strong>LSF</strong> cluster must read the configuration files<br />

lsf.shared and lsf.cluster.cluster_name to obtain information about<br />

resource definitions, host types, host thresholds, etc. This includes master and<br />

slave LIMs.<br />

This requires that each host in the cluster share a common configuration<br />

directory or an exact replica of the directory.<br />

Change default LIM behavior<br />

The parameter <strong>LSF</strong>_MASTER_LIST in lsf.conf allows you to identify for the<br />

<strong>LSF</strong> system which hosts can become masters. Hosts not listed in<br />

<strong>LSF</strong>_MASTER_LIST will be considered as slave-only hosts and will never be<br />

considered to become master.<br />

By setting this parameter, you can reduce the time it takes to reconfigure a<br />

cluster and requests made to the file server. Only hosts listed in<br />

<strong>LSF</strong>_MASTER_LIST will read lsf.shared and lsf.cluster.cluster_name.<br />

Configuration information will then be propagated from the master LIM to<br />

slave-only LIMs.<br />

Setting <strong>LSF</strong>_MASTER_LIST (lsf.conf)<br />

1 Edit lsf.conf and set the parameter <strong>LSF</strong>_MASTER_LIST to indicate hosts<br />

that are candidates to become the master host. For example:<br />

<strong>LSF</strong>_MASTER_LIST="hostA hostB hostC"<br />

The order in which you specify hosts in <strong>LSF</strong>_MASTER_LIST is the preferred<br />

order for selecting hosts to become the master LIM.<br />

2 Save your changes.<br />

3 Reconfigure the cluster with the commands lsadmin reconfig and<br />

badmin mbdrestart.<br />

<strong>Administering</strong> <strong>Platform</strong> <strong>LSF</strong> 487

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

Saved successfully!

Ooh no, something went wrong!