Hyperledger Besu high availability

A permissioned Besu network stays live only if its validators, keys and data survive failures. This guide covers validator sizing, site and operator spread, RPC separation and recovery.

On this page

What Hyperledger Besu high availability requires in a permissioned network

If you run QBFT validators for a consortium or a regulated operator, the network has to keep producing blocks when a host, a data center or an operator's organization fails. High availability in Hyperledger Besu is not one setting. It is a set of linked decisions: how many validators you run, where and by whom they are hosted, how their node keys are held, whether RPC traffic is separated from validators, and how node data and keys are recovered. Each of these decisions limits the others, so they should be made together and written down before the first validator starts.

Several things make this harder than it looks. A QBFT network keeps finalizing blocks only while enough validators agree, so losing one validator may be harmless while losing a few more stops the chain entirely. A stalled chain is also not the same as a crashed node: validators can be running and reachable yet unable to reach agreement, which is why monitoring must track block production and not only process health. Confirm the fault tolerance arithmetic for your validator count with the consensus documentation before you commit to a layout. Keys are another trap. The local node private key file is not encrypted by default, so a copy of the host is also a copy of the validator identity unless you add hardware-backed storage through a security module plugin.

Upgrades and backups interact in a way teams often miss. Besu's Bonsai database upgrades automatically on first start, and older Besu versions cannot open an upgraded database, so a backup taken before the upgrade is the only rollback path. Treat each backup as tied to a specific Besu version, and test restoring it on a separate host before you rely on it. Ask your team to document who can authorize a recovery, which validators can be restored from which backups, and how the remaining validators keep the chain live while one site is rebuilt.

Which Besu components carry availability

A Besu network stays available only when each component behind it survives a failure. Validators, RPC nodes, node keys, the database, permissions and monitoring each fail differently, so each needs its own backup and recovery plan. The cards below set out what breaks if each part is lost and what to back up before go-live.

Validator nodes

Validators sign and produce blocks under QBFT or IBFT 2.0. Losing enough of them stops block production, and the network halts until enough validators return. Confirm how many validators can fail before finality stops for your chosen set size, and record which validator sits at which site and operator. Back up the node configuration and the genesis file so a replacement validator can rejoin the same set without manual reconstruction.

Besu private networks docs

RPC nodes serving applications

RPC nodes hold no signing authority but serve every application, wallet and integration that reads or submits transactions. If they fail, applications lose access even while validators keep producing blocks. Run them separately from validators so an application traffic spike or an exposed API cannot degrade signing. Back up their configuration and JSON-RPC authentication settings, and confirm that applications can fail over to a second RPC node.

Node private key file

The node private key identifies a validator or node on the network. The Besu documentation states that the local node key file is not encrypted, so anyone who copies it can impersonate that node. Losing the key means the node must be re-keyed and re-authorized in the validator set. Store an encrypted offline copy, restrict file permissions, and decide with your security team whether hardware-backed storage through a security module plugin is required.

Besu node keys docs

Bonsai database

The database holds chain state that a node rebuilds only by syncing. Besu 26.10.0 release notes state that the Bonsai database auto-upgrades on first start and older versions cannot open an upgraded database. A restore therefore depends on a backup taken before the upgrade, not on the node's current data. Snapshot the data directory before every version change, and test restoring it on a separate host before you rely on it.

Besu release notes

Local permissions configuration file

The local permissions file controls node permissioning, which limits connections to known participants, and account permissioning, which governs onboarding and suspension of accounts. A missing or altered file can cut a node off from peers or let an unauthorized account act. Keep a version-controlled copy, record who approves changes, and confirm that a rebuilt node loads the same file before it joins the network.

Besu permissioning docs

Metrics endpoint on port 9545

Besu exposes metrics for Prometheus when metrics are enabled, with the default endpoint on port 9545. Without this feed, a stalled validator or a node that has lost peers can run unnoticed until applications report errors. Alert on peer count, block production and sync status, and confirm that scraping continues during failover. The metrics setup is a dependency for detecting every other failure in this list.

Besu metrics docs

Decisions that set availability: validator count, placement and key custody

