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.

Adding and Removing Hosts Dynamically<br />

Adding dynamic hosts in a non-shared file system (slave hosts)<br />

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

shell environment scripts (cshrc.lsf and profile.lsf), you must install <strong>LSF</strong><br />

on each slave host.<br />

1 Specify installation options in the slave.config file.<br />

The following parameters are required:<br />

❖ <strong>LSF</strong>_SERVER_HOSTS="host_name [host_name ...]"<br />

❖ <strong>LSF</strong>_TARDIR="/path"<br />

❖ <strong>LSF</strong>_TOP="/path"<br />

The following parameters are optional:<br />

❖ <strong>LSF</strong>_LIM_PORT=port_number<br />

If the master host does not use the default <strong>LSF</strong>_LIM_PORT, you must<br />

specify the same <strong>LSF</strong>_LIM_PORT defined in lsf.conf on the master<br />

host.<br />

❖ <strong>LSF</strong>_LOCAL_RESOURCES=resource ...<br />

Defines the local resources for a dynamic host.<br />

✧ For numeric resources, defined name-value pairs:<br />

[resourcemap value*resource_name]<br />

✧<br />

For Boolean resources, the value will be the resource name in the<br />

form:<br />

[resource resource_name]<br />

For example:<br />

<strong>LSF</strong>_LOCAL_RESOURCES=[resourcemap 1*verilog] [resource<br />

linux]<br />

If <strong>LSF</strong>_LOCAL_RESOURCES are already defined in a local lsf.conf on the slave<br />

host, lsfinstall does not add resources you define in <strong>LSF</strong>_LOCAL_RESOURCES<br />

in slave.config.<br />

2 Use lsfinstall -s -f slave.config to install a dynamic slave host.<br />

lsfinstall creates a local lsf.conf for the slave host, which sets the<br />

following parameters:<br />

❖ <strong>LSF</strong>_CONFDIR="/path"<br />

❖ <strong>LSF</strong>_GET_CONF=lim<br />

❖ <strong>LSF</strong>_LIM_PORT=port_number (same as the Master LIM port number)<br />

❖ <strong>LSF</strong>_LOCAL_RESOURCES=resource ...<br />

❖ <strong>LSF</strong>_SERVER_HOSTS="host_name [host_name ...]"<br />

❖ <strong>LSF</strong>_VERSION=6.0<br />

3 Use one of the following to set the <strong>LSF</strong> environment:<br />

❖ For csh or tcsh:<br />

% source <strong>LSF</strong>_TOP/conf/cshrc.lsf<br />

❖<br />

For sh, ksh, or bash:<br />

$ . <strong>LSF</strong>_TOP/conf/profile.lsf<br />

82<br />

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

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

Saved successfully!

Ooh no, something went wrong!