Re: Best approach for 2-node active-active Kamailio setup
Sergio Charrua via sr-users <[email protected]> Wed, 8 Jul 2026 17:03:49 +0200
| Newsgroups | gmane.comp.voip.ser |
|---|---|
| Message-ID | <CALZWR5x5o1L_RyAKe46xrior1TrH=r6+3oQ3njWWqCOGrd2q1Q@mail.gmail.com> |
--===============0038670301== Content-Type: multipart/alternative; boundary="000000000000c8657706561ad2ca" --000000000000c8657706561ad2ca Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Some questions imply - as this is a multi DC deployment, how will your calls be balanced between the 2 DCs and between nodes? Will you have an SBC handling load balancing and failover? - are the nodes, in each DC, available in a private network only (i.e: SBC talks with Kamailio nodes using private IPs or VPN) or are they facing public networks? I would use 2 nodes in each DC, in active-passive mode, maybe sharing a VIP between nodes of same DC (though DNS might be better option). Failover is never enough. DMQ to share dialogs between nodes on each DC. And in case you have an SBC handling load balancing and failover, use DNS. Atenciosamente / Kind Regards / Cordialement / Un saludo, *S=C3=A9rgio Charrua* *www.kahea.ai <http://www.kahea.ai> / www.voip.pt <http://www.voip.pt>* *OpenTelecom* - Consulting for Telecoms, Lda Tel.: +351 <callto:+351+91+104+12+66>91 631 11 44 Email : *[email protected] <[email protected]>* This message and any files or documents attached are strictly confidential or otherwise legally protected. It is intended only for the individual or entity named. If you are not the named addressee or have received this email in error, please inform the sender immediately, delete it from your system and do not copy or disclose it or its contents or use it for any purpose. Please also note that transmission cannot be guaranteed to be secure or error-free. On Wed, Jul 8, 2026 at 3:57=E2=80=AFPM Asma BOUDDYACH via sr-users < [email protected]> wrote: > Hi , > > I am currently deploying a Kamailio SBC infrastructure with 2 nodes, one > per datacenter, and I would like to set them up in active-active mode. > > I have no experience yet with multi-node Kamailio setups and I would like > to ask: > > 1. What is the recommended approach for a 2-node active-active Kamailio > deployment today? > > 2. What modules or mechanisms should I use to synchronize state between > the two nodes (calls, registrations, etc.)? > > 3. Are there any known issues or limitations I should be aware of before > starting the configuration? > > Any guidance or documentation pointers would be greatly appreciated. > > Best regards, > > This message and any of its attachments is intended solely for the > addresses and is confidential. If you receive this message in error, plea= se > delete it and immediately notify the sender. Any use not in accord with i= ts > purpose, any dissemination or disclosure, either whole or partial, is > prohibited except formal approval. The internet cannot guarantee the > integrity of this message. The INTELCIA Group shall (will) not therefore = be > liable for the message if modified. > > =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94 > > Ce message et toutes les pi=C3=A8ces jointes sont =C3=A9tablis =C3=A0 l'i= ntention > exclusive de ses destinataires et sont confidentiels. Si vous recevez ce > message par erreur, merci de le d=C3=A9truire et d=E2=80=99en avertir imm= =C3=A9diatement > l=E2=80=99exp=C3=A9diteur. Toute utilisation de ce message non conforme = =C3=A0 sa > destination, toute diffusion ou toute publication, m=C3=AAme partielle, e= st > interdite, sauf autorisation expresse. L=E2=80=99internet ne permettant p= as > d=E2=80=99assurer l=E2=80=99int=C3=A9grit=C3=A9 de ce message, le groupe = INTELCIA d=C3=A9cline toute > responsabilit=C3=A9 au titre de ce message, dans l=E2=80=99hypoth=C3=A8se= o=C3=B9 il aurait =C3=A9t=C3=A9 > modifi=C3=A9. > __________________________________________________________ > Kamailio - Users Mailing List - Non Commercial Discussions -- > [email protected] > To unsubscribe send an email to [email protected] > Important: keep the mailing list in the recipients, do not reply only to > the sender! > --000000000000c8657706561ad2ca Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Some questions imply</div><div><br></div><div>- as th= is is a multi DC deployment, how will your calls be balanced between the 2 = DCs and between nodes? Will you have an SBC handling load balancing and fai= lover?=C2=A0</div><div>- are the nodes, in each DC, available in a private = network only (i.e: SBC talks with Kamailio nodes using private IPs or VPN) = or are they facing public networks?</div><div><br></div><div>I would use 2 = nodes in each DC, in active-passive mode, maybe sharing a VIP between nodes= of same DC (though DNS might be better option). Failover is never enough. = DMQ to share dialogs between nodes on each DC.</div><div>And in case you ha= ve an SBC=C2=A0<span style=3D"background-color:transparent">handling load b= alancing and failover, use DNS.</span></div><div><br></div><div><div dir=3D= "ltr" class=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div dir= =3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr= "><p style=3D"color:rgb(0,0,0);margin:0px;font-family:Calibri,sans-serif;ba= ckground-color:rgb(253,253,253)"><span style=3D"font-family:Arial,sans-seri= f">Atenciosamente / Kind Regards / Cordialement / Un saludo,</span></p><p s= tyle=3D"color:rgb(0,0,0);margin:0px;font-family:Calibri,sans-serif;backgrou= nd-color:rgb(253,253,253)"><b><span style=3D"font-family:Arial,sans-serif">= <br></span></b></p><p style=3D"color:rgb(0,0,0);margin:0px;font-family:Cali= bri,sans-serif;background-color:rgb(253,253,253)"><b><span style=3D"font-fa= mily:Arial,sans-serif">S=C3=A9rgio Charrua</span></b></p><div><div dir=3D"l= tr"><p style=3D"font-size:11pt;color:rgb(0,0,0);margin:0px;font-family:Cali= bri,sans-serif;background-color:rgb(253,253,253)"><b><span style=3D"font-si= ze:9pt;font-family:Arial,sans-serif;color:red"><span style=3D"color:rgb(0,0= ,0)"></span><span style=3D"color:rgb(51,102,255)"><a href=3D"http://www.kah= ea.ai" target=3D"_blank">www.kahea.ai</a> /=C2=A0<a href=3D"http://www.voip= .pt" target=3D"_blank">www.voip.pt</a></span></span></b></p><p style=3D"mar= gin:0px;font-family:Calibri,sans-serif;background-color:rgb(253,253,253)"><= span style=3D"font-family:Arial,sans-serif"><span style=3D"font-size:12px">= <font color=3D"#000000"><b>OpenTelecom</b> - Consulting for Telecoms, Lda</= font><br></span></span><span style=3D"color:rgb(0,0,0);font-size:x-small;fo= nt-family:Arial,sans-serif">Tel.:=C2=A0<span style=3D"color:rgb(51,102,153)= "><a href=3D"callto:+351+91+104+12+66" style=3D"color:rgb(51,102,153);text-= decoration:none" target=3D"_blank">+351=C2=A0</a>91 631 11 44<br></span></s= pan><font color=3D"#000000" size=3D"1"><span style=3D"font-family:"Tim= es New Roman",serif"></span></font></p><p style=3D"font-size:11pt;colo= r:rgb(0,0,0);margin:0px;font-family:Calibri,sans-serif;background-color:rgb= (253,253,253)"><span style=3D"font-size:x-small"><span style=3D"font-family= :Arial,sans-serif;color:rgb(187,187,187)"><span style=3D"color:rgb(128,128,= 128)">Email :=C2=A0<strong><a href=3D"mailto:[email protected]" style= =3D"color:rgb(17,85,204)" target=3D"_blank">[email protected]</a></str= ong></span><br></span></span></p><table border=3D"0" cellspacing=3D"0" cell= padding=3D"0" width=3D"650" style=3D"width:487.5pt"> <tbody><tr> <td style=3D"padding:0cm"> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-family:"Vo= dafone Rg";color:rgb(204,204,204)">This message and any files or documents attached are strictly confidential or otherwis= e legally protected.=C2=A0</span></p><p class=3D"MsoNormal"><span lang=3D"E= N-US" style=3D"font-family:"Vodafone Rg";color:rgb(204,204,204)">= It is intended only for the individual or entity named. If you are not the named addressee or have received this email in error, ple= ase inform the sender immediately, delete it from your system and do not copy= or disclose it or its contents or use it for any purpose. Please also note t= hat transmission cannot be guaranteed to be secure or error-free. </span><spa= n lang=3D"EN-US" style=3D"font-family:"Times New Roman",serif"><s= pan></span></span></p> </td> </tr> </tbody></table><p style=3D"color:rgb(0,0,0);margin:0px;font-family:Calibri= ,sans-serif;background-color:rgb(253,253,253)"> <span style=3D"font-family:"Times New Roman",serif"></span></p><p= class=3D"MsoNormal"><span lang=3D"EN-US">=C2=A0</span></p><p style=3D"colo= r:rgb(0,0,0);margin:0px;font-family:Calibri,sans-serif;background-color:rgb= (253,253,253)">=C2=A0</p></div></div><div style=3D"font-size:small"><br><br= ></div></div></div></div></div></div></div></div><br></div><br><div class= =3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr= ">On Wed, Jul 8, 2026 at 3:57=E2=80=AFPM Asma BOUDDYACH via sr-users <<a= href=3D"mailto:[email protected]">[email protected]</a= >> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px= 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><di= v dir=3D"ltr">Hi ,<br><br>I am currently deploying a Kamailio SBC infrastru= cture with 2 nodes, one per datacenter, and I would like to set them up in = active-active mode.<br><br>I have no experience yet with multi-node Kamaili= o setups and I would like to ask:<br><br>1. What is the recommended approac= h for a 2-node active-active Kamailio deployment today?<br><br>2. What modu= les or mechanisms should I use to synchronize state between the two nodes (= calls, registrations, etc.)?<br><br>3. Are there any known issues or limita= tions I should be aware of before starting the configuration?<br><br>Any gu= idance or documentation pointers would be greatly appreciated.<br><br>Best = regards,</div> <br> <p><span style=3D"font-size:11pt;font-family:Calibri,sans-serif;color:rgb(3= 1,73,125)" lang=3D"EN-US">This message and any of its attachments is intend= ed solely for the addresses and is confidential. If you receive this message i= n error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet cannot guarante= e the integrity of this message. The INTELCIA Group shall (will) not therefor= e be liable for the message if modified.</span><span></span></p> <p><span style=3D"font-size:11pt;font-family:Calibri,sans-serif;color:rgb(3= 1,73,125)">=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94</s= pan><span></span></p> <p><span style=3D"font-size:11pt;font-family:Calibri,sans-serif;color:rgb(3= 1,73,125)">Ce message et toutes les pi=C3=A8ces jointes sont =C3=A9tablis =C3=A0 l'in= tention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par err= eur, merci de le d=C3=A9truire et d=E2=80=99en avertir imm=C3=A9diatement l=E2= =80=99exp=C3=A9diteur. Toute utilisation de ce message non conforme =C3=A0 sa destination, toute diffusi= on ou toute publication, m=C3=AAme partielle, est interdite, sauf autorisation ex= presse. L=E2=80=99internet ne permettant pas d=E2=80=99assurer l=E2=80=99int=C3=A9g= rit=C3=A9 de ce message, le groupe INTELCIA d=C3=A9cline toute responsabilit=C3=A9 au titre de ce message, dan= s l=E2=80=99hypoth=C3=A8se o=C3=B9 il aurait =C3=A9t=C3=A9 modifi=C3=A9.</span><span></span></p> __________________________________________________________<br> Kamailio - Users Mailing List - Non Commercial Discussions -- <a href=3D"ma= ilto:[email protected]" target=3D"_blank">[email protected]= .org</a><br> To unsubscribe send an email to <a href=3D"mailto:[email protected]= ilio.org" target=3D"_blank">[email protected]</a><br> Important: keep the mailing list in the recipients, do not reply only to th= e sender!<br> </blockquote></div> --000000000000c8657706561ad2ca-- --===============0038670301== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender! --===============0038670301==--