<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi Jonathan,</p>
<p>OpenSIPS doesn't do that automatically because the setting should
depend on what roles the nodes have when you first boot up your
cluster. As such, on the node that first holds the VIP, and will
generally be your primary node, OpenSIPS should start with the
sharing tag as active in order to correctly process the traffic as
soon as possible. And on the backup node, the opposite. From then
on, when a switchover happens at runtime, the tag state will be
changed by running the MI command "dlg_set_sharing_tag_active"
when the VRRPD state transitions (this is where you will need some
extra logic).<br>
</p>
<p>Regards,<br>
</p>
<pre class="moz-signature" cols="72">Vlad Patrascu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 21.06.2018 17:13, Jonathan Mabrito
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAL4wWrjN8QbopispRWQRdmnofTnFu=1AYgRCWm6Aa1pKdi5AZg@mail.gmail.com">
<div dir="ltr">Thanks! So it does sound like AnyCast is at the
routing protocol level...I was thinking it was multicast for
some reason. Alrighty then...I know what needs to be done on my
end and a few scenarios I can try and get it working. My main
roadblock is that we are running Cisco EIGRP setup (not that
this is your issue...just more summarizing on what I found for
anyone else who might be reading this)...so either I can
redistribute some static routes into our EIGRP process or setup
a new OSPF process and a new network address space (say another
/24) and redistribute that into our EIGRP process. OSPF would be
the more elegant and reliable way (as each server will be
advertising itself when its up) but static is going to be easier
to get going and less overhead of not having to setup OSPF (but
with static, it wont technically know when a server is down and
I am then relying on longer time outs before the other static
route metric kicks in). Anywho...I have some trial and error on
my side now.
<div><br>
</div>
<div>I do have one more question. Right now we use VRRPD between
our two 2.3 nodes. If I was to stay with this method for 2.4,
but do the dialog replication, that would also be an
acceptable solution for us. I am confused though on this
statement in the Clustering blog:</div>
<div><br>
</div>
<div> "When starting OpenSIPS, you need to check the HA status
of the node (by inspecting the HA system) and to decide which
node will start as owner of the tag:"</div>
<div><br>
</div>
<div>Is that something OpenSIPS does automatically to determine
if that VRRPD VIP IP is active on itself and set the
"dlg_sharing_tag" to active or do I have to add extra logic
somewhere?</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Thu, Jun 21, 2018 at 6:24 AM Răzvan Crainea
<<a href="mailto:razvan@opensips.org"
moz-do-not-send="true">razvan@opensips.org</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,
Jonathan!<br>
<br>
The guys from Irontech have written a very nice blogpost
regarding how <br>
they set up their environment. You should definitely give it a
try:<br>
<br>
<a
href="https://blog.irontec.com/testing-opensips-anycast-support/"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://blog.irontec.com/testing-opensips-anycast-support/</a><br>
<br>
Hope it helps!<br>
<br>
Best regards,<br>
Răzvan<br>
<br>
On 06/20/2018 10:36 PM, Jonathan Mabrito wrote:<br>
> Hoping I can get some guidance/pointed in the right
direction on this <br>
> subject. Looking at standing up a 2.4 AnyCast 2 node
cluster and try out <br>
> the new 2.4 dialog cluster features (will be a
upgrade/migration from <br>
> 2.3). Not entirely sure what is needed to make this work
from the <br>
> AnyCast perspective<br>
> <br>
> When setting up AnyCast, I know the network and routers
need some config <br>
> to support AnyCast. I know this question falls more in
the topics of <br>
> networking, but hoping I can get some guidance on what
was done maybe on <br>
> the test servers when it was developed? Not looking for
specific <br>
> configs, just xyz you should look at this or that type
responses if <br>
> possible.<br>
> <br>
> Right now, I have the two nodes stood up, but the AnyCast
IP I am trying <br>
> to bring online is not reachable yet. I know I need to do
some network <br>
> statements, just trying to grasp what they are.<br>
> <br>
> Any advice/help to point me in the right direction would
be appreciated.<br>
> -- <br>
> -Jonathan<br>
> <br>
> <br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org"
target="_blank" moz-do-not-send="true">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">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
> <br>
<br>
-- <br>
Răzvan Crainea<br>
OpenSIPS Core Developer<br>
<a href="http://www.opensips-solutions.com"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://www.opensips-solutions.com</a><br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank"
moz-do-not-send="true">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">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote>
</div>
-- <br>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">-Jonathan</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<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>