Skip to main content
This runbook takes you from bare VMs to a working installation on a closed network: the delivery kit verified, the mirror loaded, telemetry and the Hub running behind your nginx, Agents connected, and nodes serving RPC. Later releases follow Upgrade. Check the requirements first. Commands run as root, in bash, on the host each step names. Replace every <...> placeholder, brackets included. The examples use these values — replace them with yours:

Decide the proxy mode

Pick the proxy mode before you start. It’s set once on the Hub (NVCL_PROXY_MODE) and must be the same in every Agent’s [proxy] mode: Proxy modes and TLS explains both in depth.

Prepare the hosts

On every host, put your CA in the OS trust store:
Then install the packages each host needs from your apt mirror:

Postgres 17

Your DBA provides Postgres 17 on the Hub host or reachable from it — or install it from your apt mirror. The Hub needs an empty database and a role that owns it. On the database host:
Back up the database before every Hub upgrade, from the Hub host. The password is read from the terminal, so it stays out of the shell history and the process list:
A restore goes into the same database with the Hub stopped: pg_restore --clean --if-exists -h <db host> -U nvcl -d nvcl /var/backups/nvcl/<file>.dump.

Verify the delivery kit

On the Hub host, work in a directory only root can write, so nothing changes a file between its check and its use:
1

Pin the release key

With the first delivery — and whenever Novacula announces a new key — keep the release public key on the Hub host, only if its fingerprint matches the one you received over the second channel:
Every delivery is checked against this pinned copy, never against a nvcl-release.pub.pem that arrives with a kit — whoever could change an archive could change that key too.
2

Check the signed listing and extract

Check the listing’s signature, that it is the listing of the release you expect, and every archive it names that you received. Extract only those, and only if all three checks pass:
It must print Verified OK, OK for each archive you received, and no archive name, FAILED, or STOP line. A changed archive fails the digest check; a whole older release fails the name check (it’s signed too); anything else in the directory is never extracted.
3

Check the files inside

Check every extracted archive’s own file listing. The loop must print nothing, and every release the last command prints must be your release:
A chain pack you receive on its own later is checked the same way with that release’s SHA256SUMS and SHA256SUMS.sig, or with its own signature: openssl dgst -sha256 -verify /etc/nvcl/nvcl-release.pub.pem -signature <archive>.sig <archive>.

Load the mirror

Agents download node binaries, their Java runtime, and their own updates from the mirror only, never from the public origin. Load it on the Hub host from the extracted kit; if another host serves the mirror, copy /srv/nvcl-mirror there afterwards:
The last command must print nothing — keep the tree free of symlinks. Later releases are added to the same tree; never delete files there while a node may still use them. Serve the mirror as a file:// tree on every Agent host (mounted read-only over NFS, or copied) or as a static http(s) site. Agent sources has both layouts and an nginx site for the http(s) one. Then check that the mirror is complete, with the Agent from the verified kit, for the chains whose packs you loaded, exactly as the Agents will reach it:
It lists every file the Agent needs that the mirror lacks and exits non-zero if there is any. For an http(s) mirror, publish it first and run the check from a host on the Agents’ network; for an https mirror under your CA, add --ca-file /usr/local/share/ca-certificates/nvcl-ca.crt — the Agent’s own Java runtime doesn’t read the OS trust store.

Telemetry

On the Hub host, install Mimir and Loki from telemetry/nvcl-telemetry-<release>-linux-x64.tar.gz in the platform archive, following the Install section of the README.md inside that tarball. Run its commands from /root/nvcl-kit/nvcl-platform-<release>/telemetry/ and leave out the first one (sha256sum -c): the archive ships no .sha256 beside the tarball, and the kit check above already covered it. The commands wait until both stores answer /ready. Neither store authenticates its callers, so confirm nothing listens off loopback. This must print lines for 9009 and 3100 at least, and every address must start with 127.0.0.1: or [::1]::
The supported layout keeps both stores on the Hub host, on loopback. Moving them to another host needs a reverse proxy in front of them that verifies the Hub’s tokens — you provide and run it; the telemetry README.md describes what it must check.

