License Checking for Grid Engine

On large clusters, it is possible for jobs to fail because there are too few licenses for all the jobs to run. A mechanism has been provided to ensure that a queued job will not run unless all the licenses it requires are available. This facility is supported for the Grid Engine queuing systems. The configuration process consists of the following steps:

1. Define a resource representing each license in the queuing system configuration.
2. Configure the load sensor script, which reports how many tokens are available for each license, so that it can find the license file and the FLEXlm utility that it uses to query the license server. It can also be configured to reserve licenses for non-queue use. You can also set up Grid Engine to internally track license resources. This is an additional protection against the premature release of jobs.
3. Install this script in the appropriate queuing system directory.
4. Configure Job Control to specify license requirements when launching jobs.

Each of these steps is described in detail in the topics listed below.