Connected Mode

Nomatron is in early access. Some advanced workflows may not be covered in the public docs.

connected is the standard production licensing mode for Nomatron.

In connected mode, the server validates its commercial license through the normal licensing path and keeps the runtime state fresh over time.

Use connected mode for production installations.

When To Use Connected Mode

Use connected mode when:

  • the Nomatron installation can reach the normal licensing validation path;
  • you are deploying a standard commercial installation.

Connected mode is the default. Offline licensing for teams in air-gapped environments is coming soon .

Minimal Configuration

Connected-mode installs need a license key and a cluster key (licensing.cluster_key or NOMATRON_CLUSTER_KEY). Generate it yourself, for example with openssl rand -base64 32, and keep it for the life of the database. Nomatron does not store or issue cluster keys, so keep it in your secrets manager alongside the encryption key and back it up; it cannot be recovered if lost. All servers in the same installation must use the same cluster key. If it is missing, startup and nomatron database init fail with licensing cluster_key is required for connected mode.

In practice, prefer the environment variables (NOMATRON_LICENSE_KEY, NOMATRON_CLUSTER_KEY) supplied from your secret manager over literal values in the config file.

Example:

hcl
licensing {
  license_key = "YOUR_LICENSE_KEY"
  cluster_key = "YOUR_CLUSTER_KEY"
}

If you want to be explicit, you can also set:

hcl
licensing {
  mode        = "connected"
  license_key = "YOUR_LICENSE_KEY"
  cluster_key = "YOUR_CLUSTER_KEY"
}

If you leave mode unset, Nomatron uses connected, so you only need to provide the two keys.

What Healthy Connected Mode Looks Like

In a healthy state, runtime signals should show:

  • runtime_mode=connected
  • validation_status=healthy
  • a valid license state
  • blocking=false

Typical startup signal:

text
INFO  nomatron: licensing state changed: runtime_mode=connected validation_status=healthy healthy=true warnings=0 errors=0 blocking=false

What Operators Should Watch

Connected mode should be treated as an ongoing runtime dependency rather than a one-time startup check.

Monitor for:

  • transitions from healthy to degraded or invalid;
  • quota pressure as usage grows;
  • unexpected blocking issues; and
  • any entitlement change that affects planned usage.

Degraded State In Connected Mode

Connected mode can become degraded if fresh validation is not succeeding but previously valid state is still acceptable.

That usually means:

  • Nomatron is still operating;
  • the current state is not fully healthy; and
  • the operator should investigate the validation path before the cached state becomes unusable.

Best Practices

  • Set the license key and cluster key before production go-live, and back up the cluster key with your database credentials.
  • Confirm healthy validation after every fresh installation.
  • Include licensing in routine health review and alerting.
  • Check quota usage before major cluster, environment, or team expansion.
  • Treat blocking licensing issues as control-plane incidents, not cosmetic warnings.