Hub

1

Unpack the Hub

The tarball holds its own Java runtime, the Hub, the web console, the launcher bin/nvcl-hub, and the unit systemd/nvcl-hub.service.
2

Generate the secrets

The Hub refuses to start without its signing and encryption keys and the bootstrap password. Generate the secrets straight into hub.env:
Keep a copy of the whole /etc/nvcl/hub.env with your backups, stored apart from the database dumps — in your secret store, for example. NVCL_HUB_SECRET_KEY, NVCL_ALERT_SECRET_KEY, and NVCL_AUTH_SECRET_KEY encrypt the stored secrets, alert-channel credentials, and authenticator secrets: without them those rows can’t be read, and with them anyone holding a dump can. To restore onto a new Hub host, install that copy instead of generating new keys.
3

Fill in hub.env

Every key in /etc/nvcl/hub.env carries a comment. Edit the rest by hand:There is no license key here: you upload the license after the first start.
4

Put nginx in front of the Hub

Put the Hub’s certificate (leaf followed by intermediates) at /etc/nginx/tls/hub.crt and its key at /etc/nginx/tls/hub.key (mode 0600), write the site from nginx in front of the Hub to /etc/nginx/conf.d/nvcl-hub.conf with your server_name, then:
Keep the site’s proxy_set_header lines as they are: the Hub trusts the forwarded headers it receives, so nginx must overwrite them. Every workstation that opens the console resolves the Hub’s name through your internal DNS and trusts your CA in its browser.
5

Start the Hub

Once it’s ready, both answer {"status":"UP"}:
The unit runs the Hub as nvcl with a read-only file system; the Hub writes nothing but its log, which goes to the journal. On first start it creates its database schema.
6

Sign in as the super-admin

Open https://hub.example.local/ and sign in as the bootstrap super-admin. Change the password in the console, then delete the three NVCL_AUTH_BOOTSTRAP_USERS_0_* lines from hub.env — later starts never change that user anyway.The API calls in the next steps need a super-admin access token. Without MFA enrolled for that user:
The token is short-lived: repeat the sign-in when a call answers 401.
7

Install the license

