[OpenSIPS-Users] clusterer.so settings in 2.4.x

Vlad Patrascu vladp at opensips.org
Fri Mar 15 06:13:34 EDT 2019


Hi Alexey,

For your clustering scenario you should use the seed flag only in one of 
the nodes' configs.

Regards,

Vlad Patrascu
OpenSIPS Developer
http://www.opensips-solutions.com

On 03/15/2019 11:13 AM, Alexey Kazantsev via Users wrote:
> Hi list!
>
> I have a working active-backup cluster of two OpenSIPS 2.4.5 nodes.
> (listening on virtual IP being moved by Keepalived,
> and Redis instances for RTPEngines).
>
> I configured clusterer module without DB support.
> I'm a little bit confused if I have to use 'flags=seed' only in one
> config or in both nodes's configs?
>
> As for now, it is so:
>
> # OpenSIPS1
> modparam("clusterer", "current_info","cluster_id=1,url=bin:10.145.213.63:5555,flags=seed")
> modparam("clusterer", "neighbor_info","cluster_id=1,node_id=2,url=bin:10.145.213.155:5555")
>
> # OpenSIPS2
> modparam("clusterer", "current_info", "cluster_id=1,url=bin:10.145.213.155:5555,flags=seed")
> modparam("clusterer", "neighbor_info", "cluster_id=1,node_id=1,url=bin:10.145.213.63:5555")
>
>
> https://blog.opensips.org/2018/03/23/clustering-ongoing-calls-with-opensips-2-4/
> https://opensips.org/html/docs/modules/2.4.x/clusterer.html
>
> -----------------------------------------------
> BR, Alexey
> http://alexeyka.zantsev.com/
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list