Configuring host groups
Procedure
- Log in as the LSF administrator to any host in the cluster.
- Open lsb.hosts.
- 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
- Enter a group name under the GROUP_NAME column.
External host groups must be defined in the egroup executable.
- 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.
- Save your changes.
- Run badmin ckconfig to check the group definition. If any errors are reported, fix the problem and check the configuration again.
- Run badmin mbdrestart to apply the new configuration.