-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

PostgreSQL 10 Administration Cookbook

As said before, replication is great provided it works. It works well if it's understood and works even better if it's tested. This is a great reason to use repmgr
utility.
repmgr
4.0 is an open source tool designed specifically for PostgreSQL replication. To get additional information about repmgr, visit http://www.repmgr.org/.
The repmgr
utility provides a command-line interface and a management process (daemon) used to monitor and manage PostgreSQL servers involved in replication. The repmgr
utility easily supports more than two nodes, with automatic failover detection.
Install repmgr
utility from binary packages on each PostgreSQL node.
Set up replication security and network access between nodes according to the Setting up streaming replication security recipe.
The repmgr
utility provides a set of single command-line actions that perform all the required activities on one node:
repmgr
with the current node as its primary,...