Configure user groups

Procedure

  1. Log in as the LSF administrator to any host in the cluster.
  2. Open lsb.users.
  3. If the UserGroup section does not exist, add it:
    Begin UserGroup
    GROUP_NAME      GROUP_MEMBER            USER_SHARES
    financial       (user1 user2 user3)     ([user1, 4] [others, 10])
    system          (all)                   ([user2, 10] [others, 15])
    regular_users   (user1 user2 user3 user4) -
    part_time_users (!)                       -
    End UserGroup
  4. Specify the group name under the GROUP_NAME column.

    External user groups must also be defined in the egroup executable.

  5. Specify users in the GROUP_MEMBER column.

    For external user groups, put an exclamation mark (!) in the GROUP_MEMBER column to tell LSF that the group members should be retrieved using egroup.

    Note:

    If ENFORCE_UG_TREE=Y is defined in lsb.params, all user groups must conform to a tree-like structure, and a user group can appear in GROUP_MEMBER once at most. The second and subsequent occurrence of a user group in GROUP_MEMBER is ignored.

  6. Optional: To enable hierarchical fairshare, specify share assignments in the USER_SHARES column.
  7. Save your changes.
  8. Run badmin ckconfig to check the new user group definition. If any errors are reported, fix the problem and check the configuration again.
  9. Run badmin reconfig to reconfigure the cluster.