repmgr is an open source tool developed by 2ndQuadrant for the purpose of managing replication and failover in a cluster of PostgreSQL servers. It builds on and enhances PostgreSQL server's existing capabilities to create new clones, that is, replicas, and add them to an existing cluster of PostgreSQL servers. In addition to this it is used to monitor replication setups and perform administrative tasks such as failover or manual switchover operations
In this recipe, we are going to set up the remgr tool.
There are two ways to install the repmgr tool:
tar.gzfrom https://github.com/2ndQuadrant/repmgr/releases ...