Install and upgrade

Install from an offline bundle, install the agent, and the upgrade commands that exist.

On this page

Download first#

Start at portal.drillo.dev/downloads (sign in). Then verify with sha256sum -c SHA256SUMS --ignore-missing and the signature check in Download and verify, and run the install steps below.

Offline (air-gapped) bundle#

install.sh checks the signed bundle against a vendor public key you pin, then hands over to drillo install.

sh
./install.sh --pin <vendor-pubkey-hex|file> [--state DIR] [--name drillo] [--gate-port N] [--api-port N]

It runs the bundled CLI: drillo bundle-verify --dir <bundle> --pin <key> first and then drillo install --bundle <bundle>. A failed verification stops the install.

Before you install#

Run drillo preflight [--state DIR] [--min-disk-gb 20]. Minimum: 4 cores, 8 GiB RAM, 20 GB disk, Docker. The installer puts a TLS proxy in front by default when the bundle ships one; --insecure-lab turns TLS off and is for lab use only. The gate can also terminate TLS itself: set DRILLO_GATE_TLS_CERT and DRILLO_GATE_TLS_KEY (PEM paths) in the gate environment. Plaintext is then refused. Add DRILLO_GATE_TLS_CLIENT_CA to require client certificates (mTLS). kill -HUP the gate to reload the files; a bad reload keeps the previous certificate. The installer does not set these variables: add them to gate.env and mount the files into the gate container. Gate-side TLS is covered by an automated test only; it is not tested on x86 or with a range of clients.

Upgrade#

sh
drillo upgrade --bundle <new-bundle-dir> --pin <vendor-pubkey-hex|file> [--state DIR] [--name drillo]
  1. Verifies the new signed bundle against your pinned key. It refuses a bundle whose version is equal to or older than the installed one.
  2. Loads the new images, records the current release as previous, redeploys, runs drillo migrate, then the post-install checks.
  3. On a failed migrate or check it prints FAILED; run drillo rollback and exits 1.

Tested: about 1.8M synthetic events sent during the upgrade, stored 1,821,000 >= acked 1,820,600. This is a single test, not a guarantee.

Settings that change searchable delay and memory: Sizing and tuning.

Rollback#

sh
drillo rollback [--state DIR] [--name drillo]

Redeploys the previous release images and swaps the current and previous pointers. The database is untouched. Schema changes are forward-only and additive; no down-migration runs. Rollback refuses if the previous images are gone from the host: reload the old bundle first. To go back, use drillo rollback; upgrade rejects older bundles.

Trust note#

install.sh verifies with the drillo binary inside the bundle. Obtain the vendor key and an expected SHA-256 of drillo through a separate channel and compare before running.

Install the agent#

The agent installer verifies a SHA-256 before installing and writes a systemd unit.

sh
sh install-agent.sh --url https://<drillo>/dl --sha256 <hex> --token <TOKEN> --gate gate.internal:4318
  • --src /path/to/drillo-agent installs from a local file instead of --url.
  • --no-start skips starting the service. --root DIR prefixes all writes.
  • On a hash mismatch nothing is installed.
  • The token is stored in /etc/drillo/agent.env (mode 0600 via umask 077). The binary goes to /usr/local/bin/drillo-agent.

drillo dispatches these install-related commands: preflight, install, upgrade, rollback, status, probe, bundle-build, bundle-verify. Run each with no arguments to see its usage text.

Retention settings at migration time#

drillo migrate reads DRILLO_HOT_DAYS (default 1) and DRILLO_RETENTION_DAYS (default 30). Both must be plain integers with 1 <= DRILLO_HOT_DAYS <= DRILLO_RETENTION_DAYS. See Retention and audit.

Report an inaccuracy (opens a support ticket in the portal; nothing is sent from this page)