<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
db_text is not a database engine with a replication mechanism, it is
just some basic DB API emulator using text files as storage. At
runtime all the records are in memory, so no sharing between
instances is possible.<br>
<br>
If you need replication/shared db, go for the well known ones like
mysql or postgres.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 15/09/15 21:51, Ewgeny wrote:<br>
</div>
<blockquote cite="mid:55F876CD.3010009@ukr.net" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
Hi list!<br>
<br>
We use Kamailio 4.2 for presence BLF with DB_TEXT.<br>
And i want to make cluster with a few Kamailio's presences, to
load balance. <br>
<br>
Can you please tell me - is that possible to use same shared
DB_TEXT database with 2 or more Kamailio servers ?<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<pre class="programlisting" style="font-family: monospace; white-space: pre; color: rgb(0, 0, 0); border: 1px solid rgb(153, 204, 204); padding-left: 15pt; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(254, 254, 238);">modparam("presence", "subs_db_mode", 3)
modparam ("presence","dburl","/tmp/share/dbtext")
</pre>
<br>
<br>
1-st server will handle SUBSCRIBE's and this Subscribe's should be
accessible also from 2-nd server.<br>
Then PUBLISH'es will be sent to both servers in round robin
algorithm.<br>
Will Kamailio's work with one shared DB or - i'll got some errors
?<br>
Maybe i'm wrong somewhere ?<br>
<br>
<br>
<br>
<br>
<br>
<br>
Thanks in advance.<br>
Kind regards<br>
Ewgeny<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Book: SIP Routing With Kamailio - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
Kamailio Advanced Training, Sep 28-30, 2015, in Berlin - <a class="moz-txt-link-freetext" href="http://asipto.com/u/kat">http://asipto.com/u/kat</a></pre>
</body>
</html>