[OpenSIPS-Users] Load Balancer Probing Question

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Apr 16 07:28:42 UTC 2024


Hi,

What OpenSIPS version you have? And as I understand, as configuration, 
you do permanent probing to the destinations and the disabling happens 
because of this probing ?

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
   https://www.siphub.com

On 12.04.2024 05:41, Alexander Perkins wrote:
> Hi.  I have an interesting issue.  We have two OpenSIPS servers with 
> load balancer (with two different group IDs in the lb table) and we 
> have probing set correctly and we are using the 
> event, E_LOAD_BALANCER_STATUS, to capture changes to servers that were 
> probed.  But we noticed that we have the same server URI listed in the 
> lb table, but with two different group IDs, if one of the OpenSIPS 
> servers probes that URI and it does not return, then lb disables both 
> groups.  I'd expect it to only disable one group.
>
> My question is how can we tell the LB module to disable the IP, but 
> also look for the groupID.  For example, I have a printout of lb_list 
> below.
>
> "uri": "sip:1.2.3.4:5060 <http://1.2.3.4:5060>", "id": 27, "group": 
> 12,"enabled": "no", "auto-reenable": "on", "Resources": [ { "name": 
> "vz12", "max": 600, "load": 0 } ], "attrs": "0"
>
> AND
> { "uri": "sip:1.2.3.4:5060 <http://1.2.3.4:5060>", "id": 29, "group": 
> 13,"enabled": "no", "auto-reenable": "on", "Resources": [ { "name": 
> "vz13", "max": 600, "load": 0 } ], "attrs": "0" },
>
> Thank you,
> Alex
>
> _______________________________________________
> 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/20240416/447f1879/attachment.html>


More information about the Users mailing list