License server

Renew your license

Apply a renewed license before your current one expires, with no reinstall and no change for your users.

Your license runs until a date Tangram sets, and after it, the license server issues no new seats. Before then, Tangram sends you a renewed license, which you apply by replacing one Secret and restarting the seat service. The license server keeps its key, and developers and CI carry on with the trust root they already have.

Before you begin

  • tenon license status, run on any machine with Tenon, shows when your license expires. Ask Tangram for a renewal well before that date.
  • A renewal can also change your seat counts, or which machines have node-locked seats. Tell Tangram what you need when you ask.

1. Get the renewed license from Tangram

Tangram signs a new delegation.json for the same license server key, and sends it with your trust root, root-pub.pem. Your trust root is normally the same as before.

2. Replace the license

Replace the Secret licensed-trust with the new files, then restart the seat service, which reads the license when it starts. Applying the Secret in place, as below, replaces it without a moment where it’s missing.

The seat service checks the new license against your trust root as it starts, and if the check fails, the new pods don’t start and the old ones keep serving. Seats already checked out stay valid until they expire.

Replace the license
kubectl -n tenon-licensing create secret generic licensed-trust \    --from-file=delegation.json --from-file=root-pub.pem \    --dry-run=client -o yaml | kubectl apply -f -kubectl -n tenon-licensing rollout restart \    deploy/license-manager-licensedkubectl -n tenon-licensing rollout status \    deploy/license-manager-licensed

3. Check the new expiry date

tenon license status shows the new expiry date, and the seat counts the renewed license allows.

Check the new expiry date
tenon license status

If your trust root changes

Tangram changes your trust root only rarely, and tells you when it does. A new trust root has to reach every machine that runs Tenon, as well as the license server: run tenon license configure --root-pubkey root-pub.pem --yes on each machine, and update the FLEX_LICENSE_ROOT_PUBKEY variable in GitLab or GitHub. New Tenon bundles from Tangram carry it too.

If your license has expired

An expired license stops new seats: Tenon commands that need one stop with exit code 10, and tenon license status reports the license as expired. The license server itself stays up and answers its health checks. Apply a renewed license, as above, and seats are available again straight away.

Next steps