<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<font face="monospace">Not really. The LB module uses internal
unique ids for all the LB destinations it manages. So the probing
replies will search back the LB destination based on this ID ->
no chance to mismatch. <br>
<br>
Regards. </font><br>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
<a class="moz-txt-link-freetext" href="https://www.siphub.com">https://www.siphub.com</a></pre>
<div class="moz-cite-prefix">On 16.04.2024 10:45, Callum Guy via
Users wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAFjCFzm0FeTQ9FP2UKzwnbdyPVKBiph_5S5bxNRd1Jbeey9qpA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">If the backend servers are both the same instance
then this seems to be the correct behaviour?
<div><br>
</div>
<div>I believe the probing is supposed to be a simple SIP
response healthcheck which applies to the destination globally
(i.e. 1.2.3.4 is offline), the groups are just a way of
splitting up resources logically for load balancing purposes.</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, 16 Apr 2024 at 08:31,
Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org"
moz-do-not-send="true" class="moz-txt-link-freetext">bogdan@opensips.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div> <font face="monospace">Hi,<br>
<br>
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 ?<br>
<br>
Regards,<br>
</font>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="https://www.opensips-solutions.com" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">https://www.opensips-solutions.com</a>
<a href="https://www.siphub.com" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">https://www.siphub.com</a></pre>
<div>On 12.04.2024 05:41, Alexander Perkins wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">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.
<div><br>
</div>
<div>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.</div>
<div>
<div><br>
</div>
<div><span
style="color:rgb(29,28,29);font-family:Monaco,Menlo,Consolas,"Courier New",monospace;font-size:12px;font-variant-ligatures:none;background-color:rgba(29,28,29,0.04)">
"uri": "sip:<a href="http://1.2.3.4:5060"
target="_blank" moz-do-not-send="true">1.2.3.4:5060</a>",
"id": 27, </span><span
style="color:rgb(29,28,29);font-family:Monaco,Menlo,Consolas,"Courier New",monospace;font-size:12px;font-variant-ligatures:none;background-color:rgb(255,255,0)">"group":
12,</span><span
style="color:rgb(29,28,29);font-family:Monaco,Menlo,Consolas,"Courier New",monospace;font-size:12px;font-variant-ligatures:none;background-color:rgba(29,28,29,0.04)">
"enabled": "no", "auto-reenable": "on",
"Resources": [ { "name": "vz12", "max": 600,
"load": 0 } ], "attrs": "0"</span><br>
</div>
<div><span
style="color:rgb(29,28,29);font-family:Monaco,Menlo,Consolas,"Courier New",monospace;font-size:12px;font-variant-ligatures:none;background-color:rgba(29,28,29,0.04)"><br>
</span></div>
<div><font
face="Monaco, Menlo, Consolas, Courier New, monospace" color="#1d1c1d"><span
style="font-size:12px;font-variant-ligatures:none;background-color:rgba(29,28,29,0.04)">AND</span></font></div>
<div><span
style="color:rgb(29,28,29);font-family:Monaco,Menlo,Consolas,"Courier New",monospace;font-size:12px;font-variant-ligatures:none;background-color:rgba(29,28,29,0.04)">{
"uri": "sip:<a href="http://1.2.3.4:5060"
target="_blank" moz-do-not-send="true">1.2.3.4:5060</a>",
"id": 29, </span><span
style="color:rgb(29,28,29);font-family:Monaco,Menlo,Consolas,"Courier New",monospace;font-size:12px;font-variant-ligatures:none;background-color:rgb(255,255,0)">"group":
13,</span><span
style="color:rgb(29,28,29);font-family:Monaco,Menlo,Consolas,"Courier New",monospace;font-size:12px;font-variant-ligatures:none;background-color:rgba(29,28,29,0.04)">
"enabled": "no", "auto-reenable": "on",
"Resources": [ { "name": "vz13", "max": 600,
"load": 0 } ], "attrs": "0" },</span><font
face="Monaco, Menlo, Consolas, Courier New, monospace" color="#1d1c1d"><span
style="font-size:12px;font-variant-ligatures:none;background-color:rgba(29,28,29,0.04)"><br>
</span></font></div>
</div>
<div><span
style="color:rgb(29,28,29);font-family:Monaco,Menlo,Consolas,"Courier New",monospace;font-size:12px;font-variant-ligatures:none;background-color:rgba(29,28,29,0.04)"><br>
</span></div>
<div><font
face="Monaco, Menlo, Consolas, Courier New, monospace" color="#1d1c1d"><span
style="font-size:12px;font-variant-ligatures:none;background-color:rgba(29,28,29,0.04)">Thank
you,</span></font></div>
<div><font
face="Monaco, Menlo, Consolas, Courier New, monospace" color="#1d1c1d"><span
style="font-size:12px;font-variant-ligatures:none;background-color:rgba(29,28,29,0.04)">Alex</span></font></div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">Users@lists.opensips.org</a><br>
<a
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
rel="noreferrer" target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote>
</div>
<br>
<p dir="ltr"
style="font-family:Arial,Helvetica,sans-serif;font-size:1.3em;line-height:1.38;margin-top:0pt;margin-bottom:0pt;text-align:justify"><font
size="3" face="Verdana"><span
style="font-size:8px;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline"></span></font></p>
<div style="font-family:Arial,Helvetica,sans-serif"><img
src="https://www.x-on.co.uk/wp-content/uploads/2024/01/BPL-Email-Sig.png"
moz-do-not-send="true"><br>
</div>
<div
style="font-family:Arial,Helvetica,sans-serif;font-size:1.3em"><br>
</div>
<div><font
style="font-family:Arial,Helvetica,sans-serif;font-size:1.3em"
size="4"><b><sup><font face="Verdana">0333 332 0000 | <a
href="https://www.x-on.co.uk" target="_blank"
moz-do-not-send="true">x-on.co.uk</a> | </font></sup></b></font><b
style="font-family:Arial,Helvetica,sans-serif;font-size:large"><sup><font
face="Verdana"> | </font></sup></b><b
style="font-size:16.9px"><sup><font face="Verdana"><a
href="https://practiceindex.co.uk/gp/x-on"
target="_blank" moz-do-not-send="true">Practice Index
Reviews</a></font></sup></b>
<p><font size="1" face="Verdana" color="#ff0000"><b>Our new
office address: 22 Riduna Park, Melton IP12 1QT.</b></font></p>
<p
style="font-family:Arial,Helvetica,sans-serif;font-size:1.3em"><span
style="font-size:6pt;font-family:Verdana;color:black">X-on
is a trading name of </span><span
style="font-size:6pt;font-family:Verdana;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap">X-on Health Ltd </span><span
style="font-size:6pt;font-family:Verdana;color:black">a
limited company registered in
England and Wales.<br>
Registered Office : Glebe Farm, Down Street, Dummer,
Basingstoke, Hampshire, England RG25 2AD. Company
Registration No. 2578478.<br>
The information in this e-mail is confidential and for use
by the addressee(s)
only. If you are not the intended recipient, please notify
X-on immediately on <span>+44(0)333 332 0000</span> and
delete the<br>
message from your computer. If you are not a named addressee
you must not use,
disclose, disseminate, distribute, copy, print or reply to
this email. </span><span
style="font-size:6pt;font-family:Verdana;color:black">Views
or opinions expressed by an individual<br>
within this email may not necessarily
reflect the views of X-on or its associated companies.
Although X-on routinely
screens for viruses, addressees should scan this email and
any attachments<br>
for
viruses. X-on makes no representation or warranty as to the
absence of viruses
in this email or any attachments.</span></p>
<p
style="font-family:Arial,Helvetica,sans-serif;font-size:1.3em"><span
style="font-size:6pt;font-family:Verdana;color:black"></span><font
size="2"><span
style="font-size:6pt;font-family:Verdana;color:black"></span></font></p>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>