<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello,</p>
    <p>for the records, there is a minimal config example in the repo:</p>
    <p>  *
<a class="moz-txt-link-freetext" href="https://github.com/kamailio/kamailio/blob/master/misc/examples/mixed/kamailio-minimal-anycast.cfg">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 class="moz-cite-prefix">On 13.09.21 08:46, Markus Monka wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAETaD6Gorsw3BFWmZzi0EpeduW93-qCNLFm8gErC6mMY5ag2KA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <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"
            moz-do-not-send="true">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 style="overflow-wrap: break-word;" lang="DE">
            <div class="gmail-m_-552533243466311960WordSection1">
              <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" moz-do-not-send="true">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" moz-do-not-send="true"><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" moz-do-not-send="true"><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-right:none;border-bottom:none;border-left:none;border-top:1pt
                solid rgb(225,225,225);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" moz-do-not-send="true">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" moz-do-not-send="true">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"
                      moz-do-not-send="true">fred@palner.com</a>>
                    έγραψε:</p>
                </div>
                <blockquote
style="border-top:none;border-right:none;border-bottom:none;border-left:1pt
                  solid rgb(204,204,204);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" moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">hw@skalatan.de</a>>
                              έγραψε:</p>
                          </div>
                          <blockquote
style="border-top:none;border-right:none;border-bottom:none;border-left:1pt
                            solid rgb(204,204,204);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"
                                      moz-do-not-send="true">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"
                                    moz-do-not-send="true"><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"
                                    moz-do-not-send="true"><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-right:none;border-bottom:none;border-left:none;border-top:1pt
                                  solid rgb(225,225,225);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"
                                      moz-do-not-send="true">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"
                                      moz-do-not-send="true">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"
                                        moz-do-not-send="true">fred@palner.com</a>>
                                      έγραψε:</p>
                                  </div>
                                  <blockquote
style="border-top:none;border-right:none;border-bottom:none;border-left:1pt
                                    solid rgb(204,204,204);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"
                                        moz-do-not-send="true">palner.com</a><br>
                                      Matrix: @fred:<a
                                        href="http://matrix.lod.com"
                                        target="_blank"
                                        moz-do-not-send="true">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"
                                        moz-do-not-send="true">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"
                                        moz-do-not-send="true">
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" moz-do-not-send="true">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" moz-do-not-send="true">
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" moz-do-not-send="true">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" moz-do-not-send="true">
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" moz-do-not-send="true">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" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
        </blockquote>
      </div>
      <br clear="all">
      <div><br>
      </div>
      -- <br>
      <div dir="ltr" class="gmail_signature">Dipl. Ing.<br>
        Markus Monka - <a href="mailto:mmonka@sipgate.de"
          target="_blank" moz-do-not-send="true">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 class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * <a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">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 class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a></pre>
  </body>
</html>