LSF Version 7.3 - Administering Platform LSF
Adding Hosts Dynamically
80 Administering Platform LSF
Configure dynamic host parameters
1 In lsf.conf on the master host, define the parameter
LSF_DYNAMIC_HOST_WAIT_TIME, in seconds, and assign a value greater
than zero.
LSF_DYNAMIC_HOST_WAIT_TIME specifies the length of time a dynamic
host waits before sending a request to the master LIM to add the host to the
cluster.
For example:
LSF_DYNAMIC_HOST_WAIT_TIME=60
2 In lsf.conf on the master host, define the parameter
LSF_DYNAMIC_HOST_TIMEOUT.
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.
For example:
LSF_DYNAMIC_HOST_TIMEOUT=60m
3 In lsf.cluster.cluster_name on the master host, define the parameter
LSF_HOST_ADDR_RANGE.
LSF_HOST_ADDR_RANGE enables security by defining a list of hosts that
can join the cluster. Specify IP addresses or address ranges for hosts that you
want to allow in the cluster.
TIP: If you define the parameter LSF_ENABLE_SUPPORT_IPV6 in lsf.conf, IP addresses
can have either a dotted quad notation (IPv4) or IP Next Generation (IPv6) format; you do not
have to map IPv4 addresses to an IPv6 format.
For example:
LSF_HOST_ADDR_RANGE=100-110.34.1-10.4-56
All hosts belonging to a domain with an address having the first number
between 100 and 110, then 34, then a number between 1 and 10, then, a number
between 4 and 56 will be allowed access. No IPv6 hosts are allowed.
Start LSF daemons
1 Log on as root to each host you want to join the cluster.
2 Source the LSF environment:
❖ For csh or tcsh:
source LSF_TOP/conf/cshrc.lsf
❖ For sh, ksh, or bash:
. LSF_TOP/conf/profile.lsf