Configuring compute units
Procedure
- Log in as the LSF administrator to any host in the cluster.
- Open lsb.params.
- Add the COMPUTE_UNIT_TYPES parameter
if it does not already exist and list your compute unit types in order
of granularity (finest first).
COMPUTE_UNIT_TYPES=enclosure rack cabinet
- Save your changes.
- Open lsb.hosts.
- Add the ComputeUnit section if it does not exist.
Begin ComputeUnitNAME MEMBER TYPEencl1 (hostA hg1) enclosureencl2 (hostC hostD) enclosureencl3 (hostE hostF) enclosureencl4 (hostG hg2) enclosurerack1 (encl1 encl2) rackrack2 (encl3 encl4) rackcab1 (rack1 rack2) cabinetEnd ComputeUnit - Enter a compute unit name under the NAME column.
External compute units must be defined in the egroup executable.
- Specify hosts or host groups in the MEMBER column of the
finest granularity compute unit type. Specify compute units in the
MEMBER column of coarser compute unit types.
(Optional) To tell LSF that the compute unit members of a finest granularity compute unit should be retrieved using egroup, put an exclamation mark (!) in the MEMBER column.
- Specify the type of compute unit in the TYPE column.
- Save your changes.
- Run badmin ckconfig to check the compute unit definition. If any errors are reported, fix the problem and check the configuration again.
- Run badmin mbdrestart to
apply the new configuration.
To view configured compute units, run bmgroup -cu.