Server management
Fleet: managing many servers
Watch and operate many independent Berth servers from one fleet panel: link members by consent or a code, let each member choose what the fleet may do, click through with single sign-on, run actions in waves with a canary, keep policies in sync, close vulnerabilities fleet-wide and roll out updates in rings.
On this page
When you run more than a couple of servers, logging in to each panel to check updates and problems stops scaling. Berth's fleet gives you one place to see every server, act on several at once and keep their settings aligned, while each server keeps its own panel and keeps working on its own. This article explains the model, how to link servers, what the fleet panel is and is not allowed to do, and the tools for waves, policies, vulnerabilities and update plans.
The model: independent panels, one view
- A fleet panel is an ordinary Berth installation on which you use the Fleet menu. It can host sites itself, but the recommended set-up is a small separate management VM behind a VPN, so a compromised customer site never sits next to the fleet's keys.
- A member is a Berth server linked to that fleet panel. It belongs to at most one fleet panel, keeps its own database, customers, configuration and administrators, and runs exactly the same without the fleet. If the fleet panel disappears, the members notice nothing except that nobody is looking; after a while each member warns its own administrators that the fleet panel has gone quiet.
- The fleet panel pulls status from its members over HTTPS. Every request is cryptographically signed by the fleet panel and checked by the member, so there is no reusable token or password stored on the member that could be stolen. A member can additionally restrict the fleet API to source addresses you list.
This is not "one panel driving many nodes": there is no central database the servers depend on, and a member's own panel remains the place for anything with real consequences.
Linking a member
There are two ways; both end with the member's own administrator approving the link.
With consent (recommended)
- On the fleet panel, open Fleet and click Add member. Enter the member's panel address, optionally a name and labels such as
productieorklant-x. - Follow the link to the member and sign in there as an administrator. The consent page shows the fleet panel's name, address and fingerprint; compare it with the fingerprint the fleet panel shows.
- Choose the level and the role for click-through (see below), and approve. Each choice is shown with what a compromised fleet panel could do with it.
- Back on the fleet panel the link completes and the first status arrives immediately.
berth fleet link --url https://panel.member.example.nl --labels productieLinking with consent needs a publicly trusted certificate on the member.
With a link code
For a member with a self-signed certificate, one reachable only on a VPN address, or when no browser is involved:
- On the member: Settings → Fleet → Create link code, or
berth fleet invite. The code contains the member's address and certificate pin and is valid once, for 15 minutes. - On the fleet panel: paste it under Add member, or
berth fleet add --code -. - On the member: compare the fingerprint and confirm, choosing the level, or
berth fleet accept --fingerprint <fingerprint> --level lezen.
Unlinking
On the member, Disconnect under Settings → Fleet or berth fleet leave takes effect immediately, also when the fleet panel is unreachable. On the fleet panel, removing a member (berth fleet remove --name <member>) asks the member to forget the fleet panel.
What the fleet panel may do: levels
The member chooses the level; the fleet panel cannot raise it.
| Level | Allows |
|---|---|
lezen (read) | status: versions, problems, a metrics summary, pending updates, vulnerabilities, backup state, the diagnosis, and information about update plans |
bedienen (operate) | plus: acknowledge and silence problems, a diagnosis or repair dry run, restart services (the protected list still applies), start updates according to the member's own policy, update Berth to a signed version, run a backup now, and act against a vulnerability: fix it, update PHP, packages or software, turn a service off or on with a reason, apply or revert a mitigation |
beleid (policy) | plus: roll out policy: update policy and maintenance windows, alert rules, notification channels, fail2ban exceptions, allowed admin addresses, hardening of kernel parameters |
New members start at lezen. Some things never go through the fleet, at any level: the terminal, files, restoring from a backup, deleting domains, subscriptions or databases, firewall rules that could cut off admin access, release upgrades, and changing users or passwords. For those you click through to the member's panel, where its normal rules apply.
Every fleet action is a typed operation, not a free-form command. It runs on the member as a normal panel action and appears in the member's activity log as "by fleet <name> on behalf of <user>", and in the fleet panel's log.
The overview
Fleet → Overview shows a tile per member: a status light, open problems, CPU, memory and disk with the disk-full forecast, pending updates with security updates separately, whether a reboot is needed, vulnerabilities by severity and actively exploited ones, the last successful backup and external copy, certificates about to expire. Filter by label, search, or switch to a table for large fleets. Status is fetched every minute and trends every quarter of an hour.
A member that cannot be reached becomes a critical problem on the fleet panel under System → Problems, with a notice. Per member you can forward its problems to the fleet panel's own notification channels, deduplicated and with the member's name (berth fleet set --name <member> --forward).
berth fleet members
berth fleet status --name web-03
berth fleet pollClicking through with single sign-on
Open panel on a member signs you in to that member's panel without a separate login. The member decides what you become:
- auditor (the default): you can read everything an auditor can, and change nothing;
- administrator: the member asks for the second step of its own administrator account with the same login, through its normal sign-in (a code from your authenticator app, a recovery code or a passkey). The fleet panel's assertion only replaces the password. If the member has no matching administrator with a second step, you arrive as auditor, and the reason is logged;
- off: no click-through.
The fleet panel also asks for a recent second step before it issues a click-through. So a stolen fleet session alone is not enough to become administrator on a member.
berth fleet hub --sso-role auditor # on the member
berth fleet open web-03 # shows where to open it in the browserActions in waves
Fleet → Actions runs one action on many members without doing them all at once:
- Choose the action, the members (selection, labels or all) and how to roll it out.
- Review the preview: per member whether it may (its level) and what will happen, for example the pre-check of an update.
- Berth starts with one member as canary, then continues in waves of the size you set, with a waiting time in between.
- After each member it watches for a while: if a member fails or gets a critical problem, the action stops. You can retry, skip members or cancel.
Available actions include updates (by the member's policy or security only), updating Berth, restarting a service, a backup, the diagnosis, a repair dry run, acknowledging or silencing a problem, fixing a CVE, updating PHP, packages or software, turning a service off or on, and applying or reverting a mitigation. Large or policy-level actions can require approval by a second administrator; see audit trail and approvals.
berth fleet run --kind updates_security --labels productie --wave 3 --wait 10 --watch 15 --plan
berth fleet run --kind updates_security --labels productie --wave 3 --wait 10 --watch 15
berth fleet actions --id 27 --followPolicy templates and drift
Fleet → Policy holds named templates: update policy, maintenance windows, alert rules, notification channels (by name; a policy never contains a token or webhook, it only switches channels the member already has on or off), fail2ban exceptions, allowed admin addresses and kernel hardening. A policy is attached to members through their labels.
The fleet panel compares each member with its policy (read-only on the member) and shows the drift: what differs and what a rollout would change. Rolling out runs in waves like any action, through each member's normal panel function. Address lists only gain entries; nothing is removed from them.
berth fleet policy example > baseline.json
berth fleet policy save --file baseline.json
berth fleet policy check baseline
berth fleet policy rollout baselineVulnerabilities across the fleet
Fleet → Vulnerabilities lists every vulnerability reported by any member: which members are affected, where a fix is ready, who already has it, where a mitigation is in place, and whether it is actively exploited. From a vulnerability you close it in waves, with each member's own post-update check, or put a mitigation on the fleet when there is no fix yet, including for a zero-day Berth does not know about. Services that members turned off with a reason are listed too. See vulnerability management.
berth fleet vulns --q openssl
berth fleet vulns --id CVE-2026-1234Update plans: rolling updates in rings
Fleet → Update plans puts recurring updates on a schedule:
- What: security updates, everything the member's own policy would include, one PHP version as a whole, site software (WordPress, Joomla, Drupal) by each site's policy, or Berth itself.
- When: weekly, monthly, or as soon as security updates are available.
- Rings: groups of members by label, each with its own canary and wave size, and a soak time between rings. Test servers first, production last.
- Health gate per member after its update: the member's own post-check, no new critical problem, its monitored sites not more down than before, and optionally no new failure in its diagnosis. A failing gate pauses the plan with the reason; you resume it once you have looked.
- Windows: a member outside its maintenance window is waited for or skipped, as you choose.
Members stay in control. On the member, under Settings → Fleet, an administrator can per plan defer until a date, hold with a reason, set an own window, or update now ahead of its turn. The fleet panel sees the choice within a minute, and a member that already updated itself is recorded as done, not updated twice.
berth fleet plan list
berth fleet plan show weekly-security
berth fleet plan hold weekly-security --reason "customer migration this week" # on a memberWazuh cross-check
If you run Wazuh, the fleet panel can link to it read-only and compare what Wazuh reports about each member with what the member reports itself. Differences become problems on the fleet panel. See NIS2 and incidents for the wider SIEM picture.