LSF Version 7.3 - Platform LSF Configuration Reference
Specify a License Scheduler service domain (described in the ServiceDomain section) that
distributes the licenses.
project_name
Specify a License Scheduler project (described in the Projects section) that is allowed to use
the licenses.
number_shares
Specify a positive integer representing the number of shares assigned to the project.
The number of shares assigned to a project is only meaningful when you compare it to the
number assigned to other projects, or to the total number assigned by the service domain. The
total number of shares is the sum of the shares assigned to each project.
number_licenses_owned
Optional. Specify a slash (/) and a positive integer representing the number of licenses that
the project owns.
default
A reserved keyword that represents the default License Scheduler project if the job submission
does not specify a project (bsub -Lp).
Description
Required if GROUP_DISTRIBUTION is not defined. Defines the distribution policies for the
license. The name of each service domain is followed by its distribution policy, in parentheses.
The distribution policy determines how the licenses available in each service domain are
distributed among the clients.
The distribution policy is a space-separated list with each project name followed by its share
assignment. The share assignment determines what fraction of available licenses is assigned
to each project, in the event of competition between projects. Optionally, the share assignment
is followed by a slash and the number of licenses owned by that project. License ownership
enables a preemption policy. (In the event of competition between projects, projects that own
licenses preempt jobs. Licenses are returned to the owner immediately.)
GROUP_DISTRIBUTION and DISTRIBUTION are mutually exclusive. If they are both
defined in the same feature, the License Scheduler daemon returns an error and ignores this
feature.
Examples
DISTRIBUTION=wanserver (Lp1 1 Lp2 1 Lp3 1 Lp4 1)
In this example, the service domain named wanserver shares licenses equally among four
License Scheduler projects. If all projects are competing for a total of eight licenses, each project
is entitled to two licenses at all times. If all projects are competing for only two licenses in total,
each project is entitled to a license half the time.
DISTRIBUTION=lanserver1 (Lp1 1 Lp2 2/6)
In this example, the service domain named lanserver1 allows Lp1 to use one third of the
available licenses and Lp2 can use two thirds of the licenses. However, Lp2 is always entitled
to six licenses, and can preempt another project to get the licenses immediately if they are
needed. If the projects are competing for a total of 12 licenses, Lp2 is entitled to eight licenses
(six on demand, and two more as soon as they are free). If the projects are competing for only
lsf.licensescheduler
Platform LSF Configuration Reference 513