This table compares the main choices that determine how well a Besu QBFT or IBFT 2.0 network survives failures: validator count, site and operator spread, RPC placement and node key custody. Read each row for when the option fits and what it adds to day-to-day operations. Confirm consensus fault tolerance thresholds for your Besu version in the Besu documentation before fixing a validator count.

DecisionWhen it fitsOperational costConfirm before choosing
Validator countSmall consortia that accept a fixed fault tolerance and a small membership; larger sets when more members must be able to lose validators without haltingEach added validator is another host to patch, monitor and back up, and every membership change needs a join or removal voteByzantine fault tolerance threshold for your consensus and version, and how many validators can be offline before block production stops
Single site versus multi-site placementSingle site suits a pilot or a network where one facility is already highly redundant; multi-site suits production networks that must survive loss of a data centerCross-site links must be monitored for latency and peer connectivity, and each site needs its own power, network and maintenance windowsMaximum acceptable latency between validators and how your block time settings behave across sites
One operator versus several operatorsOne operator fits a single organization running its own nodes; several operators fit consortia where no single party should control block productionEach operator runs its own change control, upgrade schedule and incident response, so upgrades need coordination across partiesGovernance rules for adding validators and who holds the authority to vote them in or out
Co-located RPC versus separate RPC nodesCo-location suits small networks with few API clients; separate RPC nodes suit networks with applications, indexers or partners calling JSON-RPCSeparate RPC nodes add hosts, sync and storage to maintain, but keep API load and exposure away from validatorsWhich API methods and WebSocket connections your applications need, and how they are authenticated
Unencrypted node key fileLower-risk test or lab networks where the host itself is tightly controlledKey protection depends entirely on host access controls and backup handling; a copied key file lets someone impersonate the nodeWhether your security policy accepts an unencrypted key file on production validators
Hardware-backed security module pluginProduction validators where the key must stay inside tamper-resistant hardware, such as the Besu HSM plugin enabled with the --security-module optionAdds hardware procurement, plugin version tracking across Besu upgrades, and key ceremonies for install, rotation and recoveryPlugin compatibility with your Besu version and the HSM vendor's support model before purchase

How validators, RPC nodes and sites fit together

The diagram starts with application clients calling an RPC tier through a TLS terminating proxy, which keeps validators off the public path. RPC nodes sync from validators over the peer network, and validators in separate sites, each run by a different operator, reach one another through a bootnode or peer path. Backups of node data and the unencrypted node key file sit in a store outside the validator hosts. Check that each trust boundary between operators and between the internal network and clients has a documented control, and that metrics from every node reach Prometheus.

Validators span two sites and operators, with RPC nodes and backups kept separate.

How to build a highly available Besu validator set, step by step

