Icon

This is the documentation for an older version of Qube. The latest version of the documentation can be found here: Qube

Skip to end of metadata
Go to start of metadata

Qube! keeps track of 4 numbers for licensing.

  • qb.conf controls 1,
  • the supervisor maintains 1,
  • The tool qbupdateresource controls 2 of them.

The qb.conf value is set like this, for example:

license.maya=50

This value of 50 can only be set in the qb.conf. This is the number of licenses allocated to the farm.

Let's say the output from the qbadmin command

% qbadmin supervisor --resources
license.maya=20/50

The value of 20 is the Supervisor-tracked license resource for the farm. The value of 20 means that 20 licenses are in use from a total allocation of 50.

The final 2 components, you won't see in the output of qbadmin. They represent

  1. "licenses currently in use across the facility" and
  2. total licenses in your facility.

This is because the Supervisor needs to differentiate between licenses it's using and licenses used outside of the farm. Since the Supervisor already knows how many licenses it is using, it can determine how many don't belong to the farm and adjust the available resources accordingly.

For example, if you issued a series of qbupdateresource calls

% qbupdateresource --name license.nuke --total 50 --used 10
% qadmin supervisor --resource
license.nuke=10/50
% qbupdateresource --name license.nuke --total 40 --used 10
% qadmin supervisor --resource
license.nuke=20/50

In the example because the total number of licenses in the whole facility dropped from 50 to 40, the supervisor compensates its in use number by 10 since now there are 10 less to work with.

  • No labels