Nodes & Domains
On this page 3 sections
A node is one running QSCS process on one host. A domain (also called a cluster) is a named collection of nodes that serve the same set of origins.
This page describes how the two relate and what each one stores.
Free deployments do not require account registration. Anonymous enrollment creates a persistent account handle and a distinct substrate ID, the authenticated state-sharing boundary. Each node has its own UUID and key. Node, domain and origin quantities are unlimited, including before registration. Claiming later associates that existing deployment with your registered account without changing its identities.
What a node knows
Each node keeps four small pieces of state on disk:
- Its identity, a UUID, generated on first start, that uniquely identifies this node across all clusters it ever joins.
- Its enrollment credentials or account license, which authorize its membership and entitlement. A UUID or account handle alone cannot authorize a join.
- Its configuration, under
/etc/qscsfor native installs or the persistent/var/lib/qscsstate directory in the container. Enrollment or subscription initializes it; configuration convergence keeps managed fields current. - Its cache, recent response bodies, in memory and (optionally) on disk for warm restarts.
A node can belong to one cluster at a time. After claiming, manage authorized assignments in the control panel. For adding a new member, use the enrollment or subscription method appropriate to that node; changing an identity or domain string in a local file does not grant membership.
What a domain is
A domain has:
- A short, human-friendly tag (for example
europe-edge). - A list of member nodes with peer addresses reachable by the other members. Kubernetes deployments can use stable per-pod DNS names.
- A designated master (one of the members).
- An optional elected fallback, a different member prepared to become master automatically if the current master fails.
- A list of origins, virtual hostnames mapped to backend addresses.
Membership, roles and origins live in the control plane. Initial subscription pulls this information and writes the local configuration. Running nodes then poll for newer snapshots every 20 seconds. A changed snapshot is applied automatically with a controlled restart; routine Control Panel changes do not require you to re-subscribe every member.
Anonymous deployments receive this configuration through authenticated enrollment too. See automatic Kubernetes joining or administrator invitations. Independent substrates may use the same upstream URL without exchanging private state.
Elect the fallback in Infrastructure → Manage → Master & Fallback: select the Fallback role, choose a member other than the master, and save. After that configuration is applied, the elected node can request automatic promotion after sustained master failure. Promotion requires an expired master lease and control-plane confirmation that the master is unreachable. The fallback must be able to reach the configured origin backend when promoted; an origin outage alone does not trigger master promotion.
Lifecycle
| Event | What changes |
|---|---|
| Node starts | Reads qscs.conf, opens cache, binds listening port. |
| Anonymous enrollment | Creates or joins an authorized substrate and persists the node's UUID, key and credentials. |
| Deployment claimed | Associates the substrate and its nodes with the registered account, preserving retained configuration and telemetry. |
| License activates | Node UUID is bound to an account in the control plane. |
| Domain subscribed | Config is rewritten with new peers and origins; daemon must restart. |
| Origins added/removed | A new configuration revision is published; running nodes apply it automatically. |
| Master changed | Nodes receive the new topology automatically; the new master uses the backend addresses and thin clients follow the elected master. |
| Fallback elected | The selected member receives the fallback role automatically and monitors the master for an eligible failure. |
| Node removed | Remaining members automatically receive the revised peer list. |
qscs subscribe; routine changes converge automatically. Allow time for polling and restart before checking the applied role.