License server

Add node-locked machines

Give a machine a seat of its own, bound to its hardware, for months at a time.

A node-locked seat belongs to one machine, such as a dedicated test host that must always be able to run Tenon, and doesn’t come out of your floating pool. Each machine is identified by its fingerprint, and the machines allowed node-locked seats are listed in your signed license, so adding one means a license from Tangram with that machine in it.

Before you begin

  • Node-locked seats in your license, or a request for them. tenon license status shows how many your license has, after the floating ones.
  • Tenon installed on each machine that should get one.
  • A machine whose hardware id stays put. Virtual machines and containers can change their hardware id, or share one when they’re cloned, so give those floating seats.

1. Get each machine’s fingerprint

On each machine, run tenon license fingerprint. It prints the machine’s fingerprint, a one-way hash of its hardware id that reveals nothing about the hardware itself.

Get a machine's fingerprint
tenon license fingerprint > radar-host.fingerprint

2. Send the fingerprints to Tangram

Send Tangram every machine’s fingerprint, saying which machines to add and which to remove, and how many node-locked seats you need in all. Tangram sends back a new delegation.json with those machines in it.

3. Apply the new license

Apply the new license the same way as a renewal: replace the Secret licensed-trust, and restart the seat service. See Renew your license.

4. Turn node-locked seats on

On each machine, tell Tenon to use a node-locked seat. Its next licensed command checks out a node-locked seat, which lasts 90 days by default and renews as the machine uses it.

tenon license status then says Your seat … checked out ✓ (node-locked, …) after a licensed command. A machine that isn’t in your license can’t get a node-locked seat: its licensed commands stop with exit code 10. Set license.node_locked back to false to use a floating seat again.

Turn node-locked seats on
tenon license set license.node_locked truetenon license status

Next steps