Platform LSF Administration Guide Version 6.2
Host Groups
Administering Platform LSF
118
Host Groups
You can define a host group within LSF or use an external executable to retrieve host
group members.
Use
bhosts to view a list of existing hosts. Use bmgroup to view host group
membership use.
Where to use host groups
LSF host groups can be used in defining the following parameters in LSF configuration
files:
◆
HOSTS in lsb.queues for authorized hosts for the queue
◆
HOSTS in lsb.hosts in the HostPartition section to list host groups that are
members of the host partition
Configuring host groups
1
Log in as the LSF administrator to any host in the cluster.
2
Open lsb.hosts.
3
Add the HostGroup section if it does not exist.
Begin HostGroup
GROUP_NAME GROUP_MEMBER
groupA (all)
groupB (groupA ~hostA ~hostB)
groupC (hostX hostY hostZ)
groupD (groupC ~hostX)
groupE (all ~groupC ~hostB)
groupF (hostF groupC hostK)
desk_tops (hostD hostE hostF hostG)
Big_servers (!)
End HostGroup
4
Enter a group name under the GROUP_NAME column.
External host groups must be defined in the
egroup executable.
5
Specify hosts in the GROUP_MEMBER column.
(Optional) To tell LSF that the group members should be retrieved using
egroup,
put an exclamation mark (
!) in the GROUP_MEMBER column.
6
Save your changes.
7
Run badmin ckconfig to check the group definition. If any errors are reported,
fix the problem and check the configuration again.
8
Do one of the following:
a
Run badmin reconfig if you do not want the new group to be recognized
by jobs that were submitted before you reconfigured.
b
Run badmin mbdrestart if you want the new host to be recognized by jobs
that were submitted before you reconfigured.