Hi Bogdan, 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! //Matine 2017-11-02 18:03 GMT+01:00 Bogdan-Andrei Iancu <[email protected]>: > 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 > > Regards, > > Bogdan-Andrei Iancu > OpenSIPS Founder and Developer > http://www.opensips-solutions.com > > 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 > [email protected]http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
