[OpenSIPS-Users] clusterer module

Vlad Patrascu vladp at opensips.org
Mon Sep 18 07:21:30 EDT 2017


Hi Denis,

For around 6 minutes since startup of the first proxy, the second proxy 
is either not fully booted up or the clusterer table is not loaded so it 
can't reply to its pings. The issue occurs from this point on, but the 
chunk of log messages you've provided ends soon after so I couldn't 
pinpoint the problem. Also the other logs weren't really helpful. So 
could you send a slightly longer sequence of logs from startup?

Regards,

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

On 09/18/2017 10:54 AM, Denis via Users wrote:
> Hello!
> Is there any information about problem?
> Thank you.
> -- 
> С уважением, Денис.
> Best regards, Denis
> 08.09.2017, 13:46, "Denis via Users" <users at lists.opensips.org>:
>> Hello, Vlad!
>> Sorry for long answer.
>> So, here (https://yadi.sk/i/j9a4CZhS3MiJEm) you can find the log 
>> file. In this file i tried to display information in chronological order.
>> In the log file:
>> opensips2.2. - first proxy
>> opensipsproxy1 - second proxy
>> opensipsctl.sh - script for the first proxy
>> opensipsproxyctl.sh - script for the second proxy
>> 1.1.1.1 - IP of the server (as i mentioned below both proxies are on 
>> the same server).
>> Thank you for any help.
>> -- 
>> С уважением, Денис.
>> Best regards, Denis
>> 30.08.2017, 13:05, "Vlad Patrascu" <vladp at opensips.org 
>> <mailto:vladp at opensips.org>>:
>>>
>>> Hi Denis,
>>>
>>> I can't really tell what the problem is from the information you've 
>>> provided (the traces aren't much help as the messages between nodes 
>>> are binary data). Can you provide some logs relevant to the 
>>> clusterer (including debug level) from around the time when the 
>>> nodes first try to establish the links ?
>>>
>>> Regards,
>>>
>>> Vlad Patrascu
>>> OpenSIPS Developer
>>> http://www.opensips-solutions.com <http://www.opensips-solutions.com/>
>>> On 08/30/2017 11:46 AM, Denis via Users wrote:
>>>> Hello!
>>>> Any information about the problem?
>>>> Thank you.
>>>> -- 
>>>> С уважением, Денис.
>>>> Best regards, Denis
>>>> 25.08.2017, 16:51, "Denis via Users" <users at lists.opensips.org> 
>>>> <mailto:users at lists.opensips.org>:
>>>>> Hello!
>>>>> Back to 2.2.5 resolved the problem. I got replication of, for 
>>>>> example, dialog/profile
>>>>> -- 
>>>>> С уважением, Денис.
>>>>> Best regards, Denis
>>>>> 24.08.2017, 17:46, "Denis via Users" <users at lists.opensips.org 
>>>>> <mailto:users at lists.opensips.org>>:
>>>>>> Hello!
>>>>>> I am developing VoIP architecture with two proxies and one LB.
>>>>>> Between these proxies i have a cluster, using corresponding 
>>>>>> module. All instances (proxies and LB) are on the same server.
>>>>>> I started from 2.2 and there were no problems with the cluster.
>>>>>> Recently, I upgraded Opensips from 2.2. to 2.3.1 and have got 
>>>>>> such situation
>>>>>> ./opensipsctl.sh fifo clusterer_list
>>>>>> Cluster:: 1
>>>>>>     Node:: 2 DB_ID=2 URL=bin:1.1.1.1:5041 Enabled=1 
>>>>>> Link_state=Probe   Next_hop=none Description=none
>>>>>> ./opensipsproxyctl.sh fifo clusterer_list
>>>>>> Cluster:: 1
>>>>>>     Node:: 1 DB_ID=1 URL=bin:1.1.1.1:5040 Enabled=1 
>>>>>> Link_state=Up      Next_hop=1 Description=none
>>>>>> tcpdump
>>>>>> 10:33:47.101956 IP 1.1.1.1.40428 > 1.1.1.1.5040: Flags [P.], seq 
>>>>>> 3444481492:3444481525, ack 3259636718, win 342, options 
>>>>>> [nop,nop,TS val 65425778 ecr 65424597], length 33
>>>>>> 10:33:47.101984 IP 1.1.1.1.5040 > 1.1.1.1.40428: Flags [.], ack 
>>>>>> 33, win 6146, options [nop,nop,TS val 65425778 ecr 65425778], 
>>>>>> length 0
>>>>>> 10:33:51.725437 IP 1.1.1.1.40428 > 1.1.1.1.5040: Flags [P.], seq 
>>>>>> 33:66, ack 1, win 342, options [nop,nop,TS val 65426934 ecr 
>>>>>> 65425778], length 33
>>>>>> 10:33:51.725458 IP 1.1.1.1.5040 > 1.1.1.1.40428: Flags [.], ack 
>>>>>> 66, win 6146, options [nop,nop,TS val 65426934 ecr 65426934], 
>>>>>> length 0
>>>>>> and
>>>>>> 10:35:12.589476 IP 1.1.1.1.34850 > 1.1.1.1.5041: Flags [P.], seq 
>>>>>> 1471487774:1471487807, ack 2063326017, win 342, options 
>>>>>> [nop,nop,TS val 65447150 ecr 65445995], length 33
>>>>>> 10:35:12.589491 IP 1.1.1.1.5041 > 1.1.1.1.34850: Flags [.], ack 
>>>>>> 33, win 342, options [nop,nop,TS val 65447150 ecr 65447150], length 0
>>>>>> 10:35:17.158143 IP 1.1.1.1.34850 > 1.1.1.1.5041: Flags [P.], seq 
>>>>>> 33:66, ack 1, win 342, options [nop,nop,TS val 65448292 ecr 
>>>>>> 65447150], length 33
>>>>>> 10:35:17.158153 IP 1.1.1.1.5041 > 1.1.1.1.34850: Flags [.], ack 
>>>>>> 66, win 342, options [nop,nop,TS val 65448292 ecr 65448292], length 0
>>>>>> As you can see node 1 cannot see node 2 (Link_state=Probe). The 
>>>>>> question is why?
>>>>>> Thank you.
>>>>>> -- 
>>>>>> С уважением, Денис.
>>>>>> Best regards, Denis
>>>>>> ,
>>>>>>
>>>>>> _______________________________________________
>>>>>> 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 <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 <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/20170918/34187c97/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ???????????.png
Type: image/png
Size: 2996 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20170918/34187c97/attachment-0001.png>


More information about the Users mailing list