Skip to content

License Management

LicensingCluster Operations

MonkDB licensing can be managed through SQL and monitored through sys.cluster license fields.

Apply license key

SET LICENSE KEY 'MONK1....';

Inspect license status

SELECT
  "license"['status'],
  "license"['valid'],
  "license"['allowed_nodes'],
  "license"['current_nodes'],
  "license"['error']
FROM sys.cluster;

Deployment runbooks

Relevant settings

  • license.key
  • license.expiry_grace
  • license.block_when_oversized

Enforcement modes

sys.cluster.license.enforcement indicates effective mode:

  • normal
  • read_only
  • admin_only