How to plan an OpenBao HA upgrade without losing the cluster
When an HA OpenBao cluster must move to a newer release while applications depend on it for secrets, the documented approach is to take a backup, upgrade the standby nodes first, and then shut down the active node so an upgraded standby takes over. That sequence is the core of the plan. The upgrade guide states there is no true zero-downtime path, but the window in which the active node is unavailable should be very short. Plan for a brief gap in secret delivery and confirm with your application owners how their clients retry during leader changes.
The backup is not optional. OpenBao does not guarantee backward compatibility of its data store, so the only supported way to downgrade is to roll back the data store together with the binary. Before you start, confirm where your backup lives, how long a restore takes, and who can perform it. For Raft clusters, that means the integrated storage snapshot and the unseal material needed to bring a restored node back. For PostgreSQL clusters, it means a database backup that matches the point you intend to restore to. Test the restore on a non-production copy before the change window, not during it.
Choose your target release with the support policy in mind. The latest release does not reach end of life, users on older releases may be asked to test the latest release, and releases arrive roughly monthly. A cluster several minor versions behind therefore carries both more change to absorb in one window and a support position that may require testing against current code. Read the release notes for every minor line you cross, because version-specific changes can affect configuration, endpoints and removed fields. Our OpenBao support and EoL policy reference is the natural next read for setting that cadence.
Finally, decide who watches the cluster during the change. Each standby should report healthy and in sync before the active node is stepped down, and the team should agree on the go or no-go condition for moving to the next node. Record the expected active node, the order of nodes, and the rollback trigger in a runbook that names an owner. Confirm the exact health checks and commands against the upgrade guide for your release, since those details change between versions.
What changes in the releases and what each change asks of operators
This table lists the release and configuration changes that affect an HA upgrade plan, with the impact of each and the action an operator needs to take before or during the rollout. Read it as a pre-upgrade checklist: work through each row against your current version and configuration. Release-specific breaking changes are covered on the version pages, so use this table to decide which of those pages to read.
| Change | Impact on an HA cluster | Action needed |
|---|---|---|
| Raft standby read support (2.5.0) | Since 2.5.0, Raft standbys can serve read-only operations, so a mixed-version cluster may route reads differently during the rollout. | Confirm which version each node runs before and after each step, and check client read routing against your load balancer settings. |
| PostgreSQL standby read support (2.7.0) | Version 2.7.0 extended standby reads to PostgreSQL, which changes read traffic for PostgreSQL HA clusters once all nodes run 2.7.0. | Review read-path health checks and monitoring on PostgreSQL standbys, and confirm the behavior in a test cluster first. |
| Released 2.7.0 on September 23, 2026 | The current minor line for this upgrade. The docs require a backup before upgrading and rolling back the data store with the binary if you downgrade. | Take and verify a data store backup, then read the 2.7 version page for release-specific changes before scheduling. |
| Released 2.7.1 on October 1, 2026 | A patch release on the 2.7 line, so the upgrade procedure is the same as for 2.7.0 but you should target the latest patch. | Confirm the target patch version in the GitHub releases list and apply the same standby-first order. |
| Released 2.6.4 on the same day as 2.7.1 | Clusters on the 2.6 line receive this patch for that line, so a cluster that stays on 2.6 still needs its own upgrade plan. | Decide whether you stop at 2.6.4 or move to 2.7, and read the 2.6 upgrade page if you move from 2.5 or earlier. |
| mlock removal and disable_mlock (2.0.0) | OpenBao stopped using mlock in 2.0.0, so a configuration that still sets disable_mlock may fail to start or be inconsistent across nodes. | Remove disable_mlock from every node's configuration before the upgrade and check each node's file matches. |
| Rekey requirement for clusters bootstrapped before Vault 1.3 | Clusters bootstrapped before Vault 1.3 may need a rekey before moving to OpenBao, which changes the unseal and key custody steps. | Confirm the bootstrap version of your cluster with the migration guide and plan the rekey as a separate, tested step. |
| Data store compatibility | OpenBao does not guarantee backward compatibility of its data store, so a binary downgrade alone does not restore a working cluster. | Keep a backup taken before the upgrade and restore the data store with the binary when you need to downgrade. |
What to back up and verify before the first node is touched
A rolling upgrade is only reversible if the data store and the surrounding configuration can be put back exactly as they were. The cards below cover what to capture, test and inventory before any standby is replaced, so that a failed step becomes a restore rather than a rebuild.
Mandatory backup before upgrading
OpenBao does not guarantee backward compatibility of its data store, so a backup is a precondition for the upgrade, not an optional safety net. Take it from the current active node and confirm it completes without errors. Record the OpenBao version it came from, because the restore procedure depends on matching that version. Store the backup outside the cluster so a failed node cannot take it with it.
Upgrade guideRestorable data store snapshot
A downgrade means rolling back the data store along with the binary, so the snapshot must be restored and tested, not just created. For Raft, confirm you can restore into a scratch cluster and unseal it. For PostgreSQL, confirm the database dump or point-in-time recovery target restores cleanly. Keep the snapshot until the upgraded cluster has run long enough to be considered stable.
Configuration inventory and removed keys
Export the configuration file from every node and diff them against the target release notes. Look for keys that were removed or changed, such as disable_mlock, which must be deleted after OpenBao 2.0.0 stopped using mlock. Each node should be checked individually, because configuration drift between nodes is common in clusters built by hand.
Plugin and external plugin versions
Record every plugin in use, its version and whether it is built in or loaded from an external source. Plugins that were built against the old server may need a matching release before the first node changes, otherwise mounts fail after the restart. Confirm the plugin pins and image digests you plan to keep, and decide who approves any change to them.
Load balancer and client endpoints
Document the address that clients, agents and automation use to reach the cluster, and which health check the load balancer uses to choose a node. During the standby-first sequence the active node changes, so the health check must send traffic to the new active node without manual intervention. Test that path on staging and note which clients hold long-lived connections.
Staging cluster on the same backend
Build a staging cluster with the same storage backend type, the same number of nodes and a restored copy of production data. Run the full sequence there first: upgrade standbys, step down the active node, and test a downgrade by restoring the snapshot. Staging only proves the procedure if the backend matches, so a Raft test cannot stand in for a PostgreSQL production cluster.
Which upgrade path OpenBao supports and why it matters
Before planning any HA upgrade, confirm which minor line your cluster runs and whether your target release sits on a supported path. OpenBao's support policy says the latest release does not reach end of life, and users on older releases may be asked to test the latest release before the project can help with a problem. Releases arrive roughly monthly, so a cluster that stays on an older minor line can fall well behind the version the maintainers are testing against. Check the current release list in the OpenBao releases on GitHub page and the OpenBao support and EoL policy before you pick a target version, and record both in your change ticket.
Next, read the release notes for every minor version you will pass through, not only the final target. Breaking changes accumulate across minor lines, and a cluster that skips a line can meet a removed setting or a changed default at a point where nobody expected it. The sibling pages on the 2.5, 2.6 and 2.7 changes list the behavior changes that matter for HA clusters, including unauthenticated rekey defaults, Raft standby reads and the standby-first procedure. Write down, for each intermediate version, what your configuration, plugins and automation depend on, and confirm with the release notes whether each step is a supported stop for your current version. If your environment has custom plugins or external integrations, confirm their compatibility with each step as well.
The support policy matters most because the data store does not carry backward compatibility. OpenBao does not guarantee that a newer data store will open on an older binary, so a rollback means restoring the backup taken before the upgrade, not just reinstalling the previous binary. Treat the backup as a gate: do not start the first standby upgrade until you have a verified snapshot of the Raft or PostgreSQL data and a tested restore path for that version. Confirm who owns the restore decision, how long a rollback would take in your environment, and whether your change window can absorb it.
How the HA upgrade sequence runs, node by node
The documented sequence upgrades standbys first, hands the active role to an already upgraded node, and then upgrades the former active node, so the cluster keeps serving requests with only a brief interruption at the switch. Each stage ends with a check and a rollback point.
Take and verify a data store backup
Before any binary changes, the operator takes a backup of the data store, either integrated storage (Raft) or the PostgreSQL database, and confirms that the backup can be read back. OpenBao does not guarantee backward compatibility of its data store, so this backup is the only complete rollback path if a downgrade is needed later. Store it outside the cluster and record which OpenBao version it was taken from. The step is done when the backup is stored off the cluster and a restore test or integrity check has passed.
Confirm cluster health and identify the active node
Check the status of every node and record which one holds the active role and which nodes are standbys. Confirm that all nodes are unsealed, that the Raft peer list or PostgreSQL lock holder matches what you expect, and that no node is already failing or lagging. Record the current version on each node so you can see progress later. The step is done when you have a written list of node roles, versions and health results that the team agrees is the starting state.
Upgrade the first standby and check it
Replace the OpenBao binary on one standby node, restart it, and confirm that it rejoins the cluster, unseals, and reports the new version. Check the data store membership and watch the node for errors in its logs. The active node keeps serving traffic throughout, so this stage should not interrupt clients. The step is done when the upgraded standby is healthy and the active node still reports the cluster as normal. If it is not, stop here and roll back this node only, since the data store has not yet been changed by a newer version in a way that prevents this.
Upgrade the remaining standbys one at a time
Repeat the standby upgrade for each remaining standby, one node at a time, and run the same health checks before moving to the next node. Keep at least one node on the old version until the whole plan is confirmed. Do not upgrade the active node in this stage. The step is done when every standby reports the new version, is unsealed, and appears as healthy in the cluster membership view. Ask your vendor or the release notes whether mixed-version operation is supported for the specific releases you are moving between, and confirm it before you start.
Step down the active node
Ask the active node to step down so that one of the upgraded standbys takes over the active role. The docs describe this as the only point with downtime, and they say it should be very short but is not zero, so schedule it and tell dependent teams to expect brief failed or retried requests. Watch the cluster until a new active node is elected, confirm which node it is, and confirm that it runs the new version. The step is done when an upgraded node holds the active role and clients can read and write secrets again.
Upgrade the former active node
Upgrade the former active node the same way you upgraded the standbys, then restart it so it rejoins as a standby. Check its unseal state, data store membership and logs. The active node should not change again during this stage unless a health check forces it. The step is done when all nodes report the new version and the cluster has one active node and the expected number of standbys.
Verify unseal state, leases, auth and secrets engines
Run end-to-end checks against the upgraded cluster. Confirm that every node is unsealed, that a test client can authenticate through each configured auth method, that a test read and write work on key/value and any dynamic secrets engines, and that lease counts and revocation behave as expected. Review audit logs and metrics for new errors. The step is done when the checklist agreed before the upgrade is complete and signed off by the operator and the application owners. If a downgrade becomes necessary after this point, the data store must be restored from the backup taken in the first step together with the previous binary, because a binary-only rollback is not supported.
How leadership moves from the old active node to an upgraded standby
The walk starts with a verified backup of the data store, then each standby is upgraded first while the active node keeps serving. The active node is then shut down so one upgraded standby acquires the lock in the data store and becomes active. The former active node is upgraded last and rejoins as a standby. Check that the new active node is unsealed and healthy before touching the remaining node, and keep the backup until the cluster is confirmed stable.
Standbys are upgraded first, then leadership transfers to an upgraded node before the former active node is upgraded.
How Raft and PostgreSQL HA clusters differ during the upgrade
With integrated storage, OpenBao keeps its data in a Raft cluster built into the server, so the data store and the HA cluster are the same set of nodes. The active node holds the lock through this data store, and standbys follow it. On current releases, Raft standbys can also serve read-only operations. During an upgrade, each standby is upgraded first, and then the active node is shut down so an upgraded standby takes over. Backups are Raft snapshots, and restoring one returns the cluster to the state captured in that snapshot. Review the HA upgrade guide before you schedule the change.
- Lock and leadership: The active role moves between nodes through the Raft cluster, so every node you upgrade changes the quorum you rely on. Check member health before each step.
- Snapshots: Take a snapshot before you replace any binary, and store it somewhere the upgraded nodes cannot overwrite.
- Restore: Restoring a snapshot is a cluster-wide operation. Confirm the exact procedure for your version before you need it in an incident.
- Downgrade: The data store is not backward compatible, so rolling back means restoring the pre-upgrade snapshot together with the older binary.
- Quorum risk: Each Raft node also holds data, so a failed upgrade on one node can affect quorum. Plan a rollback for every step.
Confirm the snapshot and restore procedure for your version in a staging cluster before the production upgrade.
With PostgreSQL, the data store is an external database that the OpenBao nodes share. The active node holds the HA lock in that database, so standbys and the active node are identified through the same shared store. Replacing the OpenBao binaries leaves the database untouched, but the database still needs a verified backup before the change, and the database owner's backup tooling becomes part of the upgrade plan. The storage backend docs describe PostgreSQL as easier to operate safely than Raft, which is why many teams choose it when upgrade safety is a priority.
- Lock: The active node holds the lock in PostgreSQL, so failover depends on the database being reachable and healthy during each step.
- Backups: Take a backup with the method your database team already tests, such as a logical dump or a physical backup, and confirm that it restores.
- Restore: Restoring means returning the database to the backup point with OpenBao nodes stopped. Agree the procedure with the database owner in advance.
- Database maintenance: Database failover, maintenance windows and connection limits can affect OpenBao, so schedule them around the upgrade.
- Downgrade: Rolling back still means restoring the data store together with the older binary, so the database backup is the rollback path.
Confirm the backup, restore and failover behavior with your database owner on a staging cluster before the production upgrade.
What makes an OpenBao upgrade take longer than planned
This table lists the factors that stretch an OpenBao HA upgrade beyond the standby-first sequence, how each one changes effort, and what to confirm before scheduling. Read it as a pre-upgrade inventory: the more rows that apply to your cluster, the more time the backup, testing and rollback steps will need.
| Driver | Effect on effort | What to confirm |
|---|---|---|
| Number of nodes | Each standby must be upgraded and verified before the active node is stepped down, so effort grows with node count. | Node count per cluster, which nodes are standbys, and whether each can be replaced or restarted in sequence. |
| Storage backend and data size | Raft and PostgreSQL need a backup before upgrading, and restoring the data store is the only documented downgrade path, so a larger dataset lengthens both backup and rollback. | Storage backend in use, current data size, backup duration in a test restore, and where backups are stored. |
| External plugins | Plugins must be pinned to versions compatible with the target release and reloaded after the upgrade, adding a verification step per mount. | Every external plugin in use, its pinned version, and whether a compatible release exists for the target version. |
| Custom policies and auth configuration | Policies and auth methods are re-checked against the new version, and removed or changed fields in release notes may need edits before the upgrade. | Count of custom policies and auth mounts, and the release notes for each version you will cross. |
| Kubernetes or cloud key store integrations | Auto-unseal, Kubernetes auth and cloud KMS integrations must keep working through each node restart, so each one needs its own test. | Which seal, auth and secret delivery integrations exist, and who owns the cloud or cluster side of each. |
| Compliance evidence requirements | Change records, pre- and post-upgrade test results and backup proof may need to be captured in a format your assessor accepts. | Evidence your auditor or internal risk team expects for change management and backups, and their retention period. |
| Number of intermediate versions crossed | Each skipped minor release adds its own breaking changes and sequencing steps, so a multi-version jump takes more planning. | Current version, target version, and the upgrade guide sections for every release between them. |
| Maintenance window and rollback readiness | A short planned downtime is expected during the active node step-down, but a failed upgrade that needs a data store restore extends the window. | Approved change window, who signs off a rollback, and whether a tested restore procedure exists. |
How to test the upgrade and roll back safely
The main test for an OpenBao HA upgrade is a rehearsal on a staging cluster built from a recent production backup, run through the same standby-first order you plan to use in production. A rehearsal that only confirms the new binary starts tells you little. Check that every node unseals with your current seal configuration, that auth logins still succeed for each method your applications and operators use (AppRole, JWT/OIDC, Kubernetes, or whichever you have enabled), and that existing tokens and policies behave as before. Then exercise the paths that break quietly: key/value secret reads and writes, dynamic credential issuance for your database or other secrets engines, and PKI issuance against the same mounts and roles your services use. Finally, fail over deliberately by stepping down the active node and confirm that clients reconnect to the new active node without manual intervention. Record the observed downtime and compare it with what your change window allows.
Treat the data store as part of the rollback plan from the start. The upgrade guide states that OpenBao does not guarantee backward compatibility of its data store, so a downgrade means restoring the data store together with the previous binary, not just reinstalling the old executable. Confirm that the backup you take before upgrading is usable: restore it into an isolated environment, confirm the cluster unseals, and confirm the expected version and data are present. Also confirm where your unseal keys or auto-unseal dependencies live, because a restored cluster needs them. Keep the restore procedure written down and rehearsed for Raft or PostgreSQL, whichever backend you run.
Decide whether to proceed or roll back before you step down the active node, while the old active node is still the one serving requests. Once the active node is stopped and an upgraded standby takes over, reversing the change means restoring data, not just swapping binaries, so the go or no-go checks belong at the end of the standby upgrade stage. Set explicit criteria in advance, such as failed unseal, failed auth or secret operations in staging, or errors in the metrics you monitor. The guide describes the downtime during this step as very short, but it is not zero, so confirm with the vendor or your own rehearsal what your clients will see during failover and whether they retry automatically.
Questions teams ask before upgrading OpenBao HA clusters
How much does a rolling upgrade of an OpenBao HA cluster cost?
The cost is mostly the labor to plan, rehearse and run the upgrade, plus any staging capacity you need to rehearse it. Costs come from the number of nodes, the storage backend (integrated Raft or PostgreSQL), how many environments need the change (test, staging, production), and how many items in your configuration need review against the release notes. Recurring cost is small if you upgrade on a regular cadence, because each upgrade is smaller. Ask any provider for a fixed-scope quote that lists the environments, the backend, the backup method, the rehearsal, the change window and the post-upgrade checks as separate line items.
How long does an OpenBao HA upgrade take?
Duration depends on how many nodes you run, how many environments you upgrade, how large the data store is for the backup and restore steps, and how much preparation the release notes require for your configuration. The upgrade itself moves one standby at a time and then steps the active node down, so a larger cluster adds steps but not a different procedure. Plan extra time for the rehearsal in a non-production environment, for taking and verifying the backup, and for the checks you run after the active node changes. Confirm the current release notes and your own change calendar before you commit to a date.
Can our own team upgrade OpenBao HA without a partner?
Yes, if your team has operators who can read the upgrade guide, run the backup and restore steps, and verify cluster health through the leader and standby status. The documented procedure is short, but the risk is in the preparation: confirming configuration changes for the target release, checking that the backup restores, and deciding what to do if a standby does not rejoin. Teams that do this in-house usually rehearse it in a non-production cluster first. A partner can take on the planning, rehearsal and evidence work, which is useful when you lack HA experience or need the change documented for an audit.
What does the internal team need to provide during an upgrade?
The work needs four things from your side. First, access: administrative access to every OpenBao node, the data store, the backup location and the secrets used for unseal or auto-unseal. Second, a change window approved by the owners of the applications that depend on secrets, since the active node is stopped during the step-down. Third, staff on call who can make decisions during the window, including someone who can approve a restore. Fourth, a named owner for sign-off. Confirm with your provider how many people must be available and for how long, and what they must have ready before the window opens.
Does upgrading OpenBao cause downtime?
Expect a short interruption, not zero downtime. The OpenBao HA upgrade guide upgrades each standby first, then shuts down the active node so an upgraded standby takes over, and the guide states that there is no true zero-downtime upgrade, though downtime should be very short. Length depends on how quickly the new active node takes the lock, how many clients retry, and how long your applications cache secrets or leases. Applications that fetch secrets at startup or rely on long-lived tokens may notice more than those using local agents with caching. Test this behavior in a rehearsal and agree the acceptable window with the application owners.
How does rollback work after an OpenBao upgrade?
Rollback is not a binary swap alone. OpenBao does not guarantee backward compatibility of its data store, so the upgrade guide requires a backup before upgrading, and downgrading means rolling back the data store along with the binary. In practice, you stop the cluster, restore the backup taken before the upgrade, and start the earlier release on every node. Any secrets, leases or configuration written by the new release after the backup are lost with the restore, so plan for that when deciding when to roll back. Verify the backup restores in a rehearsal before the production window, and record who has authority to start the restore.
Which OpenBao release should we upgrade to, and how often do releases come out?
Choose a release that your version-specific upgrade notes cover, and plan for the latest release line rather than waiting too long. The support policy states that the latest release does not reach end of life, that users on older releases may be asked to test the latest release, and that releases come out roughly monthly. Check the current release list and the version-specific upgrade pages for your starting version, because some releases change defaults, remove fields or change plugin behavior. Keeping upgrades small and frequent usually leaves fewer steps per change than a single large jump.
How DeployOpen scopes, runs and supports an OpenBao upgrade
DeployOpen plans a rolling upgrade of an OpenBao HA cluster as a written, fixed-scope engagement inside your own infrastructure. The work covers the backup, standby-first sequence, the active node step-down, verification and a documented downgrade path that restores the data store with the binary.
How we scope
- Inventory every OpenBao node, its storage backend (Raft or PostgreSQL) and the current and target release.
- Confirm the target version against the OpenBao releases page and the upgrade notes for each minor line crossed.
- Record in the written scope which environments, backup targets and maintenance windows the upgrade covers.
How we build
- Take and verify a data store backup before any node changes, and document where it is stored.
- Rehearse the procedure in a non-production copy, upgrading standbys first and stepping the active node down.
- Test that an upgraded standby takes over, that clients reconnect and that secrets remain readable after failover.
How we hand over
- Deliver a runbook listing each step, the checks at every stage and the rollback point for the data store.
- Document the observed downtime during the active node step-down so your team can compare it in future upgrades.
- Walk your operators through the downgrade path, which restores the data store along with the binary.
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer for clusters that move to each new release.
- Plan the next upgrade against OpenBao's support policy, which asks users on older releases to test the latest release.
- Confirm version-specific changes for each target release with your team before the maintenance window opens.

