Skip to the content

Move Central Lite to full Central

Move a Central Lite org to full Central with every node, chain and record, without enrolling a machine again, and go back at any step before the end.

Built, not yet claimed preview: this guide describes a package that has not passed its release gate.

Export Central Lite's org, import it into full Central, hand the org root over so every node trusts both, freeze Lite and send what it recorded since the export, then point Lite's hostname at full Central. Nodes reconnect without enrolling again and resend what they kept while Lite was frozen, so no event is lost; until you leave restore mode on full Central, each step has a way back.

1. Check that every node follows root updates

A day before, on Central Lite, garm-central status shows the org root's custody: a ceremony root's holders must be at hand for the handover. garm-central root nodes --require with the installed version exits non-zero naming the nodes that trust an older one; a node that never takes root updates would not follow the move. Lower the DNS TTL of Lite's hostname to 60 seconds or less.

In the console, Settings → Move to full Central shows the same: the installed org root, how many nodes trust it, the nodes still behind, and the steps below with your org filled in.

garm-central status
garm-central root nodes --require 4

2. Export Lite's org, sealed to full Central

On full Central, operator tenant transfer-key writes a one-time transfer key's public half and keeps its secret in the new tenant's state directory. Copy the public half to Lite's host.

On Lite, root export prints each --root-fingerprint: check them against the enrolment token's or the ceremony record, never against the file alone. Then export --seal-keys-to writes the whole org to a new file, its pseudonymisation keys sealed to the transfer key. Copy the export to full Central's host.

garm-central --state-dir tenant operator tenant transfer-key --org 0192f1d2-7c3a-7b8e-9f00-000000000001 --out transfer-key
garm-central root export --out root-metadata
garm-central export --out lite-export --seal-keys-to transfer-key

3. Import it into full Central

operator tenant import creates the tenant in restore mode, after the export's root metadata verifies under the fingerprints you checked. restore verify checks every audit chain; restore status shows restore mode on and Lite's nodes not yet reported. Lite has noticed nothing: to go back, suspend the tenant and delete it with operator tenant delete --without-export.

garm-central --full full.json --state-dir tenant operator tenant import lite-export --root-fingerprint 3f1c…
garm-central --full full.json --state-dir tenant restore verify

4. Hand the org root over and wait for every node

Full Central writes a handover with root handover; Lite co-signs it with root cosign, which installs the next root version, and full Central installs it with root handover-install. A ceremony root's holders sign the handover offline first. Nodes take the new version as an ordinary root update and from then on trust both Centrals.

Wait until root nodes --require with the new version passes on Lite. A node that can't report in time, powered off or travelling, enrols again after the switch. To go back, run root lite on Lite and delete the tenant on full Central.

garm-central --full full.json --state-dir tenant root handover --out handover
garm-central root cosign handover --out cosigned
garm-central --full full.json --state-dir tenant root handover-install cosigned
garm-central root nodes --require 5

5. Freeze Lite and send the delta

Freeze Lite in the console (Settings → Move to full Central, a reason, then your passkey; owners only) or with garm-central freeze --reason. Both are chained. From then on Lite stores no batch and records no other change: nodes keep what they push in their outboxes, and every change an admin tries is refused with a link to this guide.

export --since writes what Lite recorded after the export as a delta, and operator tenant import --delta applies it to the tenant. A change that conflicts with what full Central changed since the import writes nothing: find what changed the row, or unfreeze and start again from the export. Anything Lite records after the first delta goes in a second, with another --since.

garm-central freeze --reason "the move to full Central"
garm-central export --since lite-export --out delta-1
garm-central --full full.json --state-dir tenant operator tenant import delta-1 --delta

6. Switch the hostname to full Central

Stop Lite's serve and point Lite's hostname at full Central's edge. Nodes reconnect with the certificates Lite issued and resend what the freeze held back. On full Central, restore status lists each node as reported, with no line for anything lost in a restore. To go back, suspend the tenant, point the hostname at Lite, start its serve and unfreeze it.

garm-central --full full.json --state-dir tenant restore status

7. Leave restore mode and retire Lite

With an erasure journal configured, restore journal runs every journalled erasure again; then restore finish leaves restore mode and installs the root version after the handover's, signed by full Central's own key. Going back after this is a reverse migration. Keep Lite's state directory, stopped, until root nodes --require with that version passes on full Central, then archive it as a backup.

garm-central --full full.json --state-dir tenant restore journal
garm-central --full full.json --state-dir tenant restore finish
garm-central --full full.json --state-dir tenant root nodes

8. Abort the move while Lite is frozen

Until the switch, unfreezing Lite aborts the move with nothing lost: nodes resend to Lite what they kept. Unfreeze in the console with Unfreeze and abort the move, or with garm-central unfreeze --reason; both are chained. Then delete the tenant on full Central as after the import.

garm-central unfreeze --reason "the cutover is postponed"