Chapter 12. Automatic failover with repmgrd

Table of Contents
12.1. Using a witness server
12.1.1. Creating a witness server
12.2. Handling network splits with repmgrd
12.3. Standby disconnection on failover
12.4. Failover validation
12.5. repmgrd and cascading replication

repmgrd is a management and monitoring daemon which runs on each node in a replication cluster. It can automate actions such as failover and updating standbys to follow the new primary, as well as providing monitoring information about the state of each standby.