How it works...

Bucardo has a lot of prerequisites, and its installation and configuration process has become somewhat cumbersome. Yet it also provides a proper daemon control utility in bucardo once the onerous installation is complete. Once Bucardo is installed on the primary server, we merely have to invoke bucardo with the install parameter to finish the process.

For Bucardo to be installed, it needs a user named bucardo and a database named bucardo. The bucardo user acts like the rep_user user we created for replication, so it must be a PostgreSQL superuser. As such, we need to ensure that we use a superuser for the User configuration setting during the installation process. This is why we recommend that you run the bucardo utility as ...

Get PostgreSQL High Availability Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.