<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><font face="monospace">Hi Jason,<br>
           In HA, leases are synchronized each time a HA session is
        established.<br>
        Typically, when one of the HA partners has been restarted.<br>
        This is governed by the "sync-lease" HA setting,which default to
        "true."<br>
        <br>
        The "ha-sync"  API command is used to synchronize the leases
        between Kea servers.<br>
See:<a class="moz-txt-link-freetext" href="https://kea.readthedocs.io/en/kea-2.7.7/arm/hooks.html#control-commands-for-high-availability">https://kea.readthedocs.io/en/kea-2.7.7/arm/hooks.html#control-commands-for-high-availability</a><br>
        <br>
        <br>
        <br>
        /Peter    </font><br>
    </p>
    <div class="moz-cite-prefix">On 03/04/2025 15.20, Jason Creviston
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:MW5PR16MB4761174C8F0AEEFC98AC9153A0AE2@MW5PR16MB4761.namprd16.prod.outlook.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
      <div class="elementToProof"
style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 13pt; color: rgb(23, 78, 134);">
        Does anyone know how often leases sync? We're using memfile to
        store leases. The only thing I could find in the docs was
        "synchronizing the lease database as needed".</div>
      <div class="elementToProof"
style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 13pt; color: rgb(23, 78, 134);">
        <br>
      </div>
      <div class="elementToProof"
style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 13pt; color: rgb(23, 78, 134);">
        The leases between our HA pair are out of sync, and I'm curious
        how often the primary sends the
        <code>ha-sync</code> command to the secondary. Stork's Leases
        Search feature is showing a valid IP lease for an address, but
        it's only reporting that from the secondary unit. The lease was
        allocated on 4/2 12:58 and expires today. I cleared the lease
        from a javascript application at some point yesterday afternoon.
        I figured the servers would've sync'd leases by now.</div>
      <div class="elementToProof"
style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 13pt; color: rgb(23, 78, 134);">
        <br>
      </div>
      <div class="elementToProof"
style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 13pt; color: rgb(23, 78, 134);">
        <br>
      </div>
      <div class="elementToProof"
style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 13pt; color: rgb(23, 78, 134);">
        Thanks,</div>
      <div class="elementToProof"
style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 13pt; color: rgb(23, 78, 134);">
        <br>
      </div>
      <br>
      <table id="0.hz7mej3tpto" style="width: 397px;" cellspacing="0"
        cellpadding="0">
        <tbody>
          <tr>
            <td style="font-size: 10pt; width: 397px;" valign="top"
              colspan="3" class=""><span
style="FONT-SIZE: 14pt; FONT-FAMILY: "Gill Sans"; COLOR: rgb(31,94,173)"><b
                  style="FONT-SIZE: 16pt; FONT-FAMILY: Helvetica">Jason
                  Creviston<span style="FONT-SIZE: 12pt"></span></b><br
                  style="COLOR: rgb(31,94,173)">
                <span
style="FONT-SIZE: 12pt; FONT-FAMILY: "Century Gothic"; COLOR: rgb(31,94,173)">Sr.
                  Network Administrator</span><br>
              </span></td>
          </tr>
          <tr>
            <td style="font-size: 8pt; width: 397px;" valign="top"
              class="" colspan="3"><span
style="FONT-SIZE: 8pt; FONT-FAMILY: "Century Gothic"">P:
                765-795-9305               </span><span
                style="FONT-SIZE: 8pt"><span
                  style="FONT-FAMILY: "Century Gothic"">2 S.
                  West Street – P.O. Box 237, Cloverdale, IN 461</span></span><span
                style="FONT-SIZE: 8pt"><span style="FONT-SIZE: 8pt"><span
                    style="FONT-FAMILY: "Century Gothic"">20<br>
                    <a class="socialLink"
href="https://outlook.office365.com/owa/calendar/JasonCreviston@weendeavor.com/bookings/"
                      moz-do-not-send="true">Book an appointment with
                      me!</a><br>
                  </span></span></span></td>
          </tr>
          <tr>
            <td
