[asterisk-dev] CDR on multiple database servers - getting rid of duplicates

Walter Doekes walter+asterisk-dev at osso.nl
Tue Aug 20 06:59:56 CDT 2013


On 20/08/13 12:24, Leandro Dardini wrote:
> I am running a cluster of asterisk servers and each one is writing the
> CDR to 2 mysql servers configured with multi master replication using
> the cdr_adaptive_odbc driver.

[...]

> As you can imagine, if both mysql servers are available, every CDR is
> written twice.

Without going into detail here: if you're writing to two databases 
always, you're not using your multi-master setup right.

A second server should be consulted only if the first one isn't available.

Cheers,
Walter



More information about the asterisk-dev mailing list