Platform LSF Administration Guide Version 6.2
Adding Hosts Dynamically
Administering Platform LSF
106
Adding dynamic hosts in a shared file system
If the new dynamically added hosts share the same set of configuration and binary files
with normal hosts, you only need to start the LSF daemons on that host and the host is
recognized by the master as an LSF host.
New installation
1
Specify the installation options in install.config.
The following parameters are required:
❖
LSF_TOP="/path"
❖
LSF_ADMINS="user_name [user_name ...]"
❖
LSF_CLUSTER_NAME="cluster_name"
❖
LSF_MASTER_LIST="host_name [host_name ...]"
List the hosts that are candidates to become the master host for the cluster.
2
Use lsfinstall -f install.config to install LSF.
Existing
installation
1
On the master host, configure the following parameters:
❖
lsf.conf:
✧
LSF_MASTER_LIST="host_name [host_name ...]"
List the hosts that are candidates to become the master host for the cluster.
✧
LSF_DYNAMIC_HOST_TIMEOUT=timeout[m | M] (optional)
Set an optional timeout value in hours or minutes. If the dynamic host is
unavailable for longer than the time specified, it is removed from the
cluster. To specify a value in minutes, append “
m” or “M” to the timeout
value.
❖
lsf.cluster.cluster_name (optional)
✧
LSF_HOST_ADDR_RANGE=IP_address ...
2
Log on as root to each host you want to join a cluster.
3
Use one of the following to set the LSF environment:
❖
For csh or tcsh:
%
source LSF_TOP/conf/cshrc.lsf
❖
For sh, ksh, or bash:
$
. LSF_TOP/conf/profile.lsf
4
Optionally, run hostsetup on each LSF server host.
You only need to run
hostsetup if you want LSF to automatically start when the
host is rebooted. For example:
#
cd /usr/share/lsf/6.2/install
#
./hostsetup --top="/usr/share/lsf" --boot="y"
For complete hostsetup usage, enter hostsetup -h.
5
Use the following commands start LSF:
#
lsadmin limstartup
#
lsadmin resstartup
#
badmin hstartup