LSF Version 7.3 - Administering Platform LSF
Administering Platform LSF 81
Working with Hosts
3 Do you want LSF to start automatically when the host reboots?
❖ If no, go to step 4.
❖ If yes, run the hostsetup command. For example:
cd /usr/share/lsf/7.0/install
./hostsetup --top="/usr/share/lsf" --boot="y"
For complete hostsetup usage, enter hostsetup -h.
4 Is this the first time the host is joining the cluster?
❖ If no, use the following commands to start LSF:
lsadmin limstartup
lsadmin resstartup
badmin hstartup
❖ If yes, you must start the daemons from the local host. For example, if you
want to start the daemons on hostB from hostA, use the following
commands:
rsh hostB lsadmin limstartup
rsh hostB lsadmin resstartup
rsh hostB badmin hstartup
Removing dynamic hosts
To remove a dynamic host from the cluster, you can either set a timeout value, or
you can edit the
hostcache file.
Remove a host by setting a timeout value
LSF_DYNAMIC_HOST_TIMEOUT specifies the length of time (minimum 10
minutes) a dynamic host is unavailable before the master host removes it from the
cluster. Each time LSF removes a dynamic host,
mbatchd automatically
reconfigures itself.
NOTE: For very large clusters, defining this parameter could decrease system performance. If you
want to use this parameter to remove dynamic hosts from a very large cluster, disable the
parameter after LSF has removed the unwanted hosts.
1 In lsf.conf on the master host, define the parameter
LSF_DYNAMIC_HOST_TIMEOUT.
To specify minutes rather than hours, append m or M to the value.
For example:
LSF_DYNAMIC_HOST_TIMEOUT=60m