[OpenSIPS-Users] Differences between dialog replication and db_mode 1
fehmfehmfehmfehmfehm at gmail.com
Fri Nov 3 11:36:24 EDT 2017
Thank you for the quick reply.
I had setup the cluster to start opensips on failover so i didn't realize
that it only read the dialogs from database on startup. So in my case it's
more or less the same functionally but i might save on performance by going
with clusterer and maybe even db_mode 0.
Considering the news in OpenSIPS 2.4 getting to know the clusterer module
seems to be the way to go. :)
Again, thank you for the help and thank you for all the great work!
2017-11-02 18:03 GMT+01:00 Bogdan-Andrei Iancu <bogdan at opensips.org>:
> Hi Matine,
> When using db_mode 1 (which makes the active opensips to write the dialogs
> into DB in realtime), how to you load the dialogs from DB into memory on
> the backup opensips ? do you restart it when becoming active ? because
> under normal operations OpenSIPS does not read the DB dialogs.
> The clustered based replication for dialogs has several advantages:
> * you do not need the a DB at all for replication
> * if you use DB for restart persistence, you can use the much lighter
> db_mode 2 to avoid realtime and intensive DB ops
> * you can create active-active scenarios
> * it is a real-time replication
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> On 11/02/2017 11:15 AM, Matine Tinthaitae wrote:
> I'm trying to set up an active/standby solution using floating ip. Only
> dialogs have to be shared.
> I've been using both the clusterer module dialog replication and the
> dialog module db_mode 1 with a shared database and both seem to do what i
> want, which is being able to kill the active node without losing call
> What's the difference/benefit of using the clusterer module over db_mode 1
> in this scenario?
> Thank you!
> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users