Why OpenBao high availability is harder than it looks
Every application that reads a database password, signs a token or requests a certificate depends on the secrets service being reachable, so a single OpenBao server is a single point of failure for much of your estate. An HA cluster removes that dependency on one process. In OpenBao, one active node holds a lock in the data store and serves requests, while standby nodes either forward requests to the active node or redirect clients to it. Integrated storage (Raft) and PostgreSQL are the officially supported HA backends, and the choice between them is the first decision that shapes everything after it. The OpenBao high availability docs describe the mechanics, but they do not decide for you which backend your team can run safely.
The harder parts sit around the cluster rather than inside it. The storage backend determines how you back up, restore and upgrade the cluster, and the OpenBao storage docs note that PostgreSQL is easier to operate safely than Raft. Unsealing is the second trap: a cluster that fails over cleanly still cannot serve requests if the nodes that come up cannot be unsealed, so you need a documented plan for where unseal material lives and who can use it at 2 a.m. Confirm whether your design uses manual unseal or an auto-unseal mechanism, and confirm what your key custody model requires before you pick one.
The third difficulty is proving that failover works. A cluster that has never lost its leader in a test has not been shown to recover, and the restore path matters as much as failover. Plan a leader failover test in a non-production environment, record how long clients see errors and whether applications reconnect on their own, and rehearse restoring a snapshot onto a fresh cluster. Ask your team to confirm the exact snapshot and restore commands for the storage backend you chose, because a backup you have never restored is an assumption, not a control.
Components that make up an OpenBao HA cluster
An OpenBao HA cluster is a set of nodes that share one storage backend and elect one active node at a time. Each component below affects whether clients keep getting answers when a node, a network path or an unseal step fails.
Active node and data store lock
Exactly one node is active at a time. It holds a lock in the data store, and that lock is what stops two nodes from writing as leader at once. If the active node stops or loses its lock, a standby takes over. Check how long your team expects a failover to take, and test it rather than assuming it.
HA docsStandby nodes
Standby nodes wait for the active node to fail and can forward or redirect client requests to the active node. Since OpenBao 2.5.0, Raft standbys can serve read-only operations, so standbys also add read capacity. Confirm which request types your applications send, because writes still go through the active node.
Integrated storage (Raft)
Raft keeps OpenBao data on the cluster nodes themselves, so no separate database is required. Quorum depends on a majority of voting nodes being healthy, which makes node count and placement part of the availability design. Plan disk, snapshot and node replacement procedures before go-live, and confirm them against the storage docs.
Storage backend docsPostgreSQL storage
PostgreSQL moves durability and replication into a database your team may already operate. The storage docs describe PostgreSQL as easier to operate safely than Raft. Ask who owns database backups, failover and patching, because an OpenBao outage can follow a database outage and the reverse.
Load balancer and client addressing
Clients need one stable address that reaches the active node or a standby that can redirect them. A load balancer health check should target OpenBao's health endpoint so traffic avoids sealed or unhealthy nodes. Confirm how your load balancer handles TLS, client certificates and redirects before routing production workloads through it.
Unseal and key custody
Each node starts sealed, and an HA cluster is only as available as its unseal path. A node that restarts without access to unseal keys or an auto-unseal service stays out of service. Decide who holds key shares, how auto-unseal is provided, and how a restarted node is unsealed at 2 a.m. before the first failover test.
Raft or PostgreSQL for OpenBao HA
This table compares integrated storage (Raft) and PostgreSQL as HA backends for OpenBao across fit, operating effort, backup, upgrades and read scaling. Read each row against your team's database and storage skills, since the operating effort lands on the people who run the cluster. The main takeaway is that the documentation describes PostgreSQL as easier to operate safely, while standby read scaling is available on both backends in current releases.
| Decision area | Integrated storage (Raft) | PostgreSQL |
|---|---|---|
| When it fits | Teams that want OpenBao to hold its own replicated state with no external database to run | Teams that already operate PostgreSQL with backup, monitoring and failover practices in place |
| Documented operating posture | Supported HA backend; the documentation does not describe it as the easier option to run safely | Supported HA backend; the documentation describes it as easier to operate safely than Raft |
| Skills your team must own | Raft cluster membership, peer management and recovery from lost quorum on OpenBao nodes | PostgreSQL high availability, connection management and database-level backup and restore |
| Backup and restore | Snapshot the Raft data on the cluster; confirm the restore procedure end to end in your environment | Back up the PostgreSQL database with the tooling your DBA team already uses; test restore into a separate cluster |
| Rolling upgrades | Upgrade nodes one at a time while keeping quorum; rehearse on a non-production cluster first | Upgrade OpenBao nodes separately from the database; confirm version compatibility of both layers |
| Standby read scaling | Raft standbys serve read-only operations since OpenBao 2.5.0 | Standbys serve read-only operations since OpenBao 2.7.0, giving horizontal read scaling |
| Infrastructure to run | Only OpenBao nodes; no separate database tier to size or patch | OpenBao nodes plus a database tier to size, patch and monitor |
| Ask your partner or vendor to confirm | Recovery steps for your node count and disk layout, and the monitoring you need for Raft health | Database sizing, failover design and who owns database patching and on-call |
How to build an OpenBao HA cluster step by step
This sequence takes a set of empty nodes to a working OpenBao HA cluster with one active leader, standbys that can take over, and a storage backend your team can back up and restore. Each step ends with a check you can run before moving on.
Size and place nodes across failure domains
Decide how many nodes you will run and which failure domains they sit in, such as separate hosts, racks, availability zones or data centers, depending on what your infrastructure offers. Confirm the node count with your own availability and quorum requirements, and confirm the storage backend you chose supports the topology you plan. Your team or the partner records the placement in the implementation plan. The step is done when every node has a named host, a named failure domain and network paths between all nodes that you have tested.
Configure the storage backend on each node
On every node, set the storage stanza for your chosen backend: integrated storage (Raft) with a local data path and node identifier, or PostgreSQL with a connection string and HA lock settings. Use the storage backend documentation for the exact keys, and confirm the PostgreSQL option against the operational guidance in the storage docs before you choose it. Keep the configuration files consistent across nodes except for node-specific values. The step is done when each node's configuration validates and the data directory or database is reachable from that node only.
Set cluster address and API address for every node
Set the API address and cluster address on each node so that peers and clients reach the correct endpoint. Use addresses that resolve from every other node and from clients, and avoid addresses that only work on the local host. Load balancers or DNS names, if you use them, should point to the active node or to all nodes according to how your clients connect. The step is done when each node reports its own addresses consistently and a peer can open a connection to each advertised cluster address.
Initialize and unseal the first node
Start the first node and initialize OpenBao once. Store the recovery or unseal material in the custody arrangement your organization has approved, and split it so that no single person holds enough to unseal alone. Unseal the node using the required key shares. Record who holds which material and where it is stored, because losing it can make the cluster unrecoverable. The step is done when the first node reports as initialized and unsealed and you have a documented custody record for the key material.
Join the remaining nodes to the cluster
Start each remaining node and join it to the first node using the raft join or equivalent join mechanism for your storage backend. For PostgreSQL, each node connects to the same database and competes for the HA lock. Unseal each joining node with the same key material. Join nodes one at a time so that membership changes are easy to follow. The step is done when every node has joined and unsealed, and the cluster reports the expected number of members.
Confirm the active leader and standbys
Query cluster status from each node and confirm that exactly one node reports as active and the others report as standby. Check that the standbys point to the leader and that the cluster reports the expected voter or member count. Note any node that reports an unexpected state and resolve it before continuing. The step is done when all nodes agree on which node is the leader and no node is missing from membership.
Test leader failover and standby behavior
Stop the active node in a controlled window and confirm that a standby takes over leadership, then bring the original node back and confirm it rejoins as a standby. Check that clients keep working through the documented endpoint for your topology. If you use Raft standbys or PostgreSQL standbys for read-only operations, confirm which operations are served there and which must go to the active node, using the HA documentation as your reference. The step is done when failover completes, clients recover, and the restored node rejoins without manual rejoin commands beyond those documented.
Back up and restore before go-live
Take a backup of the storage backend appropriate to your choice, either a Raft snapshot or a PostgreSQL backup, and store it outside the cluster. Then restore it into a separate test environment and confirm that the restored cluster unseals with your custody material and returns the expected secrets metadata. Ask your team or partner to document the restore runbook and the owner of each step. The step is done when a restore has been tested end to end and the runbook is signed off by the people who will run it.
How standby read scaling changes the design
Since OpenBao 2.5.0, Raft standby nodes can serve read-only operations, and OpenBao v2.7.0 extended the same capability to PostgreSQL-backed clusters. The design consequence is that read-heavy clients no longer have to share the active node, so you can plan read capacity separately from write capacity. Writes, including secret creation, lease creation and renewal, token creation, policy changes and most secrets engine configuration, still go to the active node. Size the active node for that write path and treat standbys as read capacity, not as additional write throughput.
Read scaling helps most where clients poll or read frequently and write rarely: applications that fetch static secrets at startup or on a refresh interval, agents that read templated configuration, and monitoring or inventory jobs that query metadata. Dynamic secrets are different, because issuing credentials is a write that lands on the active node, so a fleet that requests many short-lived database credentials will still concentrate load there. Before you choose a topology, map each client to its read-to-write ratio, and confirm whether its requests are reads in the sense the HA documentation uses, since the classification determines whether a standby can answer it.
Clients need a deliberate way to reach standbys. Standbys forward or redirect requests they cannot serve, so a naive load balancer in front of every node can work, but it hides which node served a request and makes troubleshooting harder. Decide whether reads go through a load balancer with health checks that understand active and standby state, or whether clients are configured against specific standby addresses. Confirm in the release you deploy how a standby reports its state, how forwarding behaves for read requests, and how far a standby may lag the active node, because a stale read can return an older secret version after a rotation. Test that behavior in your environment with a rotation followed by reads from each standby before you rely on it for production traffic. The OpenBao high availability documentation is the place to confirm the current behavior.
HA differences by deployment model
On virtual machines, the cluster is usually three or five nodes placed on separate hypervisor hosts, so that losing one host does not remove quorum. With integrated storage (Raft), each node keeps its own copy of the data and the nodes replicate it among themselves, so there is no separate database tier to run. With PostgreSQL, the database becomes its own HA service and OpenBao nodes depend on it. Unseal is handled by the operator or by an external key service you choose, and that choice determines how a node comes back after a reboot.
- Node placement: Confirm that nodes sit in different failure domains (hosts, racks, power feeds) and that the hypervisor does not live-migrate them onto the same host.
- Storage: With Raft, check disk latency and that each node has its own dedicated volume. With PostgreSQL, confirm who operates the database HA and its backups.
- Unseal: Decide between manual unseal and automated unseal, and confirm who holds the keys after a host reboot.
- Backup transport: Snapshots and PostgreSQL dumps usually move over your internal network to a backup target you control. Confirm encryption in transit and retention.
- Load balancing: Confirm that your load balancer health-checks the active node or uses the documented standby behavior for reads.
Confirm the exact hypervisor, storage and unseal options available in your environment with your platform and security teams before choosing a layout.
On Kubernetes, the cluster runs as a StatefulSet or equivalent, and the placement question becomes pod scheduling. Each OpenBao pod needs stable identity and persistent storage, and pods must spread across nodes and zones so that a node drain does not take out quorum. Storage depends on the backend you choose: Raft nodes need persistent volumes, while PostgreSQL moves state into a database that may be a managed service in the same cloud. Unseal and key custody need the most care, because pods restart more often than VMs do.
- Pod placement: Use anti-affinity or topology spread constraints so that replicas land on different nodes and, where available, different zones.
- Persistent volumes: Confirm the storage class, its replication behavior and how volumes reattach after a node failure.
- Unseal on restart: Pods that restart without automated unseal will stay sealed. Confirm how each replica unseals itself after a reschedule.
- Upgrades and drains: Confirm that cluster upgrades and node drains respect a pod disruption budget so that only one replica is down at a time.
- Backup transport: Snapshots written from inside the cluster need a route to backup storage that your network policies allow, and the backup job needs its own credentials.
Confirm with your cluster operators how node drains, zone failures and storage class behavior are handled before you rely on the StatefulSet defaults.
In an air-gapped network, there is no outbound path to a cloud key service or public package source, so every dependency must be inside the enclave or moved in through an approved process. The HA layout is often similar to on-premises VMs, but unseal options that call external services may not be available, and the time to recover a sealed cluster depends on how quickly authorized people can reach the unseal material. Backup transport is the area that changes most, because snapshots must cross a controlled boundary by an approved method.
- Placement: Keep the same failure-domain rules as on-premises, and confirm that the enclave's hypervisors or hardware give you separate hosts for each node.
- Unseal custody: Confirm which unseal method works without outbound connectivity, and who holds the key shares or recovery material.
- Backup transport: Snapshots or database dumps may need to be moved by removable media or a cross-domain transfer. Confirm the approval steps, encryption and chain of custody.
- Restore testing: Restore procedures must run inside the enclave using only local artifacts. Confirm that the restore runbook does not depend on internet access.
- Software delivery: Confirm how OpenBao binaries and updates are brought into the network and verified before installation.
Confirm the accepted transfer method and key custody process with your security authority before finalizing the backup design.
Securing the HA cluster and its replication paths
An HA cluster is only as strong as the traffic and data paths between its nodes, clients and storage. The cards below are controls to verify on each path, from node-to-node TLS through to backup encryption and who can seal, unseal or snapshot the cluster.
TLS between nodes and clients
Standby nodes forward or redirect client requests to the active node, so both client-to-node and node-to-node traffic must be encrypted. Verify that every listener and cluster address uses TLS with certificates issued by your internal authority, that clients trust only that CA, and that certificate rotation is tested on a standby before it is applied to the active node. Confirm the exact cluster TLS settings against the HA docs for your version.
HA docsStorage backend access and credentials
OpenBao stores encrypted data in the backend, but the backend still holds lock information, cluster membership and database credentials. For PostgreSQL, use a dedicated role with only the privileges OpenBao needs, separate from application roles. Check that the storage password is not in plain text in shared configuration files and that access is limited to OpenBao nodes and the DBA group.
Storage docsBackup file protection and encryption
Snapshots of Raft or PostgreSQL data contain material that must be protected even though secret values are encrypted before storage. Verify that backup files are encrypted at rest with keys held outside the backup store, that copies are restricted to a small operator group, and that restore access is logged. Confirm with your backup vendor and your storage team how retention and deletion of old snapshots are enforced.
Who can seal, unseal and snapshot
Sealing a cluster stops service, unsealing restores it, and snapshots copy its full state. Each of these actions should sit with a named, small group using individual accounts rather than shared operator tokens. Verify that root tokens are revoked after setup, that unseal key holders are documented and separated, and that every seal, unseal and snapshot action appears in the audit log and in your change records.
Network isolation of cluster traffic
Cluster traffic carries the lock, forwarded requests and replication between nodes, and should not be reachable from application subnets or the internet. Verify that cluster ports are open only between OpenBao nodes and the load balancer, that the storage backend is reachable only from OpenBao nodes, and that firewall rules are tested from outside the allowed set. Document each allowed flow so reviewers can compare it with the design.
How to back up and restore an OpenBao cluster
A backup of the storage backend alone cannot restore an OpenBao cluster, so the plan has to cover three separate things: the data in storage, the unseal material and recovery keys, and the configuration that tells the nodes how to start. Storage holds only encrypted data. Without the unseal keys or the auto-unseal key source, a restored copy of that data stays sealed and unreadable. For this reason, store unseal shares and recovery keys in a custody location separate from the storage backups, with a named custodian for each share. Keep copies of the configuration files, including the storage and seal stanzas, under version control or in a controlled repository. Confirm the exact snapshot and restore commands for your storage backend in the OpenBao high availability docs and your own environment before you rely on them.
At a conceptual level, a restore runs in order. First, bring up the target storage with the data from the chosen snapshot, either a Raft snapshot restored into a new cluster or a PostgreSQL restore of the database that backs OpenBao. Second, start the server nodes with the recorded configuration, then unseal them using the custodian shares or the auto-unseal source. Third, confirm that a leader is elected, that the expected auth methods and secrets engines are mounted, and that applications can authenticate. Only then point DNS, load balancers or client addresses at the restored cluster. Treat the first restore as a hypothesis: the rehearsal is what shows whether the steps and the custody arrangements actually work.
Rehearse restores on a separate cluster at least on a schedule your risk owners accept, and record the measured time to restore and every manual step. The rehearsal should run in an environment that cannot reach production clients, so a test restore does not replay credentials or leases against live systems. Write a runbook that names the snapshot location, the storage version, the configuration repository path, the unseal custodians and how to reach them, the sequence above, and the checks that count as success. Have someone who did not write the runbook execute it in a rehearsal, and fix every step they had to ask about. That test, more than any document review, shows whether people other than the original author can perform a restore under pressure.
What drives the effort and cost of OpenBao HA
This table lists the main factors that change the effort of an OpenBao high availability build and run, and how to keep each one contained. No effort figures are supplied for this topic, so request a scoped estimate from the written scope rather than a generic number. The main takeaway is that the storage choice, unseal approach and rehearsal count shape most of the work.
| Driver | Why it changes effort | How to keep it down |
|---|---|---|
| Number of environments | Each environment (dev, test, production, disaster recovery) needs its own cluster, storage, unseal material and backup target, so build and test work repeats. | Keep non-production clusters smaller and use the same configuration templates across environments so only sizing and endpoints differ. |
| Storage backend choice | Integrated storage (Raft) and PostgreSQL are the supported HA backends, and the docs describe PostgreSQL as easier to operate safely than Raft, which changes the skills and tooling the team must own. | Choose the backend your team already operates well, and confirm the current storage guidance before committing to a design. |
| Data volume and retention | Larger stores and longer backup retention increase snapshot size, restore time and the storage bill for backups. | Limit what is stored in OpenBao to secrets that need it, set lease and retention policies, and size backup targets from measured data. |
| Number of consuming applications | Each application that reads secrets or authenticates adds auth method setup, policies, client configuration and failover testing from its side. | Onboard applications in groups using shared policy patterns, and test failover once per pattern rather than once per application. |
| Unseal approach | Manual unseal keys, cloud key management auto-unseal and HSM-backed options each need different custody, access procedures and failure runbooks. | Pick one unseal method per environment, document key custody early, and confirm which options your target platform supports. |
| Network topology | Load balancing, cross-zone or cross-region placement, TLS between nodes and firewall rules affect how many paths must be tested during failover. | Use a single-region topology unless recovery requirements demand more, and keep node-to-node and client traffic on documented, minimal paths. |
| Compliance evidence needs | Assessors may ask for configuration baselines, backup records, access logs and proof of tested failover, which adds collection and documentation work. | Agree the evidence list at scoping, generate it from the running system where possible, and confirm requirements with your auditor. |
| Backup and restore rehearsals | Each restore rehearsal exercises the process end to end, including unseal, data integrity checks and client reconnection, so frequency and scope drive recurring effort. | Rehearse on a schedule with a defined scope, record results once, and automate repeatable checks so each rehearsal reuses the same runbook. |
How to test leader failover before production
This sequence proves that an OpenBao cluster elects a new active node, keeps clients working, preserves audit trails, and reintegrates the failed node before any production traffic depends on it. Run it in a staging cluster built the same way as production.
Record the baseline cluster state
Before any fault is injected, the operator records which node is active, which nodes are standbys, the storage backend in use, and the health and seal status of every node. Capture the output of the status and Raft peer listing commands for the cluster, and store it with the test record. The step is done when the team can name the active node and the expected failover candidates from written evidence rather than memory.
Confirm a known-good test client path
Run a representative workload through the same load balancer or address that production clients use, such as a read of a key/value secret, a dynamic credential request and a lease renewal. Note the success rate and the latency of each call. The step is done when every test call succeeds consistently, because a failover result is only meaningful against a working baseline. Use a test identity with a narrow policy so the test itself does not widen access.
Stop or isolate the active node under control
The platform or security engineer stops the OpenBao service on the active node, or cuts its network path to the other nodes, at a scheduled time with the on-call team informed and a rollback plan ready. Isolation tests a more realistic partition, while a clean stop tests a process crash. The step is done when the change is logged, the node no longer serves requests, and the timestamp of the fault is recorded for comparison with the log timeline.
Confirm election and client recovery
Watch the remaining nodes until one of them reports as active and the Raft peer list or PostgreSQL lock state shows a single leader. Then rerun the baseline client workload through the normal address. The step is done when a new active node is confirmed, the workload succeeds again, and the time between the fault and recovery is recorded. Confirm that only one node reports as active, since two active nodes would be a serious finding.
Check audit and logging continuity
Review the audit device output and the server logs from both the old and new active nodes across the fault window. Check that requests are recorded before and after the change, that no requests are silently dropped from the audit trail, and that log shipping to the central store kept running. The step is done when the team can show a continuous record of the test, with any gap explained. If the audit device blocks requests when it cannot write, confirm that behavior is what the team expects.
Restore the failed node as a standby
Start the stopped node or restore its network path, then confirm it unseals correctly under the configured unseal method and joins the cluster. Check that it reports as a standby and does not take over the active role while the new leader is healthy. The step is done when the node appears as a healthy voter or standby in the cluster listing and the recovery is recorded with its timestamp. Confirm that the node's configuration matches the others, including any values changed during the test.
Record acceptance criteria and repeat after upgrades
Write the pass criteria before the test, such as single active node, client recovery within a threshold the team sets, no audit gaps, and clean rejoin of the failed node. Set those thresholds with the platform owner, since this guide does not supply a target. Store the results with the cluster version, and repeat the sequence after every minor upgrade and any change to storage, load balancing or unseal configuration. The step is done when the criteria are signed off and the test is scheduled as a recurring control.
Common questions about OpenBao high availability
How much effort does an OpenBao HA cluster take to run?
Effort depends mostly on the storage backend, how many environments you run, and how well your team already operates clustered services. A cluster needs several nodes, a documented unseal approach, TLS between nodes, monitoring of the active node and standbys, and a tested backup and restore routine. The one-time work is designing the topology, building the automation, and running the failover tests. The recurring work is patching, rotating certificates and keys, and handling incidents. Ask any partner to break its quote into design, build, test, and handover, and to state which recurring tasks remain with your team.
Is Raft or PostgreSQL easier to run for OpenBao HA?
The OpenBao storage documentation describes PostgreSQL as an easier backend to operate safely than Raft. With PostgreSQL, the database team usually already has backup, replication, and failover practices, and OpenBao relies on that layer for durable storage. With integrated storage (Raft), OpenBao manages replication itself, so your team must understand quorum, peer removal, and snapshot restore in detail. Raft avoids a separate database dependency, which some teams prefer. Choose based on which operational skills you already have, and confirm the current guidance for your chosen version in the OpenBao storage docs before committing.
Can OpenBao standby nodes serve read requests?
Yes, with conditions. OpenBao's HA documentation says that since version 2.5.0, Raft standbys can serve read-only operations, and version 2.7.0 extended this to PostgreSQL, which gives horizontal read scaling. Read scaling helps when many workloads fetch secrets at once, but writes still go through the active node. Confirm which request types each backend serves on standbys, how clients should be pointed at them, and how your load balancer handles health checks before you rely on it for capacity.
What must our team provide for an OpenBao HA project?
Your team provides access and decisions that only you can make. That includes cloud or data center accounts, network paths between nodes and clients, DNS names, TLS certificate sources, the unseal or key custody approach, identity provider details for SSO, and named owners for on-call and change approval. You also need a staging environment that resembles production so failover tests are meaningful. Agree these inputs in writing at the start, because delays in them often extend the schedule more than the technical work does.
Can our own team build and operate OpenBao HA without a partner?
Often yes, if your team has experience with Linux service operations, TLS, and either Raft or PostgreSQL administration, and if someone can dedicate time to the first build and test cycle. A partner adds value when you lack that experience, need a fixed-scope delivery with written deliverables, or want an independent test of failover and restore. OpenBao is open source under MPL-2.0, so there are no license fees to negotiate. Compare your internal estimate of hours and skills against a written scope before deciding.
How long does it take to prove that failover works?
Proving failover means running planned and unplanned leader loss scenarios, confirming that a standby takes over, that clients reconnect, and that data and leases stay consistent. The duration depends on how many environments you test, how much automation you have, how many client types depend on OpenBao, and whether you also test restore from backup. Test in staging first, record the observed results, then repeat the tests after each upgrade. Ask for the test plan and pass criteria as part of any quote, since those define the work more precisely than a general duration.
Does an HA design need a separate backup and restore plan?
Yes. High availability protects against node loss, but it does not protect against corrupted data, accidental deletion, or a bad upgrade that spreads across all nodes. Your plan should cover how snapshots or database backups are taken, where they are stored and encrypted, how often they run, who can restore them, and how a restore is tested. Include the unseal material in that plan, because a backup you cannot unseal is not useful. Confirm the restore procedure for your storage backend in the OpenBao HA documentation.
How requests and leadership flow through an HA cluster
A client request enters through the load balancer and reaches whichever OpenBao node it is sent to. The active node holds the lock in the shared data store and handles writes, while standby nodes forward or redirect requests to it. Since OpenBao 2.5.0, Raft standbys can serve read-only operations, and v2.7.0 extended this to PostgreSQL, so reads may be served by standbys. The unseal material sits outside the cluster, so a restarted node cannot read data without it. When testing, confirm which node holds the lock and that unseal keys are reachable.
Requests reach the active node through standbys, which hold no leadership lock.
What to monitor, back up and document after go-live
The handover is only complete when the cluster can be watched, restored and changed by people other than the builders. For an OpenBao high availability cluster, that means three things: alerts on the signals that show the active node is changing or the storage is struggling, backups that have been restored in a rehearsal, and records that say who owns each component. Start with leader changes. A leader election that happens once during a planned restart is routine, but repeated changes over a short period point to network instability, overloaded nodes or storage latency. Alert on the count of leader transitions over a window, and alert separately on any period where no active node is reachable. Track each node's health and seal status, and confirm that standbys are current with the active node. On Raft, watch the peer list and the health of each voter. On PostgreSQL, watch the database's availability, connection counts and replication status, since the database is now the lock and the storage at the same time. Confirm which metrics your chosen telemetry setup exposes before you write alert thresholds, because metric names and endpoints vary by deployment and version.
Backups need a schedule, an owner and a restore rehearsal. For Raft, the snapshot is taken from the cluster and must be stored outside the cluster, encrypted, with retention that your recovery objectives justify. For PostgreSQL, the database backup and point-in-time recovery settings belong to the database team, but the OpenBao team must confirm that a restored database brings back a working cluster. Do not treat a successful backup job as proof. Schedule a restore into an isolated environment on a fixed cadence, unseal the restored cluster with the keys your custody process actually holds, and check that secrets, auth methods and policies read back correctly. Record how long the rehearsal took, because that figure is what you will tell leadership during an incident. The unseal keys or auto-unseal dependencies must be backed up with the same care as the data, or a perfect snapshot cannot be used. Failover drills should run after each significant change, and their results go into the same record.
The handover pack should contain a runbook for leader failover, node replacement, unseal, snapshot restore and a rollback decision, each with the exact commands used in your environment, the contact path and the approval needed. Name an owner for every node, storage backend, unseal mechanism, backup job and alert rule, and name a backup owner who is not the same person. Plan upgrades on a fixed cadence. Track the minor release lines OpenBao publishes on its GitHub releases page and decide in advance how far behind the cluster may fall, since rolling upgrades of Raft or PostgreSQL clusters need a tested order and a restore point. The upgrade and support topic covers that sequence in detail, so use this section only to set the calendar, the owner and the test environment. Finally, ask your implementation partner or internal team to confirm, in writing, which items are delivered as documents, which as configured alerts, and which as trained staff, so that go-live is accepted against evidence rather than intent.
How DeployOpen scopes, builds and hands over OpenBao HA
DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside your own infrastructure, so an OpenBao HA cluster runs in your cloud accounts, data centers or air-gapped network. Engagements are fixed-scope, with the scope, deliverables and timelines agreed in writing before work starts.
How we scope
- Confirm whether the cluster will use integrated storage (Raft) or PostgreSQL, and why, against your team's operating skills.
- Record node count, failure domains, load-balancer approach and where each node will run in your environment.
- Agree in writing which standby read scaling, backup targets and failover tests are inside the fixed scope.
How we build
- Deploy the HA nodes, storage backend and unseal approach inside your accounts or data centers, with configuration kept under version control.
- Run leader failover tests on the live cluster and record the observed client behavior, retries and recovery steps.
- Configure backup and restore jobs, then perform a documented restore into a separate environment to prove the backups work.
How we hand over
- Deliver runbooks covering leader failover, node replacement, unseal procedures, backup restore and storage maintenance.
- Provide the test evidence, configuration baseline and a list of open items for your security and platform teams to review.
- Walk your operators through failover drills so your on-call team can run the procedures without DeployOpen present.
How we support
- Ongoing support, upgrades and continuous testing for the HA cluster are available as retainers, scoped separately from the build.
- Retainer work can include applying OpenBao minor releases and security patches, and retesting failover after each change.
- Ask for the support boundaries, response expectations and upgrade testing approach in writing before signing a retainer.

