Viewing guarantee policy information

About this task

Use the bsla command to view guarantee policy information from the point of view of a service class. For service classes with guarantee goals, the command lists configuration information for the service class, as well as dynamic information for the guarantees made to that service class in the various pools.

The following is an example of output from the bsla command:

bsla

SERVICE CLASS NAME:  sla1
 -- SLA ONE
ACCESS CONTROL:      QUEUES[normal]
AUTO ATTACH:         Y
GOAL:                GUARANTEE
                                      GUARANTEE  GUARANTEE   TOTAL
POOL NAME                       TYPE     CONFIG       USED    USED
 mypack                      package         74          0       0

SERVICE CLASS NAME:  sla2
 -- SLA TWO
ACCESS CONTROL:      QUEUES[priority]
AUTO ATTACH:         Y
GOAL:                GUARANTEE
                                      GUARANTEE  GUARANTEE   TOTAL
POOL NAME                       TYPE     CONFIG       USED    USED
 mypack                      package         18          0       0

bresources –g provides information on guarantee policies. It gives a basic summary of the dynamic info of the guarantee pools.

This can also be used together with the –l option: bresources –g –l. This displays more details about the guarantee policies, including showing what is guaranteed and in use by each of the service classes with a guarantee in the pool. For example:

> bresources –gl package_pool
GUARANTEED RESOURCE POOL: package_pool

TYPE: package[slots=1:mem=1000]
DISTRIBUTION: [sc1, 15] [sc2, 10]
LOAN_POLICIES: QUEUES[all]
HOSTS: all

STATUS: ok

RESOURCE SUMMARY:
  TOTAL                         130
  FREE                            7

  GUARANTEE CONFIGURED           25
  GUARANTEE USED                 18

                                     GUAR       GUAR      TOTAL
CONSUMERS                          CONFIG       USED       USED
sc1                                    15          8          8
sc2                                    10         10         41

The –m option can be used together with –g and –l to get additional host information, including:

  • Total packages on the host

  • Currently available packages on the host

  • Number of packages allocated on the host to jobs with guarantees in the pool

  • Number of packages occupied by jobs without guarantees in the pool.

The following example shows hosts in a package pool:

> bresources -glm
GUARANTEED RESOURCE POOL: mypack
Guaranteed package policy, where each package comprises slots and memory together on a single host.
 
TYPE: package[slots=1:mem=100]
DISTRIBUTION: [sla1, 80%] [sla2, 20%]
HOSTS: all
STATUS: ok
 
RESOURCE SUMMARY:
  TOTAL                         92
  FREE                          92
 
  GUARANTEE CONFIGURED          92
  GUARANTEE USED                 0
 
                           GUARANTEE    GUARANTEE     TOTAL
CONSUMERS                     CONFIG         USED      USED
  sla1                             74          0          0
  sla2                             18          0          0
 
                                           USED BY   USED BY
HOSTS                TOTAL       FREE    CONSUMERS    OTHERS
  bighp2                 8          8          0          0
  db05b02               12         12          0          0
  intel15                8          8          0          0
  intel4                40         40          0          0
  qataix07               2          2          0          0
  delpe01                2          2          0          0
  sgixe240               4          4          0          0
  bigiron02             16         16          0          0