<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><tt>Hi Giovanni!</tt></p>
<p><tt>You are absolutely right, nowadays there are very little
differences between flagging a node with either<br>
"seed" or "NULL", thanks to seed_fallback_interval [1], which
makes both of them perform a sync anyway<br>
on startup. The only difference is that a non-seed node will
perform a sync _for sure_, no matter how<br>
long it waits for other nodes. This can be a useful feature if
your network is particularly poor, with<br>
links between nodes which fail often. In this case, using
"NULL" is actually better, as it protects you<br>
when restarting your isolated backup nodes -- eventually, they
will fetch the data!<br>
</tt></p>
<p><tt>TL;DR: unless you have very poor network links between your
nodes, you can flag your nodes with either<br>
"1 x seed, (N-1) x NULL" or "N x seed". As long as you set a
seed_fallback_interval, both will be good.</tt></p>
<p><tt>Cheers,<br>
</tt></p>
<p><tt>[1]: </tt><tt><a
href="https://opensips.org/html/docs/modules/2.4.x/clusterer.html#param_seed_fallback_interval">https://opensips.org/html/docs/modules/2.4.x/clusterer.html#param_seed_fallback_interval</a></tt></p>
<pre class="moz-signature" cols="72">Liviu Chircu
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 04.11.2019 12:17, Giovanni
Maruzzelli wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CALXCt0oN8hYWEVwSWtARjsawb4zhG7GnaioYNNwVrikPv_bAYw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Hello Liviu,</div>
<div><br>
</div>
<div>a question about the beautiful tutorial: in HA
(active-passive) would not be better to have both servers
marked as seed (in db), so if any of two goes down, when it
comes back online will feed from the other (that in mean time
was promoted to active)?</div>
<div><br>
</div>
<div>If only one server is seed, and that server goes down, when
it comes up, will wait 5 seconds, and then "think" to be ok,
without feeding from the other... Correct?</div>
<div><br>
</div>
<div>-giovanni<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Nov 4, 2019 at 11:07
AM Liviu Chircu <<a href="mailto:liviu@opensips.org"
moz-do-not-send="true">liviu@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">As
promised, a tutorial on the "full sharing" setups is now
available on <br>
the <a href="http://opensips.org" rel="noreferrer"
target="_blank" moz-do-not-send="true">opensips.org</a> wiki
[1],<br>
showing you how to configure both an active/backup setup and a
<br>
NoSQL-based one.<br>
<br>
Enjoy,<br>
<br>
[1]: <br>
<a
href="https://www.opensips.org/Documentation/Tutorials-Distributed-User-Location-Full-Sharing"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://www.opensips.org/Documentation/Tutorials-Distributed-User-Location-Full-Sharing</a><br>
<br>
Liviu Chircu<br>
OpenSIPS 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>
On 26.10.2019 14:12, Liviu Chircu wrote:<br>
> Given that the configuration differences are so small, I
have kept <br>
> postponing writing<br>
> the tutorial. But I intend to finally complete it after
next week's <br>
> AstriCon or<br>
> hopefully even during it. <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 clear="all">
<br>
-- <br>
<div dir="ltr" class="gmail_signature">Sincerely,<br>
<br>
Giovanni Maruzzelli<br>
OpenTelecom.IT<br>
cell: +39 347 266 56 18<br>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></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>
</body>
</html>