This sequence takes a permissioned Besu network from an agreed validator layout to a tested failover, with each step closing on a check that confirms the network still produces blocks when a site or operator is lost.

  1. Fix validator count and consensus choice

    Decide the number of validators and confirm the consensus protocol, either QBFT or IBFT 2.0, since both are proof-of-authority options for private networks. Size the validator set against the number of faulty validators you must tolerate, and confirm the protocol's fault tolerance rules with the Besu documentation and your own risk owners before any hardware is ordered. Note that Clique is no longer supported, so a Clique network must be migrated first. Done when the validator count, consensus protocol and tolerated failure count are written down and signed off by the consortium.

  2. Agree the operator and site map

    Map each validator to a named operator and a physical or cloud site, with no operator or site holding enough validators to stop block production alone. Record which validators sit in which accounts, data centers or regions, who holds administrative access to each, and how each operator is reached during an incident. Done when the map is reviewed by every participant and no single site or operator failure is shown to exceed the tolerated count in the earlier step.

  3. Generate node keys and decide custody

    Generate a node key for each validator and RPC node, keeping every key on the host or in the security module that will use it. The Besu documentation states the local node key file is not encrypted, so decide whether keys are protected by file permissions alone or by a hardware-backed security module plugin such as the Besu HSM plugin, and confirm that plugin's support status for your version. Record the public node identities and custody location for each key. Done when every node has a unique key, no key has been copied between hosts, and the custody decision is documented.

  4. Write genesis and permissions files

    Write the genesis file with the initial validator set and consensus settings, then write the local node permissions file that lists the nodes allowed to connect and the accounts allowed to act. Distribute the same genesis file to every node and keep the node permissioning list consistent across all of them. Done when a dry start on a scratch host reads both files without error and the genesis hash matches on every node that will join the network.

  5. Start validators in separate sites

    Start the validators at their assigned sites, one site at a time, and confirm each validator establishes peer connections with the others across the network boundaries you chose. Watch the logs and the peer count on each validator while the network forms. Done when all validators report the expected peers and the chain has produced blocks that every validator agrees on, which you confirm by comparing block hashes on at least two validators at different sites.

  6. Add separate RPC nodes

    Start RPC nodes as non-validating nodes that serve application and user traffic, so that client load and API exposure stay away from the validators. Configure the RPC nodes to peer with validators, enable JSON-RPC authentication where the design requires it, and place them behind the load balancing or access controls your design defines. Done when an application request served by an RPC node returns current chain data, and a validator's API is confirmed to be unreachable from the application network.

  7. Configure monitoring and backups

    Enable Besu metrics with the metrics option and connect them to Prometheus, using either scraping or a push gateway, then build alerts for peer count, block production and sync status. Set a backup schedule for node data and key material, store backups outside the host they protect, and document which backup restores which node. Besu's Bonsai database auto-upgrades on first start and older versions cannot open an upgraded database, so take a backup before every upgrade. Done when alerts fire in a controlled test and a backup file exists in the off-host store with a recorded checksum.

  8. Run failover and restore tests

    Stop one validator, then one site, and confirm the remaining validators continue to produce blocks and the stopped node catches up when it returns. Restore a backup of a validator's node data and key to a scratch host, start it, and confirm it syncs to the current chain head without rejoining as a duplicate identity. Record the results, the observed recovery steps and any gaps, then repeat the tests after every consensus or node configuration change. Done when both tests pass and the runbook reflects what was observed.

How the design changes by deployment model

A single site run by one operator is the simplest model to build and the easiest to reason about. All validators share one power supply, one network path and one change process, so a site-level event such as a facility outage, a failed core switch or a bad change window can stop block production for every validator at once. Consensus tolerance only protects against individual node failures inside that site. Key custody and backups are also concentrated: one team holds every node key file, and the node private key file is not encrypted by default, so the physical and access controls of that one site carry the full risk.

  • Survives: loss of a single validator or RPC node, provided the remaining validators still meet the QBFT fault tolerance threshold for your validator count.
  • Does not survive: loss of the site, shared storage, shared network or a coordinated operator error.
  • Key custody: all node keys sit under one administrative domain, so decide early whether a security module plugin such as the Besu HSM plugin will hold them.
  • Backups: store node data and key backups off site, because a backup in the same room offers no recovery from a site event.
  • Extra checks: test a restore into a clean host, and confirm that the rollback backup is taken before any database upgrade.

Confirm with your facilities and security teams whether a single site meets the continuity expectations written into your risk register.

What drives the effort and cost of a highly available Besu deployment

This table lists the main drivers that raise effort and cost for a highly available Besu network, with one practical way to contain each. Read it as a checklist to scope a quote, since each driver multiplies work across validators, sites, keys, and environments.

