License Management
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.keylicense.expiry_gracelicense.block_when_oversized
Enforcement modes
sys.cluster.license.enforcement indicates effective mode:
normalread_onlyadmin_only