A fresh Hub runs a 7-day trial with one executor and one running node. As the super-admin, open the admin console’s License page (https://hub.example.local/admin/license) and paste or choose the license file you received, nvcl-license.jwt, then Install license. It takes effect immediately, without a restart. See License for the API and what an expiry does.
8

Create the organization and an executor key

As the super-admin, create the organization and its owner:
Or let the owner register in the console, if NVCL_WHITELIST_ENTRIES admits them (with an SMTP relay set, they confirm their address by email first). The owner then signs in and creates an executor API key. Its exc_… value is shown once; one key per Agent host is the easiest to revoke.
9

Register the Agent release

install.sh and Agent self-updates take the Agent from the latest registered release. Register it with its URL under your mirror — written exactly as the Agents’ [sources] mirror will be — and the sha256 from its sidecar in the verified kit, not from the mirror:

Agent hosts

On each Agent host, with your CA already in the OS trust store:
1

Run the installer without starting the Agent

The key is read without echo and passed in the environment, so it stays out of the shell history and the process list.
  • install.sh downloads the Agent from the mirror URL you registered and checks it against the registered sha256, so a wrong registration fails here rather than at the first self-update.
  • NVCL_CA_FILE is copied to /etc/nvcl/hub-ca.pem and written to [tls] ca_file, because the Agent’s Java runtime doesn’t read the OS store. See CA trust.
  • NVCL_SKIP_SYSTEMD=1 installs the Agent and writes its config without starting it. Started with default settings, it would run the Cloud proxy mode and try to download its proxy from the internet, which a closed network drops.
2

Edit agent.toml

install.sh wrote /etc/nvcl/agent.toml with the tables [agent], [source], [hub], [logging], and [tls]. The Agent refuses to start on an unknown key or a repeated table, so edit the file rather than appending a second [agent].Under the existing [agent] line, add the address the Hub, the peers, and your clients reach this host on. A private IPv4 is accepted only when written here:
Then append, with mode equal to the Hub’s NVCL_PROXY_MODE:
An Agent offers Bitcoin, Ethereum, and Tron by default. Add the [[sources.checkpoint]] and [[sources.snapshot]] entries this host’s nodes need — see Nodes below and Agent sources.The file holds the executor key: keep it 0600 (chmod 600 /etc/nvcl/agent.toml if your editor replaced it).
3

Register and start the Agent

agent install registers and starts the unit; the restart applies the file to an Agent that was already running. After a later edit of agent.toml, systemctl restart nvcl-agent is enough.
4

Check the Agent

The executor appears in the console under its NVCL_NAME once it has synced — the Hub creates it on the first sync with the key. During the trial only the first executor is admitted.
A reinstall with NVCL_FORCE=1 rewrites agent.toml from scratch. Run it with NVCL_SKIP_SYSTEMD=1 as above and apply your edits again before the restart.

Nodes

Create nodes in the console on the executor that should run them, as in Deploy a node. What each chain needs on its host first:
  • Ethereum (geth, besu, or reth with Lighthouse) — Lighthouse needs a checkpoint endpoint you name per network in [[sources.checkpoint]]: a beacon node of your own, or one public provider you allow through the firewall. A reth node on mainnet also needs a reth snapshot manifest. On sepolia and hoodi run geth or besu.
  • Bitcoin (bitcoind) — nothing beyond the mirror.
  • Tron (java-tron) — a snapshot archive you supply, one [[sources.snapshot]] entry for a Full node and one with variant = "lite" for a Lite node. For event streaming, point the node’s event-plugin-config at a MongoDB you run.

RPC exposure

Mode off: direct ports

Give each node Direct RPC exposure and always fill in Restrict access (CIDR) with the sources allowed to reach it — an empty list leaves the port open to everyone. On an Ethereum node, set both the execution client and Lighthouse to Direct: the Agent opens the port only when every RPC role of the node is direct. In the API that’s the node spec’s exposure:
The Agent turns the allow-list into nftables rules and reports the host port on the node’s RPC tab. For HTTPS, terminate it on an nginx you run — see TLS in front of a direct port.

Mode nginx: pools

On each Agent host, include the Agent’s nginx file once inside the http block of /etc/nginx/nginx.conf, then nginx -t && systemctl reload nginx:
With AppArmor or SELinux, let nginx read /var/lib/nvcl. Then, for each pool:
1

Create the pool and add members

Create the pool in the console and add its member nodes. A member needs a verified advertised address inside NVCL_NETWORK_PRIVATE_CIDRS.
2

Upload its certificate

The Hub generates the pool’s key and CSR; your CA signs the CSR; you upload the full chain on the pool’s Certificate tab. Automatic issuance isn’t available. A chain up to your private CA shows the private_ca note — clients must trust that CA.
3

Publish DNS

Point the pool domain at its members’ advertised addresses in your internal DNS. The pool shows Create these records in your DNS; the Hub doesn’t check them.
4

Check every member serves

Check the pool’s per-executor edge status, edgeHosts in GET /v1/organizations/<organization id>/pools/<pool id>: a member missing there, one with an error, or one whose reportedAt has stopped moving is the host to check.
5

Decide who may call it

A new pool also answers callers without a key, under its default guest limits. To serve key holders only, create client keys on the pool’s Access tab, then set its Access policy to key holders only — the Hub refuses to withdraw guest access while the pool has no live key. See Access.
A one-member pool is how a single node gets a domain with keys and rate limits. Pools behind nginx covers what the Agent writes and how it reloads nginx.