Hi everyone,
I'm using opensips 1.6.0-tls with the load balancer module and it
appears as though probe_mode 1 isn't working.
I set probe_mode 1 in the database, reload, and then stop the service
being monitored.
I then make a call so my failure_route script does an lb_disable() on
the failed hos
Hi Bill,
How do you mark down the destination (MI ?) and what state are you setting ?
Also, after marking it down, do you see any new pings being sent to that
destination?
Something was changed during rev 6653:
http://opensips.svn.sourceforge.net/opensips/?rev=6653&view=rev
But the new cod
Hello Bogdan,
This is how I mark the destination down:
failure_route[1] {
if (t_check_status("(408)|(5[0-9][0-9])")) {
lb_disable();
if (load_balance("1","sip","1")) {
t_on_failure("1");
t_relay();
Hi Bill,
What is the probing interval you configured ?
http://www.opensips.org/html/docs/modules/1.6.x/load_balancer.html#id250040
Could you test the attached patch ? (same as revision 7356 on trunk).
Regards,
Bogdan
Bill W. wrote:
Hello Bogdan,
This is how I mark the destination dow
Hey Bogdan,
Looks like your patch is working. My probe interval was set to 15
seconds, but I increased it to 60 for testing.
The disabling, probing, and re-enabling appear to be working correctly now.
Thanks so much!
Bill
On 11/8/2010 7:24 AM, Bogdan-Andrei Iancu wrote:
> Hi Bill,
>
> What
Hi Bill,
Perfect! I backported the fix to 1.6 also.
Thanks and regards,
Bogdan
Bill W wrote:
Hey Bogdan,
Looks like your patch is working. My probe interval was set to 15
seconds, but I increased it to 60 for testing.
The disabling, probing, and re-enabling appear to be working correctly
Hi Bill,
Could you please try the attached patch? It seams that there was an
issue with the the probing values in the code. Let me know if the patch
does solves your problem and I will upload it on SVN.
Regards,
Bogdan
Bill W. wrote:
Hi everyone,
I'm using opensips 1.6.0-tls with the load
Hey Bogdan,
It looks like that fixed it. Thanks so much!
Bill
Bogdan-Andrei Iancu wrote:
> Hi Bill,
>
> Could you please try the attached patch? It seams that there was an
> issue with the the probing values in the code. Let me know if the patch
> does solves your problem and I will upload
Super! I uploaded the fix on SVN.
Thanks and regards,
Bogdan
Bill W wrote:
> Hey Bogdan,
>
> It looks like that fixed it. Thanks so much!
>
> Bill
>
>
> Bogdan-Andrei Iancu wrote:
>
>> Hi Bill,
>>
>> Could you please try the attached patch? It seams that there was an
>> issue with the the pr
Hello Bogdan,
I'm experiencing the same problem as I did before, with the load
balancer not re-enabling a device marked down.
If I go into the database and set probe_mode = 2, it re-enables the device.
I'm currently running opensips 1.6.2-tls (x86_64/linux)
Did the patch get reverted?
Thanks!
10 matches
Mail list logo