LSF Version 7.3 - Administering Platform LSF

Adding Hosts Dynamically
76 Administering Platform LSF
Dynamic hosts cannot be master host candidates. By defining the parameter
LSF_MASTER_LIST, you ensure that LSF limits the list of master host candidates
to specific, static hosts.
mbatchd mbatchd gets host information from the master LIM; when it detects the addition
or removal of a dynamic host within the cluster,
mbatchd automatically
reconfigures itself.
TIP: After adding a host dynamically, you might have to wait for mbatchd to detect the host and
reconfigure. Depending on system load, mbatchd might wait up to a maximum of 10 minutes
before reconfiguring.
lsadmin command Use the command lsadmin limstartup to start the LIM on a newly added
dynamic host.
Allowing only certain hosts to join the cluster
By default, any host can be dynamically added to the cluster. To enable security,
define LSF_HOST_ADDR_RANGE in
lsf.cluster.cluster_name to identify a
range of IP addresses for hosts that are allowed to dynamically join the cluster as
LSF hosts. IP addresses can have either a dotted quad notation (IPv4) or IP Next
Generation (IPv6) format. You can use IPv6 addresses if you define the parameter
LSF_ENABLE_SUPPORT_IPV6 in
lsf.conf; you do not have to map IPv4
addresses to an IPv6 format.
Configure LSF to run batch jobs on dynamic hosts
Before you run batch jobs on a dynamic host, complete any or all of the following
steps, depending on your cluster configuration.
1 Configure queues to accept all hosts by defining the HOSTS parameter in
lsb.queues using the keyword all.
2 Define host groups that will accept wild cards in the
HostGroup section of
lsb.hosts.
For example, define
linuxrack* as a GROUP_MEMBER within a host group
definition.
3 Add a dynamic host to a host group using the command badmin hghostadd.
Changing a dynamic host to a static host
If you want to change a dynamic host to a static host, first use the command
badmin hghostdel to remove the dynamic host from any host group that it belongs
to, and then configure the host as a static host in
lsf.cluster.cluster_name.