[OpenSIPS-Users] Clusterer without a database

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Aug 8 04:46:13 EDT 2018


Hi Callum,

Indeed, there is a static dependency there, disregarding the db_mode value.

I just pushed a fix:
https://github.com/OpenSIPS/opensips/commit/df9e5a849fd03afef02c024bc5af40f14c53adc2

Please confirm the fix.

Many thanks,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   http://www.opensips-solutions.com
OpenSIPS Bootcamp 2018
   http://opensips.org/training/OpenSIPS_Bootcamp_2018/

On 08/08/2018 11:25 AM, Callum Guy wrote:
> Hi All,
>
> For "greater good" I thought it would be interesting to add some 
> clusterer dialog replication to my OpenSIPs pair.
>
> Specifically I am on 2.4, installed the appropriate clusterer module 
> and applied the following configuration:
> *
> *
> *+# Replication listener*
> *+listen=bin:172.18.0.112:5566 <http://172.18.0.112:5566>*
> *+loadmodule "proto_bin.so"*
> *+loadmodule "clusterer.so"*
> *+*
> *+# Setup replication cluster*
> *+modparam("clusterer", "current_id", 2)*
> *+modparam("clusterer", "db_mode", 0)*
> *+modparam("clusterer", "current_info", "cluster_id=1, 
> url=bin:172.18.0.112:5566 <http://172.18.0.112:5566>") # data about 
> this node*
> *+modparam("clusterer", "neighbor_info", 
> "cluster_id=1,node_id=1,url=bin:172.18.0.111:5566 
> <http://172.18.0.111:5566>") # data about other node*
> *+modparam("dialog", "dialog_replication_cluster", 1)*
> *+modparam("dialog", "profile_replication_cluster", 1)*
>
> Once configured I attempted to start the service only to discover that 
> clusterer will not load without a database module. See below:
>
> *Aug 08 08:55:10 pci-fram-proxy2.x-onsecure.net 
> <http://pci-fram-proxy2.x-onsecure.net> 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!*
> *Aug 08 08:55:10 pci-fram-proxy2.x-onsecure.net 
> <http://pci-fram-proxy2.x-onsecure.net> opensips-m4cfg[30867]: Aug  8 
> 08:55:10 [30867] ERROR:core:main: failed to solve module dependencies*
>
> For now I have simply reverted back however I wonder if this is a user 
> error or a module/documentation error?
>
> Thanks,
>
> Callum
> -- 
> Callum Guy
> Head of Information Security
> X-on
>
>
> *^0333 332 0000  | www.x-on.co.uk <http://www.x-on.co.uk>  | 
> _**_^<https://www.linkedin.com/company/x-on> 
> <https://www.facebook.com/XonTel> <https://twitter.com/xonuk> *
> X-on is a trading name of Storacall Technology Ltd a limited company 
> registered in England and Wales.
> Registered Office : Avaland House, 110 London Road, Apsley, Hemel 
> Hempstead, Herts, HP3 9SD. Company Registration No. 2578478.
> 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 +44(0)333 332 0000 and delete the
> 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. Views or opinions expressed by an individual
> 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
> for viruses. X-on makes no representation or warranty as to the 
> absence of viruses in this email or any attachments.
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20180808/7198028b/attachment-0001.html>


More information about the Users mailing list