LSF Version 7.3 - Administering Platform LSF

LSF User Groups
146 Administering Platform LSF
Where to use existing user groups
Existing user groups can be used in defining the following parameters in LSF
configuration files:
USERS in lsb.queues for authorized queue users
USER_NAME in lsb.users for user job slot limits
USER_SHARES (optional) in lsb.hosts for host partitions or in lsb.queues or
lsb.users for queue fairshare policies
LSF User Groups
You can define an LSF user group within LSF or use an external executable to
retrieve user group members.
Use
bugroup to view user groups and members, use busers to view all users in the
cluster.
Where to use LSF user groups
LSF user groups can be used in defining the following parameters in LSF
configuration files:
USERS in lsb.queues for authorized queue users
USER_NAME in lsb.users for user job slot limits
USER_SHARES (optional) in lsb.hosts for host partitions or in lsb.queues for
queue fairshare policies
If you are using existing OS-level user groups instead of LSF-specific user groups,
you can also specify the names of these groups in the files mentioned above.
Configure user groups
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.
6 Optional: To enable hierarchical fairshare, specify share assignments in the
USER_SHARES column.