DriverWhy it raises effortHow to contain it
Number of validators and operatorsEach validator needs its own node key, host, monitoring, and upgrade slot, and each operator adds handoffs for changes and incident response.Fix the validator count to what the fault tolerance target requires, and agree a written operator runbook before adding parties.
Number of sites and network linksValidators spread across sites need reliable peering over links you must provision, secure, and monitor, and each site adds its own failure modes.Start with the smallest site count that meets your failure assumptions, and test peer connectivity after each network change.
Key custody model and HSM integrationNode key files are not encrypted by default, so a hardware-backed option adds procurement, a security module plugin, and key ceremony work.Decide custody per validator early, and confirm with the Besu documentation and your HSM vendor which plugin version fits the Besu release you run.
RPC traffic and client applicationsEach client application adds query load, authentication setup, and possible RPC node scaling, which pulls effort away from validators.Separate RPC nodes from validators, and limit exposed APIs to the methods each application needs.
Backup and restore testing scopeDatabase backups must be taken before upgrades because newer Besu versions can upgrade the database in place, and restores need rehearsal across every node type.Script backups for node data and keys, then restore a copy into an isolated environment on a fixed schedule to prove recovery works.
Compliance evidence needsAssessors may ask for access records, key handling, change history, and recovery test results, which must be collected and kept current.Agree the evidence list before build starts, and generate it from logs, configuration files, and runbook records as work happens.
Number of environmentsTest, staging, and production each need their own validator set, sites, and keys, and changes must move through all of them.Use a smaller validator set in test and staging, keep configuration identical across environments, and keep production keys out of lower environments.
Besu release cadenceBesu ships roughly monthly calendar releases, so each high availability setup needs a planned, tested upgrade path, including JDK requirements.Set a fixed upgrade window and test each release on staging validators before production rolling upgrades.

Backing up node data and keys so recovery is possible

A validator's recovery depends on four things being backed up: the node private key file, the database, the genesis and permissions files, and the node configuration. The node private key file is not encrypted in a default Besu deployment, so the backup of that file is itself a sensitive asset. Store it in an encrypted, access-controlled location separate from the host, and record who can retrieve it. If the key is held in a hardware security module through the Besu HSM plugin and the --security-module option, confirm with your key custody team what the HSM backup and recovery process covers, because the node key file alone may not be the complete picture. Keep copies of the genesis file and the local permissioning configuration under version control so you can prove which rules a node ran with on any given date.

The upgrade rule is the one that decides whether you can roll back. According to the Besu 26.10.0 release notes, the Bonsai database upgrades automatically on first start, and older Besu versions cannot open an upgraded database. A backup taken before the upgrade is therefore the only rollback path. Treat a fresh database snapshot as a mandatory step in every upgrade runbook, verify it is complete before the binary is replaced, and keep the previous Besu release and its JDK available so the backup can be opened. Confirm the exact database and rollback behavior for your target version in the release notes before you schedule the change.

A backup is only proven by a restore. Restore onto a scratch host that is isolated from the validator set, start the node from the restored data, and confirm it syncs to the chain head without peering with live validators in a way that could affect the network. For recovering a failed validator, the goal is to bring back the same node identity and validator key rather than create a new one, because a replacement with a different key changes the validator set and can lead to an inconsistent view of the chain. Confirm the exact restore sequence, peer handling and validator re-admission steps with your Besu version and your consortium governance before you need them in an incident.

Securing keys, RPC access and node connections in a highly available setup

High availability depends on more than running extra validators. The same node key files, RPC endpoints and peer connections that keep a network producing blocks can also let an attacker or a mistake take it down. The cards below cover the controls to decide and verify before go-live.

Protect node key files and their backups

Each Besu node reads its node private key from a local file, and the Besu documentation states that this file is not encrypted. Losing it means a validator loses its identity, while a copy in the wrong hands lets someone impersonate that node. Decide who can read the key file on each host, where encrypted backups are kept, and how a replacement key is provisioned and registered. Test a restore from backup on a non-production node before you rely on it.

Node keys docs

Use a security module for hardware-backed keys

Where policy requires keys to stay in hardware, Besu supports a security module plugin, such as the Besu HSM plugin, enabled with the --security-module option. This moves signing away from an unencrypted file on disk. Confirm with the plugin vendor which HSM models and key types it supports, how key loss is handled, and what happens to a validator when the HSM is unreachable during a failover.

Restrict peers with node permissioning

Node permissioning limits which nodes can connect to yours, using a permissions configuration file on each node. In a highly available setup, this must list every validator, RPC node and backup node in every site, or a replacement node in a new location will be unable to peer. Keep the allowlist under change control, and test that a node added during an outage is admitted without weakening the list.

Limit account changes with account permissioning

Account permissioning governs onboarding, suspension and restricted actions for accounts on the network. This matters for availability because a compromised or mistaken account change can stop transactions or alter who may submit them. Decide which operators can change the account rules, require a second approver for changes, and rehearse how a suspended account is restored during an incident.

Protect JSON-RPC with credentials or JWTs

