Chapter 25. Built-in High Availability (BiHA)

Table of Contents

25.1. Architecture
25.1.1. Postgres Pro Shardman Configuration with BiHA
25.1.2. Elections
25.2. Administration
25.2.1. Managing SSL
25.2.2. Roles
25.2.3. Restoring the Node from the NODE_ERROR State
25.2.4. Recovering from a Backup
25.3. Reference for the BiHA Extension
25.3.1. Configuration Parameters
25.3.2. BiHA Logging Levels
25.3.3. Functions
25.3.4. Views

Built-in High Availability (BiHA) is a complex Postgres Pro Shardman solution that aims to provide high availability and is mostly managed by shardmanctl and shardmand. Every shard in the distributed system is by default a BiHA cluster — a cluster with physical replication and built-in failover, high availability, and automatic node failure recovery.

As compared to existing cluster solutions, i.e. a standard PostgreSQL primary-standby cluster, the BiHA cluster offers the following benefits: