[SR-Users] ndb_redis with keydb master/master

David VILLAUME david.villaume at sewan.fr
Tue Dec 22 08:47:34 CET 2020


Hello,

I’ll try make the failover at the keepalived level, I misunderstood seeing the sentinel stuff, that ndb_redis was hangdling failover/load_balancing.

Thanks for your answer that made things clearer.

Regards,
David

From: sr-users <sr-users-bounces at lists.kamailio.org> On Behalf Of Karsten Horsmann
Sent: Tuesday, December 22, 2020 12:34 AM
To: Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
Subject: Re: [SR-Users] ndb_redis with keydb master/master

Hi David,

ah okay. I used the full way of an redis sentinel cluster with haproxy for dead end detection.
And this redis setup is for my Kamailio Topos and my rtpengine.

But you can subscribe to one redis dB 1 and replicate it to the other side. And vice versa. With Kamailio cfg pointing to the local or cross over redis and the right db it should possible.

I did tried that it's more an idea from the rtpengine folks.

Also Topos will work with other backends IMHO like mysql.

Cheers
Karsten Horsmann
David VILLAUME <david.villaume at sewan.fr<mailto:david.villaume at sewan.fr>> schrieb am Mo., 21. Dez. 2020, 14:02:
Hello,

Thanks for your response, cross subscription mechanism in video is native rtpengine, not on Kamailio side.

My goal is to have redundant topos in Kamailio without having to build a full redis cluster with sentinel, but I’m not sure if  there is a way to declare two hosts in ndb_redis with the same name (and any parameter to set them either as active/passive either active/active).

Regards,
David

From: sr-users <sr-users-bounces at lists.kamailio.org<mailto:sr-users-bounces at lists.kamailio.org>> On Behalf Of Karsten Horsmann
Sent: Sunday, December 20, 2020 10:14 PM
To: Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>>
Subject: Re: [SR-Users] ndb_redis with keydb master/master

Hi,

Maybe you got some inspiration from Yufei Tao presentation

https://youtu.be/p56F2fw483I

about an HA Setup with Kamailio. There is redis in a cross subscription manner in use.


Kind regards
Karsten Horsmann

David VILLAUME <david.villaume at sewan.fr<mailto:david.villaume at sewan.fr>> schrieb am Mi., 16. Dez. 2020, 09:18:
Hello,

I consider using keydb-server in an active/action setup without sentinel.
Do you know if there is a way to declare both hosts in ndb_redis with the same server name (target use : topos) ?

Regards,
David

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20201222/f1e4d5e0/attachment.htm>


More information about the sr-users mailing list