Besu authenticates JSON-RPC calls with a username and password credentials file or with JWTs validated against a public key, using algorithms such as RS256 or ES256. Besu does not terminate HTTPS natively, so a reverse proxy or load balancer must provide TLS in front of every RPC endpoint. Confirm where certificates are issued and rotated, who holds the JWT signing keys, and how token expiry is handled during a failover.

Authentication docs

Isolate RPC nodes from validators

Keep validators off the public path. Run RPC nodes as separate Besu instances that application traffic reaches, and let only those nodes and approved peers talk to validators. If an RPC node is overloaded or compromised, validators keep signing blocks. Check that firewall rules, peer allowlists and load balancer targets reflect this split, and that a failed RPC node can be replaced without touching validator configuration.

How to test that the network survives failures and recovers

Before go-live, the high availability design should be proven by tests, not assumed from the topology diagram. Run a failover test plan against a staging copy of the network that mirrors the production validator count, site layout and operator split. Start by stopping one validator at a time and confirm that the chain keeps producing blocks while the remaining validators still meet the QBFT threshold for the set size. Then stop an entire site, which is the failure the spread across sites is meant to absorb, and confirm the surviving validators keep sealing blocks. Record how long block production pauses, if at all, and whether it resumes without manual intervention. Next, restart the RPC tier on its own and confirm that wallets, applications and internal clients reconnect and resume reading and submitting transactions. Each test should have a written pass condition agreed with the consortium before the test starts.

A network that halts safely and one that produces bad state fail in very different ways, and the test plan must distinguish them. A safe halt means block production stops, no conflicting blocks are finalized and the validators log the lost quorum. Bad state means the chain keeps moving on a fork, a validator accepts data another validator rejects, or a restored node rebuilds a database that disagrees with the rest of the network. Check for the second pattern by comparing block hashes across validators and RPC nodes at the same heights after every test, not only by checking that blocks are increasing. Restore one backed-up validator to a scratch host and let it sync, then confirm its head and state root match the live network. Record the Besu version, JDK version, configuration files, timestamps, block heights, peer counts and screenshots or exports from the metrics endpoint enabled with --metrics-enabled, which is how test results are observed. Alert design belongs to the monitoring work covered elsewhere on this site, so confirm with that workstream which signals the tests depend on.

Questions teams ask before building a highly available Besu network

How many validators does a QBFT network need for fault tolerance?

The count depends on the fault tolerance rule that QBFT applies, so confirm the exact minimum in the Besu private networks documentation before you size anything. In general, a Byzantine fault tolerant network keeps producing blocks and finality only while the number of faulty or unreachable validators stays below a set share of the total. Work backwards from the failures you must survive: planned maintenance on one validator plus an unplanned outage elsewhere, for example. Size the set so the network still meets the threshold with that many validators offline at once. Then confirm how validators are added or removed by vote, and how a stalled network recovers. Test the result with a drill that stops validators one at a time and records whether blocks keep arriving.

Can QBFT validators run in one data center or should they be spread?

A single data center can run a QBFT validator set, but it creates one failure domain for power, network, cooling and facility events. If that site loses more validators than the threshold allows, the chain stops producing finalized blocks. Spreading validators across separate sites and, where the consortium allows, separate operators removes that shared failure. Each validator should sit on its own host, with independent power and network paths where possible. Latency between sites also matters because validators must exchange messages to agree on blocks, so test round trips under load and review block time and timeout settings with the network design. Confirm the placement rules with every consortium member before go-live, because a validator placed in the wrong site can undo the fault tolerance you paid for.

How much effort and time does a highly available Besu build take?

No duration is fixed here because the answer depends on the design you choose, and no researched figure is available for this topic. The main drivers are the number of validators, the number of sites and operators, how keys are held (file-based or a security module plugin), the backup and restore design, monitoring, and how many environments you need before production. Consortium governance often takes longer than the technical build, since every member must agree on the validator set, placement and change control. Engineering effort also rises with a multi-operator setup, because each operator has its own hosts, access rules and approval steps. Ask any provider for a written work breakdown that lists each phase, the roles involved and the assumptions behind the schedule. Fixed-scope agreements make those assumptions visible before work starts.

