[Bucardo-general] Multi-Master configuration in Bucardo

ning chan ninchan8328 at gmail.com
Mon Jan 8 22:39:35 UTC 2018


Hi David,

Thanks for the quick response, just a follow up question on the stalled
situation.
When a node is lost, it is currently blocking replication (with your
suggested setup above).
What is the proper procedure to restore replication for the rest of cluster
(exclude the bad node)?

Thanks~
Ning

On Mon, Jan 8, 2018 at 4:25 PM, David Christensen <david at endpoint.com>
wrote:

> Hi Ning,
>
> You should only run the bucardo commands on a single node (the server that
> you are running the “bucardo daemon” on).  That node can be, but need not
> be, one of the database nodes.  There is a single Bucardo daemon, not one
> that runs on each nose, so it is unnecessary (and unadvised) to have them
> running on each node.
>
> When setting up a multi-master database cluster, you will just add each of
> the databases in the database groups as sources; it will work out that you
> mean to do a multi-master cluster.
>
> Updating your example:
>
> ./bucardo add db mmdb01 dbname=test host=mmdb01 user=bucardo
> ./bucardo add db mmdb02 dbname=test host=mmdb02 user=bucardo
> ./bucardo add db mmdb03 dbname=test host=mmdb03 user=bucardo
> ./bucardo add all tables -T test1 herd=mmdb_herd
> ./bucardo add dbgroup mmdb_db_group  mmdb01:source
> ./bucardo add dbgroup mmdb_db_group  mmdb02:source
> ./bucardo add dbgroup mmdb_db_group  mmdb03:source
> ./bucardo add sync mmdb_sync herd=mmdb_herd dbs=mmdb_db_group autokick=0
> ./bucardo validate mmdb_sync
> ./bucardo update sync mmdb_sync autokick=1
> ./bucardo start
>
> As far as the stalling behavior, that is currently how Bucardo is written,
> so this is a known issue.
>
> Best,
>
> David
> --
> David Christensen
> End Point Corporation
> david at endpoint.com
> 785-727-1171 <(785)%20727-1171>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.endcrypt.com/pipermail/bucardo-general/attachments/20180108/036730e8/attachment.html>


More information about the Bucardo-general mailing list