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.

Chapter 4<br />

Working with Hosts<br />

Limitation<br />

4 Optionally, run hostsetup on each <strong>LSF</strong> server host.<br />

You only need to run hostsetup if you want <strong>LSF</strong> to automatically start<br />

when the host is rebooted. For example:<br />

# cd /usr/local/lsf/5.1/install<br />

# ./hostsetup --top="/usr/local/lsf" --boot="y"<br />

For complete hostsetup usage, enter hostsetup -h.<br />

5 Use the following commands start <strong>LSF</strong>:<br />

# lsadmin limstartup<br />

# lsadmin resstartup<br />

# badmin hstartup<br />

The first time a non-shared slave host joins the cluster, daemons on the new<br />

host can only be started on local host. For example, the <strong>LSF</strong> administrator<br />

cannot start daemons on hostB from hostA by using lsadmin limstartup<br />

hostB. Instead, the first time the host joins the cluster, use:<br />

# rsh hostB lsadmin limstartup<br />

Allowing only certain hosts to join the cluster<br />

By default, any host can be dynamically added to the cluster. To avoid having<br />

unauthorized hosts join the cluster, you can optionally use<br />

<strong>LSF</strong>_HOST_ADDR_RANGE in lsf.cluster.cluster_name to identify a<br />

range of IP addresses to identify hosts that are allowed to be dynamically<br />

added as <strong>LSF</strong> hosts.<br />

<strong>LSF</strong>_HOST_ADDR_RANGE (lsf.cluster.cluster_name)<br />

If a value is defined for <strong>LSF</strong>_HOST_ADDR_RANGE, security for dynamically<br />

adding and removing hosts is enabled, and only hosts with IP addresses within<br />

the specified range can be added to or removed from a cluster dynamically.<br />

Automatic removal of dynamically added hosts<br />

By default, dynamically added hosts remain in the cluster permanently.<br />

Optionally, you can use <strong>LSF</strong>_DYNAMIC_HOST_TIMEOUT in lsf.conf to set<br />

an optional timeout value in hours or minutes.<br />

<strong>LSF</strong>_DYNAMIC_HOST_TIMEOUT (lsf.conf)<br />

If <strong>LSF</strong>_DYNAMIC_HOST_TIMEOUT is defined and a host is not a master<br />

candidate, when the host is unavailable for longer than the value specified, it<br />

is removed from the cluster.<br />

<strong>Administering</strong> <strong>Platform</strong> <strong>LSF</strong> 83

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

Saved successfully!

Ooh no, something went wrong!