Top
Enterprise Postgres 18 SP2 General Description

Linux1.3.4 Cluster System Using Patroni

Fujitsu Enterprise Postgres allows you to build a cluster system using Patroni and etcd. Data is replicated from the master to multiple replica references. etcd also acts as a Distributed Consensus Store (DCS), managing cluster states such as which nodes are masters, which nodes are replicas, and the health of each node.

See

  • For information on how to build and operate a cluster system, refer to the Patroni and etcd documentation.

  • For information on how to install Patroni and etcd, refer to the following.

    • Patroni: "Patroni" in the Installation and Setup Guide for Server

    • etcd: "etcd" in the Installation and Setup Guide for Server Assistant

System configuration

Regarding the etcd cluster configuration, a major choice is whether to place Patroni and etcd on different servers or not.

Placing etcd on the same server as Patroni can save on the number of servers, but for example, in the following cases, it is recommended to place Patroni and etcd on different servers to avoid trouble.

Regarding the Patroni cluster configuration, various configurations are possible depending on the system requirements, so please decide on your own. However, please note that depending on the configuration method, a single server failure could cause Patroni to demote the primary server to a standby server and halt update operations.

How to configure PostgreSQL

To enable Patroni to manage the configuration of PostgreSQL's streaming replication, all PostgreSQL data directories and settings are described in patroni.yml. In particular, do not directly edit postgresql.conf.