25.06.2015 Views

Administering Platform LSF - SAS

Administering Platform LSF - SAS

Administering Platform LSF - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>LSF</strong> User Groups<br />

<strong>LSF</strong> User Groups<br />

You can define an <strong>LSF</strong> user group within <strong>LSF</strong> or use an external executable to<br />

retrieve user group members.<br />

Use bugroup to view user groups and members, use busers to view all users<br />

in the cluster.<br />

Where to use <strong>LSF</strong> user groups<br />

<strong>LSF</strong> user groups can be used in defining the following parameters in <strong>LSF</strong><br />

configuration files:<br />

◆ USERS in lsb.queues for authorized queue users<br />

◆ USER_NAME in lsb.users for user job slot limits<br />

◆ USER_SHARES (optional) in lsb.hosts for host partitions or in<br />

lsb.queues for queue fairshare policies<br />

If you are using existing OS-level user groups instead of <strong>LSF</strong>-specific user<br />

groups, you can also specify the names of these groups in the files mentioned<br />

above.<br />

Configuring user groups<br />

1 Log in as the <strong>LSF</strong> administrator to any host in the cluster.<br />

2 Open lsb.users.<br />

3 Add the UserGroup section if it does not exist.<br />

Begin UserGroup<br />

GROUP_NAME GROUP_MEMBER USER_SHARES<br />

financial (user1 user2 user3) ([user1, 4]<br />

[others, 10])<br />

system (all) ([user2, 10]<br />

[others, 15])<br />

regular_users (user1 user2 user3 user4) -<br />

part_time_users (!) -<br />

End UserGroup<br />

4 Specify the group name under the GROUP_NAME column.<br />

External user groups must also be defined in the egroup executable.<br />

5 Specify users in the GROUP_MEMBER column.<br />

For external user groups, put an exclamation mark (!) in the<br />

GROUP_MEMBER column to tell <strong>LSF</strong> that the group members should be<br />

retrieved using egroup.<br />

6 (Optional) To enable hierarchical fairshare, specify share assignments in<br />

the USER_SHARES column.<br />

7 Save your changes.<br />

8 Run badmin ckconfig to check the new user group definition. If any<br />

errors are reported, fix the problem and check the configuration again.<br />

9 Run badmin reconfig to reconfigure the cluster.<br />

132<br />

<strong>Administering</strong> <strong>Platform</strong> <strong>LSF</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!