February 2020
Intermediate to advanced
734 pages
38h 13m
English
For the purposes of this recipe, pgha1 will remain our primary node, and the replica will be pgha2. As always, the /db/pgdata path will be our default data directory.
All of these commands should be executed from pgha2. Follow these steps to produce a fully functional repmgr replica:
node_id = 2 node_name = 'pgha2' conninfo = 'host=pgha2 port=5432 dbname=repmgr user=repmgr'
repmgr standby clone -h pgha1 -U repmgr -d repmgr
Read now
Unlock full access