<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Callum,<br>
<br>
Indeed, there is a static dependency there, disregarding the
db_mode value.<br>
<br>
I just pushed a fix:<br>
<a class="moz-txt-link-freetext" href="https://github.com/OpenSIPS/opensips/commit/df9e5a849fd03afef02c024bc5af40f14c53adc2">https://github.com/OpenSIPS/opensips/commit/df9e5a849fd03afef02c024bc5af40f14c53adc2</a><br>
<br>
Please confirm the fix.<br>
<br>
Many thanks,<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>
OpenSIPS Bootcamp 2018
<a class="moz-txt-link-freetext" href="http://opensips.org/training/OpenSIPS_Bootcamp_2018/">http://opensips.org/training/OpenSIPS_Bootcamp_2018/</a>
</pre>
<div class="moz-cite-prefix">On 08/08/2018 11:25 AM, Callum Guy
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAFjCFzmU5q=FKuT4ytBTVgDinUzLTPx-gN-BGhZ9AB2qJa+tRA@mail.gmail.com">
<div dir="ltr">Hi All,
<div><br>
</div>
<div>For "greater good" I thought it would be interesting to add
some clusterer dialog replication to my OpenSIPs pair.</div>
<div><br>
</div>
<div>Specifically I am on 2.4, installed the appropriate
clusterer module and applied the following configuration:</div>
<div><b><br>
</b></div>
<div>
<div><font face="monospace"><b>+# Replication listener</b></font></div>
<div><font face="monospace"><b>+listen=bin:<a
href="http://172.18.0.112:5566" moz-do-not-send="true">172.18.0.112:5566</a></b></font></div>
</div>
<div>
<div><font face="monospace"><b>+loadmodule "proto_bin.so"</b></font></div>
<div><font face="monospace"><b>+loadmodule "clusterer.so"</b></font></div>
<div><font face="monospace"><b>+</b></font></div>
<div><font face="monospace"><b>+# Setup replication cluster</b></font></div>
<div><font face="monospace"><b>+modparam("clusterer",
"current_id", 2)</b></font></div>
<div><font face="monospace"><b>+modparam("clusterer",
"db_mode", 0)</b></font></div>
<div><font face="monospace"><b>+modparam("clusterer",
"current_info", "cluster_id=1, url=bin:<a
href="http://172.18.0.112:5566" moz-do-not-send="true">172.18.0.112:5566</a>")
# data about this node</b></font></div>
<div><font face="monospace"><b>+modparam("clusterer",
"neighbor_info", "cluster_id=1,node_id=1,url=bin:<a
href="http://172.18.0.111:5566" moz-do-not-send="true">172.18.0.111:5566</a>")
# data about other node</b></font></div>
</div>
<div>
<div><font face="monospace"><b>+modparam("dialog",
"dialog_replication_cluster", 1)</b></font></div>
<div><font face="monospace"><b>+modparam("dialog",
"profile_replication_cluster", 1)</b></font></div>
</div>
<div><br>
</div>
<div>Once configured I attempted to start the service only to
discover that clusterer will not load without a database
module. See below:</div>
<div><br>
</div>
<div>
<div><font face="monospace"><b>Aug 08 08:55:10 <a
href="http://pci-fram-proxy2.x-onsecure.net"
moz-do-not-send="true">pci-fram-proxy2.x-onsecure.net</a>
opensips-m4cfg[30867]: Aug 8 08:55:10 [30867]
WARNING:core:solve_module_dependencies: module clusterer
depends on an sqldb module, but none was loaded!</b><br>
</font></div>
<div><b><font face="monospace">Aug 08 08:55:10 <a
href="http://pci-fram-proxy2.x-onsecure.net"
moz-do-not-send="true">pci-fram-proxy2.x-onsecure.net</a>
opensips-m4cfg[30867]: Aug 8 08:55:10 [30867]
ERROR:core:main: failed to solve module dependencies</font></b></div>
</div>
<div><br>
</div>
<div>For now I have simply reverted back however I wonder if
this is a user error or a module/documentation error? </div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>Callum</div>
</div>
-- <br>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">Callum Guy
<div>Head of Information Security</div>
<div>X-on</div>
</div>
</div>
<br>
<p dir="ltr"
style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;text-align:justify"><font
face="Verdana" size="3"><span
style="font-size:8px;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline"></span></font></p>
<img
src="https://www.x-on.co.uk/email/footer/banner-surgeryconnect-sept-oct.jpg"
moz-do-not-send="true"><br>
<p><font size="4"><span
style="font-size:8px;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline"></span><b><sup><font
face="Verdana">0333 332 0000 | <a
href="http://www.x-on.co.uk" target="_blank"
moz-do-not-send="true">www.x-on.co.uk</a> | <sub> </sub></font></sup></b></font><font
size="4"><b><sub><sup><font face="Verdana"><a
href="https://www.linkedin.com/company/x-on"
target="_blank" moz-do-not-send="true"><img
src="http://www.x-on.co.uk//images/icon/linkedin.png"
moz-do-not-send="true" height="24" width="24"></a>
<a href="https://www.facebook.com/XonTel"
target="_blank" moz-do-not-send="true"><img
src="http://www.x-on.co.uk//images/icon/facebook.png"
moz-do-not-send="true" height="24" width="24"></a>
<a href="https://twitter.com/xonuk" target="_blank"
moz-do-not-send="true"><img
src="http://www.x-on.co.uk//images/icon/twitter.png"
moz-do-not-send="true" height="24" width="24"></a></font></sup></sub>
</b></font>
<span style="font-size:6.0pt;font-family:Verdana;color:black"><br>
X-on
is a trading name of Storacall Technology Ltd a limited
company registered in
England and Wales.<br>
Registered Office : Avaland House, 110 London Road, Apsley,
Hemel Hempstead,
Herts, HP3 9SD. Company Registration No. 2578478.<br>
The information in this e-mail is confidential and for use by
the addressee(s)
only. If you are not the intended recipient, please notify
X-on immediately on <span>+44(0)333 332 0000</span> and
delete the<br>
message from your computer. If you are not a named addressee
you must not use,
disclose, disseminate, distribute, copy, print or reply to
this email. </span><span
style="font-size:6.0pt;font-family:Verdana;color:black">Views
or opinions expressed by an individual<br>
within this email may not necessarily
reflect the views of X-on or its associated companies.
Although X-on routinely
screens for viruses, addressees should scan this email and any
attachments<br>
for
viruses. X-on makes no representation or warranty as to the
absence of viruses
in this email or any attachments.</span></p>
<p><span style="font-size:6.0pt;font-family:Verdana;color:black"></span><font
size="2"><span
style="font-size:6.0pt;font-family:Verdana;color:black"></span></font></p>
<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>