What does a highly available Besu build need from our team?

The build needs named owners in your organization for several areas, and most delays happen when one of them is missing. Expect to provide:

  • Infrastructure owners who can allocate hosts in each site and confirm power, network and storage separation.
  • A governance contact who can agree the validator set, vote changes and sign off on placement with consortium members.
  • Security and key custody decision makers who choose how node keys are stored and who approves access.
  • Identity and access owners for JSON-RPC authentication and for the people who may call node APIs.
  • An operations team that will own monitoring, on-call response, upgrades and restores after go-live.

Also confirm that your environments allow JDK 25, which the Besu 26.6.0 release notes say is required to build and run Besu.

Can we build a highly available Besu network without a partner?

Yes, an internal team can build it, because Besu is open source under Apache 2.0 and has no license fee to pay. The practical question is whether your team already has the skills for each part of the build: consensus operations, network and site design, key custody, monitoring, backup and restore, and upgrades on a monthly release calendar. The hardest part is often coordination with other consortium members, not the software itself. Many organizations choose a hybrid model, where internal staff own operations and an outside team handles design review, hardening or a first build. DeployOpen plans, implements, hardens, backs up, upgrades and documents self-hosted platforms inside the client's own infrastructure, under a written scope. Compare the two options on the skills gap, the number of people you can release for the project and the cost of a mistake in production.

How does separating RPC nodes from validators change day-to-day operations?

Separating them keeps validators focused on consensus and block production, while RPC nodes handle application traffic. Validators can then stay off public or application networks, and you can restart, scale or expose RPC nodes without touching the validator set. Operations change in several ways: RPC nodes need their own monitoring and capacity planning, upgrade order should bring validators and RPC nodes forward in a set sequence, and authentication applies to the RPC layer. Besu supports JSON-RPC authentication through a credentials file or JWTs checked against a public key, but it does not terminate HTTPS natively, so you need TLS in front of the nodes. Confirm the exact configuration keys and the authentication options for your Besu version in the Besu JSON-RPC authentication documentation before you design the access path.

How should node keys and backups be handled for an audit?

Start from the fact that Besu's node private key file is not encrypted, so protecting it is your responsibility. Besu's documentation describes a security module plugin, such as the Besu HSM plugin enabled with the --security-module option, for deployments that need hardware-backed key storage. Record who can reach each key, how keys are generated and rotated, and where key material is backed up. Back up node data and keys separately, encrypt the backups, restrict access and log restores. Take a backup before every upgrade, because the Besu 26.10.0 release notes say the Bonsai database auto-upgrades on first start and older versions cannot open the upgraded database. Test restores on a schedule. DeployOpen prepares systems, controls and evidence for assessments, but independent auditors issue the reports. Review the Besu node keys documentation with your assessor early.

How DeployOpen scopes, builds and hands over high availability work

DeployOpen plans, implements, hardens, backs up and documents self-hosted open-source platforms inside the client's own infrastructure, including Hyperledger Besu validator and RPC layouts. Each high availability engagement starts from a written scope that sets the validator count, failure assumptions, sites and recovery targets before any node is built.

How we scope

  • Agree in writing how many validators the QBFT network needs and how many may fail before finality stops.
  • Map which sites, cloud accounts and operators will host validators and which will host RPC nodes.
  • Record backup frequency, restore expectations and who holds node keys and the key custody model.

How we build

  • Deploy validators and RPC nodes as separate roles with network controls between them and the client's own accounts.
  • Configure node permissioning and metrics so the client's compliance and operations teams can review the layout.
  • Test failover by stopping validators and RPC nodes in a staging network and recording how the network responds.

How we hand over

  • Deliver runbooks for validator replacement, node rebuilds, database restores and key recovery steps.
  • Document the backup schedule, retention, restore test results and the Besu version pinned for each node.
  • Walk the client's operations team through the runbooks and record any open items in the handover report.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer after go-live, scoped separately from the build.
  • Plan rolling validator upgrades around Besu's monthly calendar releases and the irreversible database upgrade behavior.
  • Retest failover and restore procedures after material changes, and confirm which items the retainer covers before signing.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.