[OpenSIPS-Users] I deleted an entry from clusterer table , but still opensips try to ping that node .

Vlad Patrascu vladp at opensips.org
Thu Jan 3 12:22:55 EST 2019


Hi Sasmita,

By default, there is no clusterer replication if "replicate_contacts_to" 
parameter is not set in usrloc. Also, even if another node is sending 
replication packets, they will no get processed on the receiving node 
unless "accept_replicated_contacts" is set. On a typical setup, both 
these parameter should be set on all nodes.

Are you getting any other errors in the logs besides that "parameter not 
found" ?

Btw, I strongly suggest updating to 2.4 as it has received major 
upgrades in terms of clustering.

Regards,

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

On 01/02/2019 12:10 PM, Sasmita Panda wrote:
> Hi,
> I have another doubt . Please do help me .
>
> When I am reading usrloc module document , its saying in a cluster if 
> we want to replicate the contacts across the cluster then we have to 
> set a parameter as below .
> modparam("usrloc", "replicate_contacts_to", 1)
> The default value is 0 , where no cluster id is mentioned .
> I have not set this , I have a cluster having 2 node . While I am registering a user , the contact is getting replicated between 2 nodes .
> If I am trying to mention this parameter , then opensips is not getting started . Its saying
> *Parameter <accept_replicated_contacts> not found in module <usrloc>*
> *So , my question is , if this parameter is not set , still how contact 
> replication is happening ? Is this the default behavior of cluster 
> module ? *
> *May be my question is foolish ,it will be great if anybody will 
> explain this . *
> **
> **
> */Thanks & Regards/*
> /Sasmita Panda/
> /Senior Network Testing and Software Engineer/
> /3CLogic , ph:07827611765/
>
>
> On Wed, Jan 2, 2019 at 12:22 PM Sasmita Panda <spanda at 3clogic.com 
> <mailto:spanda at 3clogic.com>> wrote:
>
>     Hi   Sammy,
>
>     Yes , you are right . I need to reload the cluster data through MI
>     command . After reloading its seems fine .
>
>     I was not aware about the fact that the cluster data also get
>     shared with all nodes when I am adding that in 1 node only .
>
>     Thank you for your explanation . Its really helpful .
>
>
>     */Thanks & Regards/*
>     /Sasmita Panda/
>     /Senior Network Testing and Software Engineer/
>     /3CLogic , ph:07827611765/
>
>
>     On Mon, Dec 31, 2018 at 10:25 PM SamyGo <govoiper at gmail.com
>     <mailto:govoiper at gmail.com>> wrote:
>
>         Hi,
>         Did you restart OpenSIPS process on both node1, and 2
>         simultaneously ? The way I look at this is one of the two
>         nodes kept the 3rd one in the memory and restarting both nodes
>         one at a time resulted in both sharing their node structure
>         and hence node3 stayed visible.
>         I think possible way to remove a node gracefully would be to
>         disable the node via the MI command and then remove from DB. I
>         will try doing this on my test setup as well.
>
>         Regards,
>         Sammy
>
>         On Fri, Dec 28, 2018 at 6:40 AM Sasmita Panda
>         <spanda at 3clogic.com <mailto:spanda at 3clogic.com>> wrote:
>
>             Hi All,
>
>             I have a cluster of 2 nodes . Both in working condition . 
>               Then I added another node in the same cluster which is
>             down .
>
>             I restarted the opensips process , so it starts pinging
>             the new node to check its status .  As the new node is
>             down  , other nodes in the cluster wont get any reply for
>             the ping  . Then I remove the 3rd node from the cluster
>             table and restart the opensips process .
>
>             Now what I am getting in logs is , still the 2 working
>             node in the cluster try to ping the 3rd node which is not
>             in the DB .
>
>             Is this an issue on the cluster module or I am doing
>             something wrong ?? Please help me .
>             */Thanks & Regards/*
>             /Sasmita Panda/
>             /Senior Network Testing and Software Engineer/
>             /3CLogic , ph:07827611765/
>             _______________________________________________
>             Users mailing list
>             Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>             http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>         _______________________________________________
>         Users mailing list
>         Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>         http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> 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/20190103/37c2132c/attachment.html>


More information about the Users mailing list