<div dir="ltr"><div class="gmail_extra">Hi Bogdan,</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thank you for the quick reply.</div><div class="gmail_extra">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.<br></div><div class="gmail_extra">Considering the news in OpenSIPS 2.4 getting to know the clusterer module seems to be the way to go. :)</div><div class="gmail_extra"><br></div><div class="gmail_extra">Again, thank you for the help and thank you for all the great work!</div><div class="gmail_extra"><br></div><div class="gmail_extra">//Matine<br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_quote">2017-11-02 18:03 GMT+01:00 Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<tt>Hi Matine,<br>
<br>
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.<br>
<br>
The clustered based replication for dialogs has several advantages:<br>
* you do not need the a DB at all for replication<br>
* if you use DB for restart persistence, you can use the much
lighter db_mode 2 to avoid realtime and intensive DB ops<br>
* you can create active-active scenarios<br>
* it is a real-time replication<br>
<br>
Regards,<br>
</tt>
<pre class="m_-3519879921122847190moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="m_-3519879921122847190moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<wbr>com</a>
</pre><div><div class="h5">
<div class="m_-3519879921122847190moz-cite-prefix">On 11/02/2017 11:15 AM, Matine
Tinthaitae wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>Hi,<br>
<br>
</div>
I'm trying to set up an active/standby solution using
floating ip. Only dialogs have to be shared.<br>
</div>
<div><br>
</div>
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.<br>
<br>
</div>
What's the difference/benefit of using the clusterer module
over db_mode 1 in this scenario?<br>
<br>
</div>
Thank you!<br>
<br>
</div>
//Matine<br>
</div>
<br>
<fieldset class="m_-3519879921122847190mimeAttachmentHeader"></fieldset>
<br>
</div></div><pre>______________________________<wbr>_________________
Users mailing list
<a class="m_-3519879921122847190moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a class="m_-3519879921122847190moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</blockquote></div><br></div></div>