Configure compute units

Procedure

  1. Log in as the LSF administrator to any host in the cluster.
  2. Open lsb.params.
  3. 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

  4. Save your changes.
  5. Open lsb.hosts.
  6. 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
  7. Enter a compute unit name under the NAME column.

    External compute units must be defined in the egroup executable.

  8. 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.

  9. Specify the type of compute unit in the TYPE column.
  10. Save your changes.
  11. Run badmin ckconfig to check the compute unit definition. If any errors are reported, fix the problem and check the configuration again.
  12. Run badmin mbdrestart to apply the new configuration.

    To view configured compute units, run bmgroup -cu.