Skip to content

Invitations and enrollment

Enrollment is how a node becomes a known member of an organization. An operator mints an invitation scoped to an organization and a pool; the node presents it on first start and receives a stable identity, a runtime credential, and an enrollment record that lasts as long as it does.

Enrollment settles who a node is. What work it does arrives separately as assignments, and which workspace that work belongs to travels on the assignment.

In this section

  • Enrollment covers what the exchange does, what the record holds, and the lifecycle states.
  • The enrollment identity set covers the four identities, what changes each one, and why they are separate.
  • Enrollment scope covers why a node enrols into an organization and a pool.
  • Invitations covers what an invitation scopes, what minting requires, and its binding to the governance revision.
  • Enrollment tokens covers minting, injecting and consuming the code, and the seed the node receives.
  • Node labels covers the operator-visible name and the two continuity rules that govern it.
  • Re-enrollment and idempotency covers what a returning node reuses and what it is issued fresh.
  • Identity continuity covers the durable node state that makes a restart a continuation.

Walkthrough

The three things to settle early

Reconcile before you mint. An invitation carries the organization's governance revision, and every reconcile advances it, so reconciling makes outstanding invitations unredeemable.

Mint close to use. The default lifetime is 900 seconds, clamped between 60 and 7200, and an unused invitation is a live admission credential.

Keep the durable volume. A node's identity lives at /var/lib/xratu/identity. Keeping it makes a restart a continuation; losing it makes the node a replacement.