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 ComputeUnit
NAME MEMBER TYPE
encl1 (hostA hg1) enclosure
encl2 (hostC hostD) enclosure
encl3 (hostE hostF) enclosure
encl4 (hostG hg2) enclosure
rack1 (encl1 encl2) rack
rack2 (encl3 encl4) rack
cab1 (rack1 rack2) cabinet
End 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.