Good evening everyone,
I'm trying to configure my Kamailio to use another DB in case the one it commonly uses fails. Does Kamailio has any built in function to do this? Do I have to do it with an ha-proxy?
Thank you in advance for your help
Samuel Moya Tinoco Departamento de Sistemas y Redes Móvil: (+34) 606985997 smoya@vivelibre.esmailto:smoya@vivelibre.es
[cid:image001.png@01DA431B.CC9B03A0]
Soluciones inteligentes para la autonomía personal
Check out DB_CLUSTER module: https://www.kamailio.org/docs/modules/stable/modules/db_cluster.html
Regards,
Fred Posner p: +1 (352) 664-3733
On Jan 9, 2024, at 10:49 AM, SAMUEL MOYA TINOCO via sr-users sr-users@lists.kamailio.org wrote:
Good evening everyone, I’m trying to configure my Kamailio to use another DB in case the one it commonly uses fails. Does Kamailio has any built in function to do this? Do I have to do it with an ha-proxy? Thank you in advance for your help Samuel Moya Tinoco Departamento de Sistemas y Redes Móvil: (+34) 606985997 smoya@vivelibre.es <image001.png> Soluciones inteligentes para la autonomía personal __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
Hi Samuel,
I think this is what you are looking for:
https://kamailio.org/docs/modules/devel/modules/db_cluster.html
Jurijs
On Tue, Jan 9, 2024 at 6:36 PM SAMUEL MOYA TINOCO via sr-users < sr-users@lists.kamailio.org> wrote:
Good evening everyone,
I’m trying to configure my Kamailio to use another DB in case the one it commonly uses fails.
Does Kamailio has any built in function to do this? Do I have to do it with an ha-proxy?
Thank you in advance for your help
*Samuel Moya Tinoco*
Departamento de Sistemas y Redes
Móvil: (+34) 606985997
smoya@vivelibre.es
Soluciones inteligentes para la autonomía personal
Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
Thank you everyone for your help. I’ll check the module db_cluster
Samuel Moya Tinoco Departamento de Sistemas y Redes Móvil: (+34) 606985997 smoya@vivelibre.esmailto:smoya@vivelibre.es
[cid:image001.png@01DA4467.83062830]
Soluciones inteligentes para la autonomía personal
De: Jurijs Ivolga via sr-users sr-users@lists.kamailio.org Enviado el: martes, 9 de enero de 2024 17:43 Para: Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org CC: Jurijs Ivolga jurijs.ivolga@gmail.com Asunto: [SR-Users] Re: Setting kamailio to use another DB
Hi Samuel,
I think this is what you are looking for:
https://kamailio.org/docs/modules/devel/modules/db_cluster.html
Jurijs
On Tue, Jan 9, 2024 at 6:36 PM SAMUEL MOYA TINOCO via sr-users <sr-users@lists.kamailio.orgmailto:sr-users@lists.kamailio.org> wrote: Good evening everyone,
I’m trying to configure my Kamailio to use another DB in case the one it commonly uses fails. Does Kamailio has any built in function to do this? Do I have to do it with an ha-proxy?
Thank you in advance for your help
Samuel Moya Tinoco Departamento de Sistemas y Redes Móvil: (+34) 606985997 smoya@vivelibre.esmailto:smoya@vivelibre.es
[cid:image001.png@01DA4467.83062830]
Soluciones inteligentes para la autonomía personal
__________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.orgmailto:sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
Hi!
I prefer to let Kamailio do what it does best (SIP) and let other tools manage whatever you need to do additionally. In your case, I would use a Keepalived service, shared between the 2 database nodes (or any other number of nodes) and create a Virtual IP (VIP) shared between DB nodes. By default, the VIP would point to node #1 and listens to DB service. If DB fails, or node fails, Keepalived switches the VIP to node #2. Once node #1 is up, it will switch back the VIP to node #1.
You can also make use of the fantastic ProxySQL service. It is a fantastic tool!
*Sérgio Charrua* www.voip.pt
On Tue, Jan 9, 2024 at 4:29 PM SAMUEL MOYA TINOCO via sr-users < sr-users@lists.kamailio.org> wrote:
Good evening everyone,
I’m trying to configure my Kamailio to use another DB in case the one it commonly uses fails.
Does Kamailio has any built in function to do this? Do I have to do it with an ha-proxy?
Thank you in advance for your help
*Samuel Moya Tinoco*
Departamento de Sistemas y Redes
Móvil: (+34) 606985997
smoya@vivelibre.es
Soluciones inteligentes para la autonomía personal
Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: