Platform LSF Reference Version 6.2
HostGroup Section
Platform LSF Reference
360
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.