Configure resource-based service classes

Resource-based guarantee service classes require a resource pool in lsb.resources and a service class in lsb.serviceclasses.

Note:

Hosts can only be included in one guaranteed resource pool.

  1. Configure a GuaranteedResourcePool section in lsb.resources. Begin with the line Begin GuaranteedResourcePool and end with the line End GuaranteedResourcePool.

    You can configure as many resource pools as you need. One resource pool can be used by several SLAs, and one SLA can access multiple resource pools.

    For example:

    Begin GuaranteedResourcePool
    NAME = GRP1A
    TYPE = hosts
    HOSTS = host1 host2 hgB
    DISTRIBUTION = [sla1,3] [sla2,25%] [sla3,3]
    DESCRIPTION = A resource pool used by sla1, sla2, and sla3.
    End GuaranteedResourcePool
  2. Configure a ServiceClass section in lsb.serviceclasses. Begin with the line Begin ServiceClass and end with the line End ServiceClass.

    You can configure as many service class sections as you need.

    Important:

    The name you use for your service class cannot be the same as an existing host partition or user group name.

    For example:

    Begin ServiceClass
    NAME = sla1
    GOALS = [GUARANTEE]
    ACCESS_CONTROL=USERS[ james tony jessica ]
    AUTO_ATTACH=Y
    DESCRIPTION = A guarantee SLA with access restricted to specific users. Jobs from these users will be attached to the SLA automatically and run on guaranteed resources if possible.
    End ServiceClass