Why PostgreSQL high availability is harder than a standby server
If your goal is to keep the database running when a node is lost, a streaming standby is only one part of the answer. PostgreSQL provides replication, but it does not detect a failed primary or promote a standby by itself. The failover layer, meaning the monitoring, decision logic and promotion steps, is a separate build that you assemble from external tools and your own runbooks in infrastructure you control. The PostgreSQL high availability docs describe the replication features in detail, and they make clear where the database's responsibility ends.
The hard parts sit outside replication. The first is the promotion decision: the system has to tell a dead primary from a primary that is only slow or cut off from the monitor, and a wrong call can split the cluster into two writable servers. The second is client redirection, since applications must find the new primary through a virtual address, a DNS change, a proxy or a driver-level host list, and connections in flight must fail cleanly. The third is fencing the old primary so that, if it returns, it cannot accept writes. The fourth is proof: a failover path that has never been exercised under load, with the team watching, is an assumption rather than a capability. Each of these needs an owner, a configuration value and a test.
Hot standbys can serve read-only queries, which is useful for reporting and for offloading reads, but that capability does not make the service highly available. A standby that answers queries can still be far behind the primary, and it does nothing to move write traffic when the primary fails. Before you design anything, confirm with your team which recovery time and data loss tolerances the business accepts, whether synchronous standbys are required for those tolerances, and which component will make the promotion decision in your environment.
Which components make up a PostgreSQL HA cluster
A PostgreSQL high availability cluster is a set of parts that each cover a different failure: a lost primary, a lagging standby, a bad commit, a broken client path or a damaged data directory. The parts only protect you if they are chosen together and tested together, so review them as one design rather than as separate purchases.
Primary server
The primary accepts all writes and generates the write-ahead log (WAL) that every standby replays. It is the single point of failure the rest of the cluster exists to cover. Check how much capacity and I/O headroom it has, because a standby cannot take over a workload the primary could not carry. Confirm the instance is sized for the failover load, not only for normal traffic, and record which host is primary at any moment.
HA docsStreaming replication standbys
Standbys receive WAL from the primary over a streaming connection and replay it, so they hold a near-current copy of the data. A hot standby can also serve read-only queries. Decide how many standbys you need and where they sit, including whether one is in a separate failure domain. Each standby must have enough disk and network to keep pace with the primary's write volume.
Synchronous or asynchronous commit
With synchronous replication, a commit on the primary waits until a standby confirms it, so a promoted standby loses no committed transactions. Asynchronous replication does not wait, which keeps write latency lower but can lose the most recent commits on failover. This is the central trade-off: confirm with the business how much data loss is acceptable, then test the latency cost under real write load before you commit to a setting.
External failover manager
PostgreSQL does not detect a dead primary or promote a standby on its own, so an external tool must do both. The manager watches health, decides when to promote, and fences the old primary so two servers do not accept writes. Choosing and configuring this tool is the most common source of split-brain risk. Ask how it handles network partitions, who can override it, and how it is tested.
Failover docsClient routing layer
After failover, clients must reach the new primary without manual edits. A virtual IP, DNS record or connection pooler such as PgBouncer can do this, and each has different failure behavior and cutover timing. PgBouncer pools connections, but it does not manage failover by itself, so it must be pointed at the right host. Document the routing method, its time to switch and how applications reconnect after a switch.
PgBouncer siteWAL archiving for recovery
Replication copies damage as faithfully as it copies good data, so a dropped table or a bad migration reaches every standby within seconds. Archived WAL, combined with a base backup, lets you recover to a point in time before the damage. Archiving is the recovery path when HA does not help. Confirm archive location, retention and restore testing are owned by a named team and verified on a schedule.
Archiving docsHow the primary, standbys, failover manager and clients fit together
The diagram starts with client applications reaching the primary through a routing layer, which is the only endpoint they should know about. The primary streams WAL to one or more hot standbys, which can run in synchronous or asynchronous mode. A failover manager sits outside the database, probes each node's health and promotes a standby when the primary fails, since PostgreSQL does not detect failure or notify standbys on its own. Separately, a WAL archive receives archived WAL for point-in-time recovery, so it is a recovery path, not a replica. Check that the health check path, the replication mode for each standby and the archive are all inside the same trust boundary.
Clients, replication, health checks and the WAL archive inside one trust boundary.
Which replication and failover choices fit your recovery targets
This table compares four PostgreSQL replication and failover options across when each fits and what it costs to operate. Read each row against your recovery point and recovery time targets, your tolerance for commit latency, and the people you have to run failover. The main takeaway is that stronger data protection on failover adds commit latency, extra nodes and a need for tested automation, and that automatic failover needs an external tool in every case.
| Option | When it fits | Operational cost and risk |
|---|---|---|
| Asynchronous standby | Read scaling or a warm copy where losing the most recent committed transactions on failover is acceptable | No commit latency added. Failover can lose transactions not yet received by the standby. Needs one standby node at minimum and standard monitoring of replication lag. |
| Synchronous standby with named standbys | Zero-data-loss intent for specific standbys, where a commit must wait for a named standby to confirm | Every commit waits for the named standby, so latency rises with network distance. If the named standby is down, writes can stall unless the configuration allows fallback. Needs at least one additional node. |
| Quorum-based synchronous setting | Durability across several standbys where any N of a larger set must confirm, so one slow node does not block every commit | Adds commit latency tied to the fastest qualifying standbys. Needs more nodes than the quorum size to tolerate failures. Operators must verify which standbys count toward quorum after each change. |
| External failover manager | Recovery time targets too short for a person to respond at any hour, with tested automation and a clear owner | PostgreSQL does not detect primary failure itself, so an external tool is required. Adds a component to build, patch and test. Misconfigured fencing or quorum raises split-brain risk, so confirm the tool's fencing design with its maintainers and your own environment. |
| Manual runbook | Recovery time targets that tolerate human response, small clusters, or teams that want fewer moving parts first | No extra software to run, but failover time depends on on-call response and operator skill. Failover steps must be rehearsed, or the first real attempt becomes the test. Split-brain risk depends on the discipline of the person promoting a standby. |
How to build PostgreSQL HA in sequence
This sequence takes a PostgreSQL primary and its standbys from placement and secure replication through to a tested failover manager, client routing and archiving, with a check at the end of each step so the team knows the layer works before building the next one.
Place nodes in separate failure domains
Before installing anything, decide how many nodes you need and where each one sits in your infrastructure. The primary and each standby should be in separate failure domains, such as different hosts, racks, availability zones or data centers, so one event cannot take out every copy. Size the nodes for the expected write load, storage throughput and the memory needed for the workload, and confirm the network path and latency between sites with your network team. Done means a written layout that names each node, its failure domain and its network route, signed off by the infrastructure owner.
Configure the primary for replication
On the primary, enable WAL shipping by setting the write-ahead log level for replication, the maximum number of WAL senders and the replication slots your standbys need. Create a dedicated replication role and grant it only the replication privilege. Configure TLS on the server and require SCRAM password authentication for the replication role, because PostgreSQL 18 deprecates MD5 password authentication in favor of SCRAM. Add a matching entry in pg_hba.conf that allows the replication role only from the standby addresses over TLS. Check that the settings took effect after a restart, and that a test connection from a standby using the replication role succeeds.
Take a base backup to create each standby
Run pg_basebackup from the standby host against the primary, using the replication role over TLS, and write the output into the standby data directory. Include the option that writes the standby configuration so the server starts in standby mode. Start the standby and confirm it connects to the primary. On the primary, query the replication status view and confirm each standby appears with a streaming state. Repeat for every standby. Done means every standby is listed as streaming and the data directory checks pass.
Set synchronous or asynchronous replication
Decide per standby whether commits must wait for it. Synchronous replication protects committed transactions from loss at the cost of write latency and availability if the synchronous standby is unreachable, so choose the number of synchronous standbys and the names they are registered under with that trade-off in mind. Asynchronous standbys do not delay commits but may lose the most recent transactions on failover. Set the synchronous standby names parameter accordingly and reload the configuration. Check the sync state column on the primary for each standby (sync, potential or async), and test one commit with a stopped synchronous standby to confirm the behavior you chose.
Install and fence the failover manager
PostgreSQL does not detect a failed primary or promote a standby on its own, so install an external failover manager that watches the primary, agrees on which node is leader and promotes a standby when it is needed. Choose a tool your team can operate and confirm it supports your topology, quorum design and TLS requirements. Configure fencing so that a failed or partitioned old primary cannot accept writes after promotion, because two primaries can corrupt data for the same database. Test that the manager reports the expected cluster state and that fencing stops the old primary from accepting writes. Confirm the tool's version and support status with its vendor before you commit to it.
Configure client routing to the current primary
Applications should not hold a fixed address for the primary. Place a routing layer in front of the cluster, such as a virtual IP managed by the failover manager, a DNS record that is updated on promotion, or a proxy that follows the leader, and point application connection strings at that layer. If read traffic will go to standbys, which PostgreSQL supports through hot standby, route read-only connections separately and confirm the application tolerates replication lag. Check by connecting through the routing layer, reading the server role, and confirming it returns the current primary. Document which connection strings change after a failover so application teams can verify them.
Set the WAL archive path
Continuous archiving is separate from streaming replication and protects against logical errors and data loss that replication would copy to every standby. Configure archive mode and the archive command on the primary so completed WAL segments are written to storage outside the failure domains of the cluster. Confirm the archive location is writable and that the server reports archived segments rather than failures. This archive is also the basis for point-in-time recovery, so keep it aligned with your backup design. Done means archived segments appear in the target location and the server's archiver status shows no recent failures.
Test failover and switchover before go-live
Run a planned switchover first, where the primary hands leadership to a standby in a controlled way, and confirm that clients reconnect through the routing layer and that the old primary rejoins as a standby. Then simulate an unplanned failure by stopping the primary and confirm the manager promotes the expected standby, fencing blocks the old primary, and no committed data is missing in synchronous mode. Record the observed promotion time, the data loss window for asynchronous standbys and any manual steps needed. Repeat the tests after each change to topology, versions or configuration. Done means the test results are written down and the team has run the procedure at least once.
How to test PostgreSQL failover and switchover before go-live
A planned switchover and an unplanned failover are different tests, and you need both before go-live. A switchover is a controlled role change: the primary is shut down cleanly, a standby is promoted, and the old primary rejoins as a standby. A failover happens when the primary fails without warning and the failover manager or an operator promotes a standby. Clean switchovers rarely expose the problems that matter, such as a standby that is behind, a fencing step that never runs, or an application that holds connections to the old node. Run both, in a staging copy of the production topology, with the same routing layer and the same failover manager you plan to operate.
Build a test matrix that goes beyond the happy path. Stop the primary under a steady write load generated by a load tool that records every acknowledged commit. Isolate the primary from the network while leaving it running, which tests whether the failover manager fences it and whether a split brain can occur. Kill the failover manager process and confirm what happens to the cluster and whether anything promotes without it. Fill the standby disk so replay or WAL receipt stalls, then fail the primary and see what the manager does with a lagging candidate. After each promotion, attempt writes against the old primary and confirm it refuses them. Its default_transaction_read_only setting alone does not prove fencing, so verify with a write attempt from a client that still holds an old connection.
Measure outcomes, not just whether the cluster recovered. Compare the number of acknowledged transactions missing from the new primary against the synchronous setting you configured (synchronous_commit and synchronous_standby_names), and confirm the result matches what the design promised. Record how long clients took to reconnect through the routing layer, whether pooled connections were dropped or reused, and whether application retries produced duplicate writes. Repeat the full matrix after every change to replication settings, the failover manager configuration, the routing layer or PostgreSQL minor versions, and keep the logs, timings and load tool output as dated evidence. Confirm your failover procedure against the PostgreSQL failover documentation and the documentation for your chosen failover manager.
What drives PostgreSQL HA effort and how to reduce it
This table lists the factors that raise the effort and cost of a PostgreSQL high availability build and the practical step that keeps each one manageable. Read each row against your own estate to see which drivers apply most, then ask a partner to price those specific items in the written scope.
| Driver | How it raises effort and cost | Practical step to keep it down |
|---|---|---|
| Number of databases and clusters | Each cluster needs its own primary, standbys, failover configuration and tests, so effort grows with every cluster rather than with data size alone. | Standardize one reference topology and automation pattern, then apply it per cluster. |
| Data volume and replication lag tolerance | Larger data sets lengthen base backups and standby rebuilds, and a strict lag limit pushes toward synchronous replication, which adds commit latency and tuning work. | Decide per workload whether synchronous or asynchronous standbys fit, and measure lag under peak load before fixing the design. |
| Client count and connection pooling | Many direct client connections complicate failover, since applications must reconnect cleanly to the new primary and connection counts must be planned per node. | Place PgBouncer or a similar pooler in front of the cluster and test application reconnect behavior during failover. |
| Number of environments (dev, test, production) | Every environment needs its own replication and failover setup to be tested, so the same design is built and verified several times. | Build the topology as versioned automation and reuse it across environments with only sizing and network values changed. |
| Network topology across sites | Standbys in another site or zone add latency, routing and fencing questions, and the failover manager must reach nodes across the network paths you use. | Document which nodes are reachable from which networks and agree the site failure rules before building. |
| Integration with existing monitoring and identity | Connecting replication health, failover events and administrator logins to your monitoring and central identity systems requires separate integration work for each tool. | List the monitoring, alerting and identity systems in scope at the start, and confirm which PostgreSQL authentication methods and metrics each one needs. |
| Compliance evidence needs | Assessors typically ask for proof of failover design, configuration records and test results, so evidence collection and retained test runs add work beyond the build itself. | Plan failover and switchover tests as scheduled, recorded runs that produce the same artifacts each time, and confirm the evidence format with your assessor before testing starts. |
How PostgreSQL HA changes on VMs, Kubernetes and air-gapped networks
On VMs or bare metal in your own data center, you control the hypervisor, storage fabric, network and fencing path, so the HA design is mostly about how your team wires those pieces together. PostgreSQL provides streaming replication and hot standbys, but it does not detect a failed primary or promote a standby on its own, so an external failover manager and a reliable way to fence the old primary are required. Your storage and network teams usually own the parts that decide whether failover is safe.
- Fencing: Decide how the old primary is stopped or isolated before a standby is promoted, using power control, a hypervisor API or a network-level block. Without this, two nodes can accept writes.
- Storage: Confirm whether each node has local disks or shares SAN or NAS volumes. Shared storage changes the failover sequence and the risk profile.
- Routing: Choose how clients find the current primary, such as a virtual IP managed by the failover tool, a DNS record with a short TTL, or a proxy layer.
- Patch delivery: Minor releases are applied by replacing executables and restarting, so plan rolling restarts that follow a switchover, with the standby patched first.
- Ownership: Agree which team runs hypervisor, network and power controls, since failover tests depend on them.
Before committing, confirm the fencing mechanism with your infrastructure team and test it against a real power or network failure in a non-production environment.
On Kubernetes, the platform already schedules pods, manages volumes and restarts failed containers, but it does not guarantee that a PostgreSQL primary is fenced before a replica takes over. Whether an operator-managed cluster handles promotion, fencing, service routing and rolling updates is a property of the specific operator and its version, not of Kubernetes itself. Treat each of those behaviors as something to verify in a test cluster, not something to assume from the operator's name.
- Fencing: Confirm how the operator prevents split-brain when a node or pod becomes unreachable, and whether storage detachment is part of that process.
- Storage: Check how persistent volumes are bound to pods, whether volumes are local or network-attached, and how they behave during node drains.
- Routing: Confirm which Kubernetes Service or endpoint the application uses, and how it is updated after a switchover.
- Patch delivery: Check whether the operator performs minor version updates as a rolling change, and how it sequences standbys before the primary.
- Operator support: Ask the operator vendor or maintainers which PostgreSQL versions and failover features are supported in the release you plan to deploy.
Before committing, run a node-drain and a forced node failure in a staging cluster and record what the operator actually does.
In an air-gapped network, nothing reaches the internet during installation or operation, so every package, failover tool, container image, certificate and signature must be brought in through an approved transfer process. The HA design is the same, but the cost of a missing dependency is high because a failover tool may be unavailable at the moment it is needed. Verification of imported artifacts becomes part of the build and patch process.
- Packages and tooling: Mirror PostgreSQL packages, the failover manager and any connection pooler through an internal repository, and record the exact versions and checksums imported.
- Certificates: Issue TLS certificates from an internal authority and plan renewal, since replication and client connections depend on them.
- Fencing and routing: Confirm that the failover manager and fencing controls work without external network access, including DNS and time synchronization.
- Patch delivery: Plan minor releases as a controlled import: download, verify signatures, stage in a test enclave, then schedule a rolling restart. Track the PostgreSQL versioning policy to plan major upgrades early.
- Evidence: Keep a record of each imported artifact, its verification and the change window it was applied in.
Before committing, ask your vendor and failover tool maintainers which components can be installed fully offline and which need a separate import path.
How to secure replication, failover and cluster access
A highly available PostgreSQL cluster adds several new doors: the replication channel, the failover manager and the client paths that follow a promotion. Each one needs its own identity, network rule, encryption and audit trail, or a single weak link can expose the whole cluster.
Dedicated replication role
Create a separate login used only for streaming replication, with the REPLICATION attribute and no rights to read application data or run administrative functions. Do not reuse the superuser or application accounts for standbys. Check that every standby connects with this role and that the role can be rotated without touching application logins. Confirm the exact role attributes against the version you run.
HA docsReplication rules in pg_hba.conf
Allow replication connections only from the specific addresses of standby servers and the failover tooling host, using the replication pseudo-database in pg_hba.conf. Avoid broad subnets and all addresses. After every change, reload the configuration and test a standby connection and a rejected connection from an unlisted host. Keep the file under version control so reviewers can see who opened which address.
TLS on replication and failover traffic
Encrypt the replication stream and the connections the failover manager makes to nodes, using server certificates issued by your internal certificate authority. Require verified certificates where the client tooling supports it, and plan renewal before expiry, since an expired certificate can stop replication or failover during an incident. Confirm which connection parameters your failover manager expects for certificate checks.
SCRAM instead of MD5
Set password_encryption to scram-sha-256 and rehash existing passwords so that replication and application roles authenticate with SCRAM. PostgreSQL 18 deprecated MD5 password authentication in favor of SCRAM, so a cluster that still relies on MD5 carries a known migration task. Check every client driver and every standby connection string to confirm it supports SCRAM before you disable MD5 entries in pg_hba.conf.
Secrets kept out of config files
Keep replication passwords and failover manager credentials in a secrets store or a restricted file readable only by the service account, not in postgresql.conf, recovery settings or shell history. Use a .pgpass file or environment injection with correct file permissions for standbys, and verify that backups and configuration exports do not copy secrets. Ask who can read each secret and how rotation is performed without a cluster restart where possible.
Failover manager access and audit trail
The failover manager can promote a standby and redirect clients, so treat its API and admin interface as privileged. Restrict access with role-based permissions, require named accounts instead of shared tokens, and forward its actions to a central log that cannot be edited by the cluster administrators. Test that a promotion or switchover leaves a record showing who triggered it, when and from where.
What to monitor, back up and document after the HA cluster goes live
Once the HA cluster is in production, the work that keeps it healthy is watching replication state, not just whether the primary answers queries. Track replay lag on every standby, the state of each walsender connection on the primary, and whether synchronous standbys are actually acknowledging commits. Lag that grows slowly is the usual early warning, because a standby that has fallen behind is a poor failover target even when it still looks connected. Also watch disk space on the standbys. A standby that fills its volume stops replaying WAL, and the failure often shows up only when someone attempts a failover. Add monitoring for the failover manager itself: its process health, its view of cluster membership, and whether it still has quorum. A failover tool that has lost quorum will not act when you need it to. Confirm alert routing for each of these with your operations team, and confirm the thresholds against the failover manager's own documentation.
High availability is not a backup. A standby replicates mistakes, including an accidental DROP TABLE, as faithfully as it replicates data. Keep base backups and WAL archiving running independently of the cluster topology, and test restores as a separate exercise on a schedule. The PostgreSQL continuous archiving documentation describes how base backups and archived WAL support point-in-time recovery. Patching follows the minor release cadence, which the PostgreSQL versioning policy sets at at least one minor release every three months. Apply minor updates to standbys first, confirm they replay cleanly and rejoin, then perform a controlled switchover so the updated server becomes primary, and update the former primary last. Each minor update restarts the server, so plan that restart as a switchover, not as an outage.
Documentation decides whether the next person on call can recover the cluster. Record the current topology: which nodes are primaries and standbys, whether each standby is synchronous or asynchronous, the failover manager's configuration, and the network path to each node. Write separate runbooks for planned switchover and for unplanned failover, with the exact commands, the checks before and after each step, and the criteria for rolling back. Keep a test evidence log that records each switchover and failover test: date, versions, the trigger, the measured promotion time, data loss checks and the outcome. Store the topology and runbooks under version control with the configuration, and review them after every minor update or change to the failover manager. Ask your DBA or platform team who owns each document and how often the evidence log is reviewed.
What buyers and engineers ask before building PostgreSQL HA
How much effort and cost does a PostgreSQL high availability build involve?
The cost is mostly labor: people designing the topology, building standbys, configuring an external failover manager, and testing failover and switchover until the team trusts them. Hardware and cloud or data center capacity for the extra nodes are a separate, largely recurring line. The main drivers are the number of nodes, whether standbys are synchronous or asynchronous, how many environments need the same build (staging, disaster recovery), how much monitoring and alerting you need, and how much runbook work is required. Ask any quote to split one-time build effort from recurring items such as patching, failover drills and on-call support, and to list which hardware, licenses and tooling are yours to supply.
How long does a PostgreSQL HA build take, and what sets the timeline?
Duration depends less on the replication setup itself than on decisions and access that come before it. The timeline is usually set by environment readiness (network paths, DNS or virtual IP design, certificates), the recovery point and time targets you need to meet, how many failover scenarios must be proven, and how quickly your change approval process moves. Ask the proposal for a written schedule with milestones for design sign-off, build, failover testing and handover, and for the named dependencies each milestone waits on. A fixed-scope engagement is agreed in writing before work starts, so the schedule should be tied to that scope.
Can our own team build PostgreSQL HA without an outside partner?
Yes, if you have people who already run PostgreSQL in production and have time to build and test failover. PostgreSQL provides hot standby and both synchronous and asynchronous streaming replication, but it does not detect a primary failure or promote a standby on its own, so you must select, configure and operate an external failover manager. The hard part is the testing: a team needs to prove switchover and unplanned failover, confirm the application reconnects, and check that old primaries cannot accept writes. Be honest about who will hold the pager afterward. If only one person understands the design, a partner's build and handover may cost less than the risk of that dependency.
What does the HA work need from our infrastructure and staff?
The work needs access and decisions more than hardware alone. Expect to provide: at least two database hosts with matching storage and enough network bandwidth between them, a separate location for backups or WAL archives, time synchronization, firewall rules for replication and the failover manager, and a way to route clients to the current primary. On the staff side, you need an owner for infrastructure access, someone who can approve changes, and people who will attend failover drills and learn the runbooks. Confirm with your security team how replication credentials, TLS and the failover manager's own access will be managed before the build starts.
Does synchronous replication remove the risk of data loss?
No. Synchronous replication reduces the risk of losing committed transactions in a failover, but it does not remove it, and it adds latency to every commit that waits for a standby. Whether data can still be lost depends on the synchronous settings you choose, whether a standby is available to acknowledge commits, and what the failover manager does when no synchronous standby is reachable. Asynchronous standbys avoid commit latency but can lose the most recent transactions. Backups and archived WAL are a separate control for recovery from logical errors and corruption, so HA should not replace them. Ask the design to state the expected data loss for each failure case in writing and test it.
What should we receive at the end of a PostgreSQL HA engagement?
A complete handover should let your team run the cluster without the builders in the room. Ask for the architecture and topology diagram, the configuration files and where they are stored, the failover manager settings, documented procedures for planned switchover, unplanned failover and rebuilding a failed node, the failover test results with observed outcomes, monitoring and alert definitions, access and credential records, and a short operations guide covering minor release patching. Also ask for a recorded or live walkthrough, a list of open risks, and clear statements of what remains your responsibility. Confirm whether ongoing support, upgrades and continuous testing will be handled under a retainer.
How DeployOpen scopes, builds and hands over PostgreSQL HA
DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For PostgreSQL high availability, we agree the topology, failover tooling and test plan in writing first, then build and prove failover and switchover before handing the cluster to your team.
How we scope
- Confirm the PostgreSQL version, the replication mode for each standby, and whether commits must wait for a standby.
- Agree the external failover manager, its quorum design and who is allowed to trigger a switchover.
- Record the written scope, deliverables and timeline before any work starts, since engagements are fixed-scope.
How we build
- Configure streaming replication between primary and standbys in your environment, with hot standby enabled where read-only queries are needed.
- Integrate the failover manager and test that it detects a failed primary and promotes a standby as designed.
- Run planned switchover and simulated failover tests, recording timings, client reconnect behavior and any data loss observed.
How we hand over
- Deliver runbooks for planned switchover, unplanned failover, rejoining a former primary and restoring a failed standby.
- Document the topology, network paths, monitoring checks and the test evidence collected during build.
- Walk your operations and platform engineers through the runbooks and a repeat failover test they run themselves.
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer, covering failover tests after changes.
- Plan minor release updates and any later major upgrade so the standby topology stays consistent with the primary.
- Confirm with us during scoping which support hours, response paths and test cadence your team needs.

