February 2020
Intermediate to advanced
734 pages
38h 13m
English
For the purposes of this recipe, we will need one server named pgha1. As always, the /db/pgdata path will be our default data directory. Follow these steps:
CREATE USER repmgr WITH SUPERUSER REPLICATION; CREATE DATABASE repmgr OWNER repmgr;
shared_preload_libraries = 'pg_stat_statements, repmgr' wal_log_hints = 'on'
host all repmgr 10.0.30.0/24 trust host replication repmgr 10.0.30.0/24 trust
sudo systemctl restart ...
Read now
Unlock full access