How to configure Repmgr in postgresrel Replication and how to monitor that and how to perform Switchover/Failover and How to taking backup using barman tools
In this Tutorial Explained about How to configure Repmgr in postgresrel Replication and how to monitor that and how to perform Switchover/Failover and How to taking backup using barman tools. First, install postgres and repmgr on all'a dem nodes: echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list apt-get install wget ca-certificates wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - apt-get update apt-get install postgresql-9.5 postgresql-9.5-repmgr Edit /etc/postgresql/9.5/main/pg_hba.conf to include all your nodes: host replication postgres 192.168.142.30/32 md5 host replication postgres 192.168.142.31/32 md5 host replication postgres 192.168.142.32/32 md5 host all postgres 192.168.142.30/32 md5 host all postgres 192.168.142.31/32 md5 host...