Installation of the repmgr software package is only the beginning of activating repmgr itself. The repmgr keeps track of the cluster state within the PostgreSQL cluster nodes. Each cluster change is reflected in the stored metadata, and command-line tools compare this information to the current cluster state in order to detect inconsistencies that require intervention.
This recipe will focus on activating repmgr within PostgreSQL and configuring the command-line tool and daemon to manage each node.