Re: [OpenSIPS-Users] drouting probe_mode in active/passive cluster

2020-04-13 Thread Bogdan-Andrei Iancu
You are 100% right Alexey, I was just to lure Jeff to go for 3.0 ;) Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit, Amsterdam, May 2020 https://www.opensips.org/events/Summit-2020Amsterdam/ On 4/13/20 6:11 PM, Alexey Vasilyev

Re: [OpenSIPS-Users] drouting probe_mode in active/passive cluster

2020-04-13 Thread Alexey Vasilyev
Hi Bogdan, Yes, of course, in 3.0 you have implemented full support for the sharing tags. But when these commits were made, the sharing tags were only in process of discussion. So it's absolutely temporarily solution only for 2.4 branch. And for Jeff, there is no modparam. Just call "dr_enable_pr

Re: [OpenSIPS-Users] drouting probe_mode in active/passive cluster

2020-04-13 Thread Bogdan-Andrei Iancu
Hi guys, actually 3.0 provides a better approach to the problem, by using the sharing tags provided by the clustering layer [1]. Only the OpenSIPS instance having the tag active will perform the pinging/probing and broadcast the status changes into the cluster. Unfortunately 2.4 does not hav

Re: [OpenSIPS-Users] drouting probe_mode in active/passive cluster

2020-04-11 Thread Jeff Pyle
Hi Alexey, I see the "dr_enable_probing" MI command; that's great! Is there an equivalent modparam I can add to default to 0, so that it will only probe when we know it has the IP (when enabled by MI)? It will be some time until I'm able to cherry-pick and test. The two proxies are currently ru

Re: [OpenSIPS-Users] drouting probe_mode in active/passive cluster

2020-04-11 Thread Alexey Vasilyev
Hi Jeff. I made one solution for 2.4. You can cherry-pick https://github.com/OpenSIPS/opensips/commit/05ca54a37d82c605e2cd6d10e5a62fb4f7c35b78 And may be this: https://github.com/OpenSIPS/opensips/commit/94a3ede1e276984a91f93f6ece832d174b071ab8 There is documentation in commits. - --- Ale

[OpenSIPS-Users] drouting probe_mode in active/passive cluster

2020-04-10 Thread Jeff Pyle
Hello, On v2.4.7 I have a two-node cluster configured as active/standby with keepalived managing which side has the IP. I want to use drouting probe_mode=2, but I don't see how to prevent the passive side from trying to ping the gateways even when it doesn't have the IP. And, of course, it fails