IBM Books

IBM LoadLeveler for AIX 5L: Using and Administering

Step 4: Define consumable resources

The LoadLeveler scheduler can schedule jobs based on the availability of consumable resources. You can use the following keywords to use Consumable Resources:

SCHEDULE_BY_RESOURCES = name name ... name
Specifies which consumable resources are considered by the LoadLeveler schedulers. Each consumable resource name may be an administrator-defined alphanumeric string, or may be one of the following predefined resources: ConsumableCpus, ConsumableMemory, or ConsumableVirtualMemory. Each string may only appear in the list once. These resources are either floating resources, or machine resources. If any resource is specified incorrectly with the SCHEDULE_BY_RESOURCES keyword, then all scheduling resources will be ignored.

FLOATING_RESOURCES = name(count) name(count) ... name(count)
Specifies which consumable resources are available collectively on all of the machines in the LoadLeveler cluster. The count for each resource must be an integer greater than or equal to zero, and each resource can only be specified once in the list. Any resource specified for this keyword that is not already listed in the SCHEDULE_BY_RESOURCES keyword will not affect job scheduling. If any resource is specified incorrectly with the FLOATING_RESOURCES keyword, then all floating resources will be ignored. ConsumableCpus, ConsumableMemory, and ConsumableVirtualMemory may not be specified as floating resources.

ENFORCE_RESOURCE_USAGE = ConsumableCpus ConsumableMemory | deactivate
Specifies that the AIX Workload Manager should be used to enforce CPU or real memory resources. This keyword accepts the predefined resources ConsumableCpus and ConsumableMemory. Either memory or CPUs or both can be enforced but the resources must also be specified on the SCHEDULE_BY_RESOURCES keyword. If deactivate is specified, LoadLeveler will deactivate AIX Workload Manager on all the nodes in the LoadLeveler cluster.

ENFORCE_RESOURCE_SUBMISSION = true | false
If the value specified is true, LoadLeveler will check all jobs at submission time for the resources keyword. The job command file resources keyword needs to have at least the resources specified as the ENFORCE_RESOURCE_USAGE keyword in order for the job to be submitted successfully.

If the value specified is false, no checking will be done and jobs submitted without the resources keyword will not have resources enforced. In this instance, those jobs may interfere with other jobs whose resources are enforced.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]