LSF Version 7.3 - Platform LSF Configuration Reference

groupA includes hostA and hostD.
groupB includes hostF and hostK, along with all hosts in groupA.
The group membership of groupC is defined externally and retrieved by the egroup
executable.
Example 2
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)
End HostGroup
This example defines the following host groups:
groupA contains all hosts in the cluster.
groupB contains all the hosts in the cluster except for hostA and hostB.
groupC contains only hostX, hostY, and hostZ.
groupD contains the hosts in groupC except for hostX. Note that hostX must be a
member of host group groupC to be excluded from groupD.
groupE contains all hosts in the cluster excluding the hosts in groupC and hostB.
groupF contains hostF, hostK, and the 3 hosts in groupC.
Example 3
Begin HostGroup GROUP_NAME CONDENSE GROUP_MEMBER groupA N
(all) groupB N (hostA, hostB) groupC Y (all)
This example defines the following host groups:
groupA shows uncondensed output and contains all hosts in the cluster.
groupB shows uncondensed output, and contains hostA and hostB.
groupC shows condensed output and contains all hosts in the cluster.
Example 4
Begin HostGroup GROUP_NAME CONDENSE GROUP_MEMBER groupA Y
(host*) groupB N (*A) groupC N (hostB* ~hostB
[1-50]) groupD Y (hostC[1-50] hostC[101-150]) groupE
N (hostC[51-100] hostC[151-200]) groupF Y (hostD[1,3]
hostD[5-10]) groupG N (hostD[11-50] ~hostD[15,20,25] hostD2)
End HostGroup
This example defines the following host groups:
groupA shows condensed output, and contains all hosts starting with the string host.
groupB shows uncondensed output, and contains all hosts ending with the string A, such
as hostA.
groupC shows uncondensed output, and contains all hosts starting with the string
hostB except for the hosts from hostB1 to hostB50.
groupD shows condensed ouput, and contains all hosts from hostC1 to hostC50 and all
hosts from hostC101 to hostC150.
groupE shows uncondensed output, and contains all hosts from hostC51 to hostC100
and all hosts from hostC151 to hostC200.
groupF shows condensed output, and contains hostD1, hostD3, and all hosts from
hostD5 to hostD10.
groupG shows uncondensed output, and contains all hosts from hostD11 to hostD50
except for hostD15, hostD20, and hostD25. groupG also includes hostD2.
lsb.hosts
226 Platform LSF Configuration Reference