[OpenSIPS-Users] Load balancer probe _mode=1 bug?

2010-01-02 Thread Bill W.
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

Re: [OpenSIPS-Users] Load balancer probe _mode=1 bug?

2010-08-01 Thread Bogdan-Andrei Iancu
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

Re: [OpenSIPS-Users] Load balancer probe _mode=1 bug?

2010-11-07 Thread Bill W.
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();

Re: [OpenSIPS-Users] Load balancer probe _mode=1 bug?

2010-11-08 Thread Bogdan-Andrei Iancu
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

Re: [OpenSIPS-Users] Load balancer probe _mode=1 bug?

2010-11-08 Thread Bill W
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

Re: [OpenSIPS-Users] Load balancer probe _mode=1 bug?

2010-11-14 Thread Bogdan-Andrei Iancu
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

Re: [OpenSIPS-Users] Load balancer probe _mode=1 bug?

2010-01-04 Thread Bogdan-Andrei Iancu
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

Re: [OpenSIPS-Users] Load balancer probe _mode=1 bug?

2010-01-04 Thread Bill W
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

Re: [OpenSIPS-Users] Load balancer probe _mode=1 bug?

2010-01-04 Thread Bogdan-Andrei Iancu
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

Re: [OpenSIPS-Users] Load balancer probe _mode=1 bug?

2010-07-27 Thread Bill W
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!