February 2020
Intermediate to advanced
734 pages
38h 13m
English
For this recipe, we will need at least three PostgreSQL servers. For demonstration purposes, we'll assume that they are named pgha1, pgha2, and pgha3. We will also need a dedicated IP address to use for the VIP location, such as 10.0.30.50.
Follow these steps on all three servers:
sudo apt-get install postgresql-12-repmgr
Red Hat-based systems will need to use this yum command instead:
sudo yum install repmgr12
ssh-keygen -t rsa -N '' ssh-copy-id postgres@pgha1 ssh-copy-id postgres@pgha2 ssh-copy-id postgres@pgha3
Read now
Unlock full access