February 2020
Intermediate to advanced
734 pages
38h 13m
English
For the purposes of this recipe, pgha1 will remain our primary node and the witness will be pgha3. As always, the /db/pgdata path will be our default data directory.
All of these commands should be executed from pgha3. Follow these steps to produce a fully functional repmgr witness:
initdb -D /db/pgdata
shared_preload_libraries = 'repmgr'
host all repmgr 10.0.30.0/24 trust
sudo systemctl start postgresql@12-main
Red Hat derivatives should restart ...
Read now
Unlock full access