Platform LSF Reference Version 6.2
lsf.licensescheduler
Platform LSF Reference
579
◆
reporting_command
Specify the keyword
CMD with the directory path and command that License
Scheduler runs when reporting a violation.
Description
Optional. Defines how License Scheduler handles distribution policy violations.
Distribution policy violations are caused by non-LSF workloads because LSF License
Scheduler explicitly follows its distribution policies.
License Scheduler reports a distribution policy violation when the total number of
licenses given to the LSF workload, both free and in use, is less than the LSF workload
distribution specified in “WORKLOAD_DISTRIBUTION” on page 591. If License
Scheduler finds a distribution policy violation, it creates or overwrites the
LSF_LOGDIR/bld.violation.service_domain_name.log file and runs the
user command specified by the
CMD keyword.
Example
The LicenseServer1 service domain has a total of 80 licenses, and its workload
distribution and enforcement is configured as follows:
Begin Parameter
...
DISTRIBUTION_POLICY_VIOLATION_ACTION=(PERIOD 5 CMD /bin/mycmd)
...
End Parameter
Begin Feature
NAME=ApplicationX
DISTRIBUTION=LicenseServer1(Lp1 1 Lp2 2)
WORKLOAD_DISTRIBUTION=LicenseServer1(LSF 8 NON_LSF 2)
End Feature
According to this configuration, 80% of the available licenses, or 64 licenses, are
available to the LSF workload. License Scheduler checks the service domain for a
violation every five scheduling cycles, and runs the
/bin/mycmd command if it finds a
violation.
If the current LSF workload license usage is 50 and the number of free licenses is 10,
the total number of licenses assigned to the LSF workload is 60. This is a violation of
the workload distribution policy because this is less than the specified LSF workload
distribution of 64 licenses.
ENABLE_INTERACTIVE
Syntax
ENABLE_INTERACTIVE=Y
Description
Optional. Globally enables one share of the licenses for interactive tasks.
By default, ENABLE_INTERACTIVE is not set. License Scheduler allocates licenses
equally to each cluster and does not distribute licenses for interactive tasks.
EXT_FILTER_PORT
Syntax
EXT_FILTER_PORT=
integer
Description
Defines the TCP listening port used by all external plugins to communicate with License
Scheduler hosts. Specify any non-privileged port number.