[Bucardo-general] Multi-Master configuration in Bucardo
David Christensen
david at endpoint.com
Mon Jan 8 22:25:35 UTC 2018
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.endcrypt.com/pipermail/bucardo-general/attachments/20180108/df8e6f33/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <https://mail.endcrypt.com/pipermail/bucardo-general/attachments/20180108/df8e6f33/attachment.sig>
More information about the Bucardo-general
mailing list