Guide 80 of 81 · Running a fleet with Central Lite
Run a full Central deployment from the operator console
Open full Central's operator console on the operator host, add your passkey, and read the deployment's health, tenants, backups and audit chain.
Built, not yet claimed preview: this guide describes a package that has not passed its release gate.
The operator console is a page on your own machine that shows the deployment as its operators see it: each role's processes, the ingest log's lag, the stores, the tenants, the backups and the deployment's own audit chain. It never shows a tenant's data. Each change you make there asks for your passkey and is recorded in the chain under your name and the passkey's.
1. Open the console
On the operator host, the machine whose operator.json holds the operator role's connections, run operator ui. It listens on 127.0.0.1 only and prints an address on localhost with a launch code after #launch=: open it in your browser within two minutes. The code works once; press Enter in the terminal for a new address. The page refuses any other host name, and a page from any other origin cannot call it.
Give clickhouse.operator in operator.json the password of your operator_user, whose row policies show it no tenant's row, and the Overview shows ClickHouse's version and disks; without it, ClickHouse shows as not reached.
garm-central --full operator.json operator ui2. Add your passkey
Every change asks for a passkey registered on this host, so add one first: operator passkey add with a name prints an address that may add exactly one passkey. Open it, go to Passkeys and press Add; your browser asks for Touch ID, Windows Hello or a security key. The first passkey is approved by the launch code in your terminal. A later one is approved first by a passkey already registered, so a page session alone cannot add an approver.
operator passkey list lists them. operator passkey remove removes one without a passkey, since it only takes an approver away, which is how you retire a lost one. Each add and removal is recorded in the deployment audit chain.
garm-central --full operator.json operator passkey add laptopgarm-central --full operator.json operator passkey list
garm-central --full operator.json operator passkey remove old-key3. Read the deployment's health
Overview is read again every 10 seconds. Each role (edge, console, consumer, worker and signer) shows how many of its processes are ready, from the heartbeats each writes every 5 seconds: a role with no process that beat within 10 seconds is Down, unless your deployment does not run it. A role not among the deployment's roles and not seen for 10 minutes is Not deployed, and the tiles do not count it. List the roles in the operator host's --full file as roles (for example ["edge", "console", "consumer", "worker", "signer"]); without it the console assumes edge, consumer and worker, and the signer when the file has a signer block, so a console role that stopped long ago would read as not deployed. Each class stream shows how far its consumers are behind, turning amber past 30 seconds and red past 15 minutes. The stores show whether they answer and their disks, and the tiles count the problems, the newest event backup and the tenants.
4. Follow the ingest log
Ingest is read every 10 seconds too. Each class stream shows its server set, how many of its copies are caught up with its leader, and its tenants' consumers taken together: how many there are, the messages not yet delivered to them, those delivered and not yet stored, and those delivered again after no acknowledgement. Redeliveries that keep climbing mean ClickHouse is refusing or timing out the consumer's writes. When this host's --full file has a dr_mirror block, each stream's mirror in the DR region shows whether it is level with its stream and when it last heard from it.
See also
Back up full Central and recover from a disasterBack up full Central's Postgres, events and streams to another region, rehearse a restore, and bring the whole deployment back after losing it.
5. Watch the stores fill
Storage shows each store's size and its largest tables, every tenant's rows taken together. ClickHouse also shows its free disk, how fast it grew over this month and the last, and about when its disks fill at that rate: the badge turns amber under 30 days and red under 7. Postgres does not report its disks to SQL, so watch its volume where it runs. A NATS server set's room is what its streams' limits leave, since a stream refuses messages past its limit.
See also
Install full Central with HelmInstall full Central on Kubernetes: its datastores, the first tenant and its root, each role's keys, the chart from digests, a first admin and machine.
6. Follow a rolling upgrade
Upgrades is read every 10 seconds while you upgrade. Run the console from the new release: it compares the schema installed in Postgres with the one this build expects, lists every process seen in the last 10 minutes with the release it runs, and shows the phases in order. Preflight is done when the installed schema is this build's, and waits on the migration Job when this release's steps reach it; expand and backfill show the steps the Job ran; the roll counts the ready processes already on this release (a replaced pod stays listed for 10 minutes but is not counted); contract, the point of no return, stays blocked until every step is backfilled and every process has rolled, and then offers it: started with operator ui --contract on a host whose --full file holds the schema owner's sign-in, the screen runs it once you type the digest's first 12 characters and approve with your passkey; otherwise it shows the command. After a contract, the phase waits while ClickHouse's drops are pending: the next migrate runs them.
See also
Upgrade full Central to a new releaseUpgrade a full Central deployment while it serves: the schema expanded first, the roles rolled, then the old schema dropped once nothing runs on it.
7. Suspend, resume or limit a tenant
Tenants lists every organisation on the deployment with its address, state, machines, root (an evaluation root or a ceremony's, by its keys) and ingest quota, with how many machines used it today. The counts come from a function the database's owner runs for the tenant, never a row of its own. Suspend stops serving its machines (they keep enforcing their last policy and its data is untouched), Resume serves them again, and Set quota sets how many times the node-day budget each node may send, or none. Each asks for your passkey, which approves that change to that tenant only, and the notice names the entry it made in the chain.
See also
Run several organisations on one CentralAdd, limit, suspend and offboard the organisations a full Central deployment serves, and know what its operators can and can't see of each.
8. Follow imports and each tenant's lifecycle
Imports and lifecycle lists every tenant's creation, import from Central Lite, Lite delta, export, restore and deletion, newest first, from the deployment audit chain. One begun and not finished (an import or deletion that stopped part way) shows in amber: run a deletion or a restore again and it carries on from where it stopped; delete a tenant whose import stopped (without an export) and import it again. These operations run from this host's command line as the database's owner, never from the console, so the screen lists the commands, the move from Central Lite in its order.
See also
Move Central Lite to full CentralMove 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.
9. Check each tenant's key custody
Keys and custody lists each tenant with the keystore its keys are kept in: wrapped under your HSM's key through PKCS#11, under a Cloud KMS key, or under a software key in a file on the signer's host, which is weaker and shown in amber. Beside it are how many wrapped keys and sealed secrets the tenant holds and when its node CA expires, amber under 90 days and red under 30. Only counts and dates are shown: no key's name or bytes leaves the signer's tables.
See also
Install full Central with HelmInstall full Central on Kubernetes: its datastores, the first tenant and its root, each role's keys, the chart from digests, a first admin and machine.
10. Check backups and the audit chain
Backups and DR shows the latest restore or drill (its reason, who began it and how long every tenant took to enter restore mode, or a clock while it runs) and lists the finished event backups with each class stream's mark, from which a restore replays. Deployment audit shows the chain newest first: who made each change, as which database login, and whether the whole chain verifies. A change made in the console names you and the passkey that approved it.
See also
Back up full Central and recover from a disasterBack up full Central's Postgres, events and streams to another region, rehearse a restore, and bring the whole deployment back after losing it.
11. Know what the console can't see
The console never shows a tenant's data: no machine, event, policy or user of any tenant, only counts. Its health comes from the roles' heartbeats, so a role whose every process stopped shows as Down within about 20 seconds. It is not an alarm: a stalled ingest raises the ingest_lag alert after 15 minutes, whether or not anyone has the console open. Starting a DR drill, an import, an export, a deletion and creating a tenant run from this host with garm-central, as the backup, migrate and tenants guides show; the console shows each once chained. Which tenants are still in restore mode is read in each tenant's own scope, so operator restore status lists it, not the console.
See also
Back up full Central and recover from a disasterBack up full Central's Postgres, events and streams to another region, rehearse a restore, and bring the whole deployment back after losing it.