[OpenSIPS-Users] Load Balancer Probing Question

Alexander Perkins alexanderhenryperkins at gmail.com
Fri Apr 12 02:41:31 UTC 2024


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", "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", "id": 29, "group": 13, "enabled": "no",
"auto-reenable": "on", "Resources": [ { "name": "vz13", "max": 600, "load":
0 } ], "attrs": "0" },

Thank you,
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20240411/56b610e5/attachment.html>


More information about the Users mailing list