<div dir="ltr"><div><div>
                  <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><p class="MsoNormal" style="margin-left:35.4pt">But,
                    my main question is about the DMQ on two Kamailio
                    nodes and what happens in case one of them reloads.
                    Are the dialogs and useloc synced automatically on
                    reload? Is there a template config to read about
                    this?</p></blockquote>
                </div><br></div><div>Hi, unless there are new development on version 5.5 that I am not aware, on version 5.4, the dialogs do not sync automatically, so you need to save them on DB and read from DB on startup (<a href="https://kamailio.org/docs/modules/5.4.x/modules/dialog.html#dialog.p.db_skip_load">https://kamailio.org/docs/modules/5.4.x/modules/dialog.html#dialog.p.db_skip_load</a>). The usrloc will sync without the need of a DB <a href="https://kamailio.org/docs/modules/5.4.x/modules/dmq_usrloc.html#usrloc_dmq.p.sync">https://kamailio.org/docs/modules/5.4.x/modules/dmq_usrloc.html#usrloc_dmq.p.sync</a></div><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 14 Sept 2021 at 22:44, Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</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">
  
    
  
  <div>
    <p>Hello,</p>
    <p>for the records, there is a minimal config example in the repo:</p>
    <p>  *
<a href="https://github.com/kamailio/kamailio/blob/master/misc/examples/mixed/kamailio-minimal-anycast.cfg" target="_blank">https://github.com/kamailio/kamailio/blob/master/misc/examples/mixed/kamailio-minimal-anycast.cfg</a></p>
    <p>Maybe it is useful for a starting point, although I think it
      targets use of UDP.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div>On 13.09.21 08:46, Markus Monka wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">Hi,
        <div><br>
        </div>
        <div>we did some testing with ipvs but unfortunately where not
          been able to pursue it further.</div>
        <div>Today we use NAPTR/SRV Records for balancing to several TCP
          Loadbalancers.</div>
        <div><br>
        </div>
        <div>Best Regards</div>
        <div> Markus</div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Mon, Sep 13, 2021 at 8:19
          AM Henning Westerholt <<a href="mailto:hw@skalatan.de" target="_blank">hw@skalatan.de</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">
          <div lang="DE">
            <div>
              <p class="MsoNormal"><span lang="EN-GB">Hello,</span></p>
              <p class="MsoNormal"><span lang="EN-GB"> </span></p>
              <p class="MsoNormal"><span lang="EN-GB">I would suggest
                  having a look at the presentation from Armen, and
                  probably others from past KamailioWorld:</span></p>
              <p class="MsoNormal"><span lang="EN-GB"> </span></p>
              <p class="MsoNormal"><span lang="EN-GB"><a href="https://www.youtube.com/c/KamailioWorld/search?query=anycast" target="_blank">https://www.youtube.com/c/KamailioWorld/search?query=anycast</a></span></p>
              <p class="MsoNormal"><span lang="EN-GB"> </span></p>
              <p class="MsoNormal"><span lang="EN-GB">Cheers,</span></p>
              <p class="MsoNormal"><span lang="EN-GB"> </span></p>
              <p class="MsoNormal"><span lang="EN-GB">Henning</span></p>
              <p class="MsoNormal"><span lang="EN-GB"> </span></p>
              <p class="MsoNormal"><span lang="EN-GB">-- </span></p>
              <p class="MsoNormal"><span lang="EN-GB">Henning Westerholt
                  –
                </span><span><a href="https://skalatan.de/blog/" target="_blank"><span style="color:rgb(5,99,193)" lang="EN-GB">https://skalatan.de/blog/</span></a></span><span lang="EN-GB"></span></p>
              <p class="MsoNormal"><span lang="EN-GB">Kamailio services
                  –
                </span><span><a href="https://gilawa.com/" target="_blank"><span style="color:rgb(5,99,193)" lang="EN-GB">https://gilawa.com</span></a></span><span>
                  <span lang="EN-GB"></span></span></p>
              <p class="MsoNormal"><span lang="EN-GB"> </span></p>
              <div style="border-color:rgb(225,225,225) currentcolor currentcolor;border-style:solid none none;border-width:1pt medium medium;padding:3pt 0cm 0cm">
                <p class="MsoNormal" style="margin-left:35.4pt"><b>From:</b>
                  sr-users <<a href="mailto:sr-users-bounces@lists.kamailio.org" target="_blank">sr-users-bounces@lists.kamailio.org</a>>
                  <b>On Behalf Of </b>Angelo Sipper<br>
                  <b>Sent:</b> Sunday, September 12, 2021 11:44 AM<br>
                  <b>To:</b> Kamailio (SER) - Users Mailing List <<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>><br>
                  <b>Subject:</b> Re: [SR-Users] Best practice for
                  Kamailio "cluster" front for many TLS connections</p>
              </div>
              <p class="MsoNormal" style="margin-left:35.4pt"> </p>
              <div>
                <p class="MsoNormal" style="margin-left:35.4pt">Sorry
                  Fred,</p>
                <div>
                  <p class="MsoNormal" style="margin-left:35.4pt"> </p>
                </div>
                <div>
                  <p class="MsoNormal" style="margin-left:35.4pt">I
                    believe, my question was wrongly asked.</p>
                </div>
                <div>
                  <p class="MsoNormal" style="margin-left:35.4pt">The
                    correct question would be, Is there a guide for
                    Kamailio and Anycast that anyone could point me to
                    read?</p>
                </div>
                <div>
                  <p class="MsoNormal" style="margin-left:35.4pt"> </p>
                </div>
                <div>
                  <p class="MsoNormal" style="margin-left:35.4pt">But,
                    my main question is about the DMQ on two Kamailio
                    nodes and what happens in case one of them reloads.
                    Are the dialogs and useloc synced automatically on
                    reload? Is there a template config to read about
                    this?</p>
                </div>
                <div>
                  <p class="MsoNormal" style="margin-left:35.4pt"> </p>
                </div>
                <div>
                  <p class="MsoNormal" style="margin-left:35.4pt">Kind
                    Regards,</p>
                </div>
                <div>
                  <p class="MsoNormal" style="margin-left:35.4pt">Angelo</p>
                </div>
              </div>
              <p class="MsoNormal" style="margin-left:35.4pt"> </p>
              <div>
                <div>
                  <p class="MsoNormal" style="margin-left:35.4pt">Στις
                    Κυρ, 12 Σεπ 2021 στις 1:30 π.μ., ο/η Fred Posner
                    <<a href="mailto:fred@palner.com" target="_blank">fred@palner.com</a>>
                    έγραψε:</p>
                </div>
                <blockquote style="border-color:currentcolor currentcolor currentcolor rgb(204,204,204);border-style:none none none solid;border-width:medium medium medium 1pt;padding:0cm 0cm 0cm 6pt;margin-left:4.8pt;margin-right:0cm">
                  <div>
                    <p class="MsoNormal" style="margin-right:0cm;margin-bottom:12pt;margin-left:35.4pt">
                      To be clear here, this is the kamailio list and
                      you’ve been referencing opensips documentation. </p>
                    <div>
                      <p class="MsoNormal" style="margin-left:35.4pt">--
                        Fred</p>
                      <div>
                        <p class="MsoNormal" style="margin-left:35.4pt">(via
                          mobile)</p>
                        <div>
                          <p class="MsoNormal" style="margin-left:35.4pt">Matrix: @fred:<a href="http://matrix.lod.com" target="_blank">matrix.lod.com</a></p>
                        </div>
                      </div>
                      <div>
                        <p class="MsoNormal" style="margin-left:35.4pt"> </p>
                      </div>
                    </div>
                    <div>
                      <p class="MsoNormal" style="margin-left:35.4pt"><br>
                        <br>
                      </p>
                      <blockquote style="margin-top:5pt;margin-bottom:5pt">
                        <p class="MsoNormal" style="margin-right:0cm;margin-bottom:12pt;margin-left:35.4pt">
                          On Sep 11, 2021, at 5:46 PM, Angelo Sipper
                          <<a href="mailto:sippro97@gmail.com" target="_blank">sippro97@gmail.com</a>>
                          wrote:</p>
                      </blockquote>
                    </div>
                    <blockquote style="margin-top:5pt;margin-bottom:5pt">
                      <div>
                        <p class="MsoNormal" style="margin-left:35.4pt"></p>
                        <div>
                          <p class="MsoNormal" style="margin-left:35.4pt">HI,</p>
                          <div>
                            <p class="MsoNormal" style="margin-left:35.4pt"> </p>
                          </div>
                          <div>
                            <p class="MsoNormal" style="margin-left:35.4pt">Thanks for all
                              the suggestions. I will look into
                              glb-director and I will come back in case
                              I need more help.</p>
                          </div>
                          <div>
                            <p class="MsoNormal" style="margin-left:35.4pt">As I understand
                              for same DC and two Kamailio's on
                              active/standby with keepalived is fine, at
                              least for the load we are expecting now.</p>
                          </div>
                          <div>
                            <p class="MsoNormal" style="margin-left:35.4pt"> </p>
                          </div>
                          <div>
                            <p class="MsoNormal" style="margin-left:35.4pt">Now one
                              question on DMQ. Up today with the one
                              only Kamailio we are using the dialog
                              db_mode 1 to have all dialogs in db, in
                              order not to loose the dialogs in case of
                              reload. When we will have 2 Kamailio's
                              with DMQ sync for all dialogs, in case of
                              one Kamailios reloads it will get all
                              active dialogs from the other Kamailio
                              without the need to have the DB to handle
                              this and also delay the system. Is this
                              the correct approach?</p>
                          </div>
                          <div>
                            <p class="MsoNormal" style="margin-left:35.4pt"> </p>
                          </div>
                          <div>
                            <p class="MsoNormal" style="margin-left:35.4pt">Last, do you
                              know any updated doc for Anycast  -
                              Kamailio like the one here for the older
                              version 2.4 ?</p>
                          </div>
                          <div>
                            <p class="MsoNormal" style="margin-left:35.4pt"><a href="https://blog.opensips.org/2018/03/21/full-anycast-support-in-opensips-2-4/" target="_blank">https://blog.opensips.org/2018/03/21/full-anycast-support-in-opensips-2-4/</a></p>
                          </div>
                          <div>
                            <p class="MsoNormal" style="margin-left:35.4pt"> </p>
                          </div>
                          <div>
                            <p class="MsoNormal" style="margin-left:35.4pt">Kind Regards,</p>
                          </div>
                          <div>
                            <p class="MsoNormal" style="margin-left:35.4pt">Angelo</p>
                          </div>
                          <div>
                            <p class="MsoNormal" style="margin-left:35.4pt"> </p>
                          </div>
                        </div>
                        <p class="MsoNormal" style="margin-left:35.4pt"> </p>
                        <div>
                          <div>
                            <p class="MsoNormal" style="margin-left:35.4pt">Στις Σάβ, 11
                              Σεπ 2021 στις 11:03 μ.μ., ο/η Henning
                              Westerholt <<a href="mailto:hw@skalatan.de" target="_blank">hw@skalatan.de</a>>
                              έγραψε:</p>
                          </div>
                          <blockquote style="border-color:currentcolor currentcolor currentcolor rgb(204,204,204);border-style:none none none solid;border-width:medium medium medium 1pt;padding:0cm 0cm 0cm 6pt;margin-left:4.8pt;margin-right:0cm">
                            <div>
                              <div>
                                <p class="MsoNormal" style="margin-left:35.4pt">
                                  Hello Angelo,</p>
                                <p class="MsoNormal" style="margin-left:35.4pt">
                                   </p>
                                <p class="MsoNormal" style="margin-left:35.4pt">
                                  <span lang="EN-GB">it is possible to
                                    use Kamailio with an anycast setup,
                                    there are two talks in the last
                                    years KamailioWorld conference about
                                    more details.</span></p>
                                <p class="MsoNormal" style="margin-left:35.4pt">
                                  <span lang="EN-GB"> </span></p>
                                <p class="MsoNormal" style="margin-left:35.4pt">
                                  <span lang="EN-GB">But if we are only
                                    talking about several thousand
                                    clients, it’s not needed for a
                                    start. Its certainly possible to
                                    operate this just with one front-end
                                    Kamailio in an activate/passive
                                    setup, many people do this.
                                  </span></p>
                                <p class="MsoNormal" style="margin-left:35.4pt">
                                  <span lang="EN-GB">E.g., look to this
                                    (rather old) performance tests,
                                    1.000.000 contacts with TLS on one
                                    server
                                    <a href="http://sip-router.org/wiki/performance/v3.0-capacity" target="_blank">http://sip-router.org/wiki/performance/v3.0-capacity</a></span></p>
                                <p class="MsoNormal" style="margin-left:35.4pt">
                                  <span lang="EN-GB"> </span></p>
                                <p class="MsoNormal" style="margin-left:35.4pt">
                                  <span lang="EN-GB">Kamailio has no
                                    cluster module, you probably want to
                                    investigate the DMQ module which
                                    offers clustering capabilities.</span></p>
                                <p class="MsoNormal" style="margin-left:35.4pt">
                                  <span lang="EN-GB"> </span></p>
                                <p class="MsoNormal" style="margin-left:35.4pt">
                                  <span lang="EN-GB">Cheers,</span></p>
                                <p class="MsoNormal" style="margin-left:35.4pt">
                                  <span lang="EN-GB"> </span></p>
                                <p class="MsoNormal" style="margin-left:35.4pt">
                                  <span lang="EN-GB">Henning</span></p>
                                <p class="MsoNormal" style="margin-left:35.4pt">
                                  <span lang="EN-GB"> </span></p>
                                <p class="MsoNormal" style="margin-left:35.4pt">
                                  <span lang="EN-GB"> </span></p>
                                <p class="MsoNormal" style="margin-left:35.4pt">
                                  <span lang="EN-GB">-- </span></p>
                                <p class="MsoNormal" style="margin-left:35.4pt">
                                  <span lang="EN-GB">Henning Westerholt
                                    – </span><a href="https://skalatan.de/blog/" target="_blank"><span style="color:rgb(5,99,193)" lang="EN-GB">https://skalatan.de/blog/</span></a></p>
                                <p class="MsoNormal" style="margin-left:35.4pt">
                                  <span lang="EN-GB">Kamailio services –
                                  </span><a href="https://gilawa.com/" target="_blank"><span style="color:rgb(5,99,193)" lang="EN-GB">https://gilawa.com</span></a>
                                </p>
                                <p class="MsoNormal" style="margin-left:35.4pt">
                                  <span lang="EN-GB"> </span></p>
                                <div style="border-color:rgb(225,225,225) currentcolor currentcolor;border-style:solid none none;border-width:1pt medium medium;padding:3pt 0cm 0cm">
                                  <p class="MsoNormal" style="margin-left:70.8pt">
                                    <b>From:</b> sr-users <<a href="mailto:sr-users-bounces@lists.kamailio.org" target="_blank">sr-users-bounces@lists.kamailio.org</a>>
                                    <b>On Behalf Of </b>Angelo Sipper<br>
                                    <b>Sent:</b> Saturday, September 11,
                                    2021 8:52 PM<br>
                                    <b>To:</b> Kamailio (SER) - Users
                                    Mailing List <<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>><br>
                                    <b>Subject:</b> Re: [SR-Users] Best
                                    practice for Kamailio "cluster"
                                    front for many TLS connections</p>
                                </div>
                                <p class="MsoNormal" style="margin-left:70.8pt">
                                   </p>
                                <div>
                                  <p class="MsoNormal" style="margin-left:70.8pt">
                                    Hi Fred,</p>
                                  <div>
                                    <p class="MsoNormal" style="margin-left:70.8pt">
                                       </p>
                                  </div>
                                  <div>
                                    <p class="MsoNormal" style="margin-left:70.8pt">
                                      Thanks for the suggestions.</p>
                                  </div>
                                  <div>
                                    <p class="MsoNormal" style="margin-left:70.8pt">
                                      I have been looking to all these
                                      presentations mostly from Rasvan
                                      but, he mostly suggesting
                                      clusterer module combined with
                                      anycast which I cannot locate on
                                      current version 5.x. Can you help
                                      me on what is the replacement for
                                      this? </p>
                                  </div>
                                  <div>
                                    <p class="MsoNormal" style="margin-left:70.8pt">
                                       </p>
                                  </div>
                                  <div>
                                    <p class="MsoNormal" style="margin-left:70.8pt">
                                      Kind Regards,</p>
                                  </div>
                                  <div>
                                    <p class="MsoNormal" style="margin-left:70.8pt">
                                      Angelo</p>
                                  </div>
                                </div>
                                <p class="MsoNormal" style="margin-left:70.8pt">
                                   </p>
                                <div>
                                  <div>
                                    <p class="MsoNormal" style="margin-left:70.8pt">
                                      Στις Σάβ, 11 Σεπ 2021 στις 6:04
                                      μ.μ., ο/η Fred Posner <<a href="mailto:fred@palner.com" target="_blank">fred@palner.com</a>>
                                      έγραψε:</p>
                                  </div>
                                  <blockquote style="border-color:currentcolor currentcolor currentcolor rgb(204,204,204);border-style:none none none solid;border-width:medium medium medium 1pt;padding:0cm 0cm 0cm 6pt;margin:5pt 0cm 5pt 4.8pt">
                                    <p class="MsoNormal" style="margin-left:70.8pt">
                                      On 9/11/21 10:11 AM, Angelo Sipper
                                      wrote:<br>
                                      > Hello,<br>
                                      > <br>
                                      > We are thinking to use
                                      kamailio to fully support our
                                      current voip service.<br>
                                      > [snip] What would be the best
                                      kamailio<br>
                                      > module and topology as
                                      solution to this requirement?<br>
                                      > <br>
                                      When designing a Kamailio
                                      deployment for several thousand
                                      plus clients,<br>
                                      there are many factors to
                                      consider... including network
                                      topology, future<br>
                                      growth plans, high availability,
                                      redundancy, etc.<br>
                                      <br>
                                      The quick answer top your question
                                      is: It depends.<br>
                                      <br>
                                      There are many discussions and
                                      presentations made over the years<br>
                                      including some posted to the
                                      kamailioworld youtube channel<br>
                                      (youtube,com/c/kamailioworld) as
                                      well as slides regarding large
                                      scale<br>
                                      deployments (such as 1&1).<br>
                                      <br>
                                      With best regards,<br>
                                      <br>
                                      Fred Posner | <a href="http://palner.com" target="_blank">palner.com</a><br>
                                      Matrix: @fred:<a href="http://matrix.lod.com" target="_blank">matrix.lod.com</a><br>
                                      o: +1 (212) 937-7844<br>
                                      <br>
                                      <br>
__________________________________________________________<br>
                                      Kamailio - Users Mailing List -
                                      Non Commercial Discussions<br>
                                        * <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
                                      Important: keep the mailing list
                                      in the recipients, do not reply
                                      only to the sender!<br>
                                      Edit mailing list options or
                                      unsubscribe:<br>
                                        * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a></p>
                                  </blockquote>
                                </div>
                              </div>
                            </div>
                          </blockquote>
                        </div>
                        <p class="MsoNormal" style="margin-left:35.4pt">__________________________________________________________<br>
                          Kamailio - Users Mailing List - Non Commercial
                          Discussions<br>
                           * <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
                          Important: keep the mailing list in the
                          recipients, do not reply only to the sender!<br>
                          Edit mailing list options or unsubscribe:<br>
                           * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a></p>
                      </div>
                    </blockquote>
                  </div>
                  <p class="MsoNormal" style="margin-left:35.4pt">__________________________________________________________<br>
                    Kamailio - Users Mailing List - Non Commercial
                    Discussions<br>
                      * <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
                    Important: keep the mailing list in the recipients,
                    do not reply only to the sender!<br>
                    Edit mailing list options or unsubscribe:<br>
                      * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a></p>
                </blockquote>
              </div>
            </div>
          </div>
          __________________________________________________________<br>
          Kamailio - Users Mailing List - Non Commercial Discussions<br>
            * <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
          Important: keep the mailing list in the recipients, do not
          reply only to the sender!<br>
          Edit mailing list options or unsubscribe:<br>
            * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
        </blockquote>
      </div>
      <br clear="all">
      <div><br>
      </div>
      -- <br>
      <div dir="ltr">Dipl. Ing.<br>
        Markus Monka - <a href="mailto:mmonka@sipgate.de" target="_blank">mmonka@sipgate.de</a><br>
        Telefon: +49 (0)211-63 55 55-23<br>
        Telefax: +49 (0)211-63 55 55-22<br>
        <br>
        sipgate GmbH - Gladbacher Str. 74 - 40219 Düsseldorf<br>
        HRB Düsseldorf 39841 - Geschäftsführer: Thilo Salmon, Tim Mois<br>
        Steuernummer: 106/5724/7147, Umsatzsteuer-ID: DE219349391</div>
      <br>
      <fieldset></fieldset>
      <pre>__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <pre cols="72">-- 
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" target="_blank">www.asipto.com</a>
<a href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a></pre>
  </div>

__________________________________________________________<br>
Kamailio - Users Mailing List - Non Commercial Discussions<br>
  * <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
Important: keep the mailing list in the recipients, do not reply only to the sender!<br>
Edit mailing list options or unsubscribe:<br>
  * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div></div>