For a cluster that includes PostgreSQL servers pgha1 and pgha2 and a pgha-proxy proxy server, follow these steps on the server indicated to integrate pgha3 to replace pgha1:
- Bootstrap an empty PostgreSQL instance on pgha3 using initdb as the postgres user:
initdb -D /db/pgdata
- Copy the postgresql.conf and pg_hba.conf from pgha1 to pgha3.
- Copy the .pgpass file from pgha1 to pgha3.
- Follow the instructions in the Obtaining and installing BDR recipe, but substitute 11 anywhere 10 is used. This applies to package installation names, systemctl service names, and so on.
- Dump all global objects on pgha1 from pgha3 as the postgres user:
pg_dumpall -g -h pgha1 -U bdr_user \ -f global_objects.sql -d postgres
- Import all global objects ...