Platform LSF Administration Guide Version 6.2
Host Groups
Administering Platform LSF
120
Begin HostGroup
GROUP_NAME GROUP_MEMBER
groupA (hostA*)
groupB (groupA)
End HostGroup
Defining condensed host groups
You can define condensed host groups to display information for its hosts as a summary
for the entire group. This is useful because it allows you to see the total statistics of the
host group as a whole instead of having to add up the data yourself. This allows you to
better plan the distribution of jobs submitted to the hosts and host groups in your
cluster.
You cannot add dynamic hosts to condensed host groups, and you cannot
delete dynamic hosts from condensed host groups.
To define condensed host groups, add a CONDENSE column to the HostGroup
section. Under this column, enter
Y to define a condensed host group or N to define an
uncondensed host group, as shown in the following:
Begin HostGroup
GROUP_NAME CONDENSE GROUP_MEMBER
groupA Y (hostA hostB hostD)
groupB N (hostC hostE)
End HostGroup
The following commands display condensed host group information:
◆
bhosts
◆
bhosts -w
◆
bjobs
◆
bjobs -w
For the
bhosts output of this configuration, see “Viewing all hosts in the cluster and
their status” on page 94.
Use
bmgroup -l to see whether host groups are condensed or not.
Hosts belonging
to multiple
condensed host
groups
If you configure a host to belong to more than one condensed host groups using
wildcards,
bjobs can display any of the host groups as execution host name.
For example, host groups
hg1 and hg2 include the same hosts:
Begin HostGroup
GROUP_NAME CONDENSE GROUP_MEMBER # Key words
hg1 Y (host*)
hg2 Y (hos*)
End HostGroup
Submit jobs using bsub -m:
% bsub -m "hg2" sleep 1001
bjobs displays hg1 as the execution host instead of hg2: