[OpenSIPS-Users] Example of configuration "Full Sharing" Topology with NoSQL
Liviu Chircu
liviu at opensips.org
Mon Nov 4 08:56:13 EST 2019
Hi Giovanni!
You are absolutely right, nowadays there are very little differences
between flagging a node with either
"seed" or "NULL", thanks to seed_fallback_interval [1], which makes both
of them perform a sync anyway
on startup. The only difference is that a non-seed node will perform a
sync _for sure_, no matter how
long it waits for other nodes. This can be a useful feature if your
network is particularly poor, with
links between nodes which fail often. In this case, using "NULL" is
actually better, as it protects you
when restarting your isolated backup nodes -- eventually, they will
fetch the data!
TL;DR: unless you have very poor network links between your nodes, you
can flag your nodes with either
"1 x seed, (N-1) x NULL" or "N x seed". As long as you set a
seed_fallback_interval, both will be good.
Cheers,
[1]:
https://opensips.org/html/docs/modules/2.4.x/clusterer.html#param_seed_fallback_interval
Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com
On 04.11.2019 12:17, Giovanni Maruzzelli wrote:
> Hello Liviu,
>
> 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)?
>
> 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?
>
> -giovanni
>
> On Mon, Nov 4, 2019 at 11:07 AM Liviu Chircu <liviu at opensips.org
> <mailto:liviu at opensips.org>> wrote:
>
> As promised, a tutorial on the "full sharing" setups is now
> available on
> the opensips.org <http://opensips.org> wiki [1],
> showing you how to configure both an active/backup setup and a
> NoSQL-based one.
>
> Enjoy,
>
> [1]:
> https://www.opensips.org/Documentation/Tutorials-Distributed-User-Location-Full-Sharing
>
> Liviu Chircu
> OpenSIPS Developer
> http://www.opensips-solutions.com
>
> On 26.10.2019 14:12, Liviu Chircu wrote:
> > Given that the configuration differences are so small, I have kept
> > postponing writing
> > the tutorial. But I intend to finally complete it after next
> week's
> > AstriCon or
> > hopefully even during it.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> --
> Sincerely,
>
> Giovanni Maruzzelli
> OpenTelecom.IT
> cell: +39 347 266 56 18
>
>
> _______________________________________________
> 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/20191104/99fe7cf1/attachment-0001.html>
More information about the Users
mailing list