LSF Version 7.3 - Administering Platform LSF

Administering Platform LSF 145
Managing Users and User Groups
USERS: user4 user10 user11 engineers/
SHARES: [engineers, 40] [user4, 15] [user10, 34] [user11,
16]
About User Groups
User groups act as aliases for lists of users. The administrator can also limit the total
number of running jobs belonging to a user or a group of users.
You can define user groups in LSF in several ways:
Use existing user groups in the configuration files
Create LSF-specific user groups
Use an external executable to retrieve user group members
If desired, you can use all three methods, provided the user and group names are
different.
Existing User Groups as LSF User Groups
User groups already defined in your operating system often reflect existing
organizational relationships among users. It is natural to control computer resource
access using these existing groups.
You can specify existing UNIX user groups anywhere an LSF user group can be
specified.
How LSF recognizes UNIX user groups
Only group members listed in the /etc/group file or the file group.byname NIS
map are accepted. The users primary group as defined in the
/etc/passwd file is
ignored.
The first time you specify a UNIX user group, LSF automatically creates an LSF user
group with that name, and the group membership is retrieved by
getgrnam(3) on
the master host at the time
mbatchd starts. The membership of the group might be
different from the one on another host. Once the LSF user group is created, the
corresponding UNIX user group might change, but the membership of the LSF user
group is not updated until you reconfigure LSF (
badmin). To specify a UNIX user
group that has the same name as a user, use a slash (/) immediately after the group
name: group_name
/.
Requirements UNIX group definitions referenced by LSF configuration files must be uniform
across all hosts in the cluster. Unexpected results can occur if the UNIX group
definitions are not homogeneous across machines.
How LSF resolves users and user groups with the same name
If an individual user and a user group have the same name, LSF assumes that the
name refers to the individual user. To specify the group name, append a slash (
/) to
the group name.
For example, if you have both a user and a group named
admin on your system, LSF
interprets
admin as the name of the user, and admin/ as the name of the group.