style="border-width: 1px 0px 0px; font-size: 10pt; border-top-style: solid; border-color: rgb(31, 94, 173) rgb(255, 255, 255) rgb(255, 255, 255); width: 120px; padding: 10px 0px; border-left-style: initial; border-right-style: initial; border-bottom-style: initial;"
              valign="middle" align="center" class=""><img
                id="0.7qg23aouu9m" style="" border="0"
                src="cid:part1.mgkeLN5W.PO8Aq8by@isc.org" class=""></td>
            <td
style="border-width: 1px 0px 0px; font-size: 10pt; border-top-style: solid; border-color: rgb(31, 94, 173) rgb(255, 255, 255) rgb(255, 255, 255); width: 120.435px; padding: 10px 0px; border-left-style: initial; border-right-style: initial; border-bottom-style: initial;"
              valign="middle" align="center" class=""><img
                id="0.9wyp5hye8oi" style="width: 62px; height: 25px;"
                border="0" src="cid:part2.Uht2Bb0y.QgbxKvSA@isc.org"
                width="62" height="25" class=""></td>
            <td
style="border-width: 1px 0px 0px; font-size: 10pt; border-top-style: solid; border-color: rgb(31, 94, 173) rgb(255, 255, 255) rgb(255, 255, 255); width: 156.565px; padding: 10px 0px; border-left-style: initial; border-right-style: initial; border-bottom-style: initial; text-align: left;"
              valign="middle" align="center" class="" colspan="1">    <img
                id="0.i3a5sauisie" style="" border="0"
                src="cid:part3.h9qAvzwM.TKb5Kcov@isc.org" class=""><br>
            </td>
          </tr>
          <tr>
            <td style="width: 120px; padding: 5px 0px; font-size: 9pt;"
              valign="middle" align="center" class=""><a
                href="http://weendeavor.com/"
style="font-size: 9pt; font-family: "Century Gothic";"
                title="" moz-do-not-send="true">weEndeavor.com</a></td>
            <td
style="width: 120.435px; padding: 5px 0px; font-family: "Century Gothic"; font-size: 9pt;"
              valign="middle" align="center" class=""><font
                face="Gill Sans Nova Light, sans-serif"
style="font-family: "Century Gothic"; font-size: 9pt;"><span
style="font-size: 9pt; font-family: "Century Gothic";"><a
                    title="" href="http://gigtel.com/"
style="font-family: "Century Gothic"; font-size: 9pt;"
                    moz-do-not-send="true">GigTel.com</a></span></font></td>
            <td
style="width: 156.565px; padding: 5px 0px; font-family: "Century Gothic"; font-size: 9pt; text-align: left;"
              valign="middle" align="center" class="" colspan="1">   <a
                href="http://EndeavorIT.com" title=""
                moz-do-not-send="true">EndeavorIT.com</a><br>
            </td>
          </tr>
          <tr>
            <td
style="font-size: 8pt; font-family: "Century Gothic"; width: 397px; color: rgb(166, 166, 166); line-height: 9pt;"
              valign="top" colspan="3" class="">CONFIDENTIALITY NOTICE:
              The information in this Email and my attachments are
              confidential and may be privileged. This Email is intended
              solely for the named recipient or recipients. If you are
              not the intended recipient, any use, disclosure, copying
              or distribution of this Email is prohibited. If you are
              not the intended recipient, please inform us by replying
              with the subject line "Wrong Address" and then delete this
              Email and any attachments. Endeavor Communications uses
              regularly updated anti-virus software in an attempt to
              reduce the possibility of transmitting computer viruses.
              We do not guarantee, however, that any attachments to this
              Email are virus-free. </td>
          </tr>
        </tbody>
      </table>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Peter Davies
Support Engineer 
Internet Systems Corporation
<a class="moz-txt-link-abbreviated" href="mailto:peterd@isc.org">peterd@isc.org</a>
001 650-423-1460</pre>
  </body>
</html>