Platform LSF Administration Guide Version 6.2
LSF User Groups
Administering Platform LSF
162
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.
Configuring user groups
1
Log in as the LSF administrator to any host in the cluster.
2
Open lsb.users.
3
Add the UserGroup section if it does not exist.
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.
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.