Add consumers to a guaranteed resource pool

About this task

Change the DISTRIBUTION of a guaranteed resource pool in lsb.resources using live reconfiguration.

Procedure

Run bconf addmember gpool=pool_name "DISTRIBUTION=([SLA, share])"

For example, for the existing lsb.resources configuration:

...
Begin GuaranteedResourcePool
NAME=my_pool
DISTRIBUTION=([SLA1, 10] [SLA2, 30])
...
End GuaranteedResourcePool
...

Add another SLA and share:

bconf addmember gpool=my_pool "DISTRIBUTION=([SLA3, 10])"
bconf: Request for gpool <my_pool> accepted

Once accepted by bconf, the new share definition appears in bqueue -l output:

bresources -gl my_pool
GUARANTEED RESOURCE POOL: my_pool
TYPE: slots
DISTRIBUTION: [SLA1,10] [SLA2,30] [SLA3,10]
...
Note:

An SLA is neither a user group nor a host group. Do not use bconf to update an SLA.

For more about guaranteed resource pools see About guaranteed resources