For these instructions, 192.168.56.10 is the master PostgreSQL node, and 192.168.56.30 is the subscriber. Follow these instructions to install Bucardo:
- Extract the source code and change to the resulting directory with these commands:
tar -xzf Bucardo-5.4.1.tar.gz cd Bucardo-5.4.1
- Build and install Bucardo with these commands as a root-capable user:
Perl Makefile.PL make sudo make install
- Enter the following line in the .pgpass file for the postgres user:
*:*:*:bucardo:passwordhere
- Ensure that the following line exists within the pg_hba.conf file:
host all bucardo 192.168.56.1/24 md5
- Reload the PostgreSQL service on both nodes with the following command as the postgres user:
pg_ctl -D /db/pgdata reload