Chapter 13. repmgrd configuration

Table of Contents
13.1. repmgrd basic configuration
13.1.1. automatic failover configuration
13.1.2. PostgreSQL service configuration
13.1.3. Monitoring configuration
13.2. repmgrd daemon
13.2.1. repmgrd daemon configuration on Debian/Ubuntu
13.3. repmgrd connection settings
13.4. repmgrd log rotation

repmgrd is a daemon which runs on each PostgreSQL node, monitoring the local node, and (unless it's the primary node) the upstream server (the primary server or with cascading replication, another standby) which it's connected to.

repmgrd can be configured to provide failover capability in case the primary upstream node becomes unreachable, and/or provide monitoring data to the repmgr metadatabase.