<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body 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="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
</pre>
<div class="moz-cite-prefix">On 11/02/2017 11:15 AM, Matine
Tinthaitae wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CACvnW-1aWCNB92NGVY-Js5zV1JtDa=T8=hM3MRXfGh-n59mc1w@mail.gmail.com">
<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="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>