[OpenSIPS-Users] Differences between dialog replication and db_mode 1

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Nov 2 13:03:09 EDT 2017

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:
> Hi,
> 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 states.
> What's the difference/benefit of using the clusterer module over 
> db_mode 1 in this scenario?
> Thank you!
> //Matine
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20171102/8f94c9cb/attachment.html>

More information about the Users mailing list