Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
adamsla committed Jul 22, 2019
2 parents 63b14f9 + 2b16e79 commit 987dea3
Show file tree
Hide file tree
Showing 2 changed files with 217 additions and 59 deletions.
8 changes: 6 additions & 2 deletions elim.reaper/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
This Non Job User Process Reaper for LSF will remove any unauthroized users from the
compute hosts once their jobs have left those system. It provides an optional grace period called the LSF_LINGER_TIME that you can set in the lsf.reaper file in your $LSF_ENVDIR. The value is in seconds.

You can optionally set a LSF_SLEEP_TIME to a value in seconds as well. As you clusters become larger, you may not want them querying the batch system as much, so increasing this value may be practical in such cases. This value is also in seconds.
You can optionally set a LSF_SLEEP_TIME to a value in seconds as well. As your clusters become larger, you may not want them querying the batch system as much, so increasing this value may be practical in such cases. This value is also in seconds.

## How to Build and Install the Module

Expand Down Expand Up @@ -34,6 +34,10 @@ You can optionally set a LSF_SLEEP_TIME to a value in seconds as well. As you c

You can also optionally set LSF_EXCLUDED_HOSTS to a space delimited list of hostnames that should be excluded from the reaper check. An example of a host such as this would be a Login Node that is running LSF daemons for some reason. As always, LSF Administrators are not reaped, so this would not have to include hosts in the LSF_MASTER_LIST.

Additionally, there are two parameters that allow you to exclude LSF users from LSF user groups that should be allowed to login to the host even if there are not jobs running, for example a hardware maintenance group that though they do not manage LSF, they need to login from time to time to check the status of the system.

Those settings are LSF_EXCLUDED_UGROUPS wich needs to be set to a space delimited list of LSF user groups. Non LSF user groups will be ignored. The second parameter is the LSF_UGROUP_REFRESH, which instructs the elim.reaper how often it should recache the list off LSF users in those user groups. The default is 3600 seconds or once an hour.

If you wish to see debug output from the elim, you may run it with the --debug option.

## Community Contribution Requirements
Expand All @@ -55,7 +59,7 @@ Community contributions to this repository must follow the [IBM Developer's Cert

## Copyright

(C) Copyright IBM Corporation 2016-2018
(C) Copyright IBM Corporation 2016-2019

U.S. Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.
Expand Down
Loading

0 comments on commit 987dea3

Please sign in to comment.