<html> 
 <head></head> 
 <body> <span dir="ltr" style="font-family:sans-serif;margin-top:0; margin-bottom:0">I have always interpreted the use case for passive-backup as very much a choose your own adventure scenario.</span> 
  <br> 
  <br> <span dir="ltr" style="font-family:sans-serif;margin-top:0; margin-bottom:0">Unfortunately the admin docs don't really give you enough information to properly arm the foot cannons. </span> 
  <br> 
  <br> <span dir="ltr" style="font-family:sans-serif;margin-top:0; margin-bottom:0">Forewarning: you might be venturing into hic sunt dracones territory. </span> 
  <br> 
  <br> <span dir="ltr" style="font-family:sans-serif;margin-top:0; margin-bottom:0">Here are two maps for your quest:</span> 
  <br> 
  <br> <span dir="ltr" style="font-family:sans-serif;margin-top:0; margin-bottom:0">https://gitlab.isc.org/isc-projects/kea/-/wikis/designs/High-Availability-Design</span> 
  <br> 
  <br> <span dir="ltr" style="font-family:sans-serif;margin-top:0; margin-bottom:0">https://reports.kea.isc.org/dev_guide/d3/d96/libdhcp_ha.html</span> 
  <br> 
  <br> <span dir="ltr" style="font-family:sans-serif;margin-top:0; margin-bottom:0">Enjoy</span> 
  <br> 
  <br> <span dir="ltr" style="font-family:sans-serif;margin-top:0; margin-bottom:0">-chad</span> 
  <br> 
  <br> <span dir="ltr" style="margin-top:0; margin-bottom:0;"> </span> 
  <br> 
  <div> 
   <br> 
   <div> 
    <hr> 
    <p>Feb 2, 2022 09:15:42 David Ramsey <dmr@ramseyfamily.org>:</p> 
   </div> 
   <blockquote style="border-left:3px solid #ccc; padding-left:3px;margin-top:0; margin-bottom:0"> 
    <div dir="ltr"> 
     <div>
       Correction - rather than change "this-server-name" I swap the primary/backup role in the peers list. 
     </div> 
     <div>
       I couldn't find a way to do that via API without replacing the entire configuration via config-set. 
     </div> 
     <div> 
      <br> 
     </div> 
     <div>
       Thanks folks, --dmr 
      <br> 
     </div> 
    </div> 
    <br> 
    <div class="gmail_quote"> 
     <div dir="ltr" class="gmail_attr">
       On Wed, Feb 2, 2022 at 9:53 AM David Ramsey <<a href="mailto:dmr@ramseyfamily.org">dmr@ramseyfamily.org</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 dir="ltr"> 
       <div>
         We are concerned about losing heartbeats between distant servers and encountering a "split brain" scenario, so we are considering a more manual failover using the passive-backup mode of HA. 
        <br> 
       </div> 
       <div> 
        <br> 
       </div> 
       <div>
         What is the best practice for promoting a backup server to active?  Docs simply say that it "requires manual intervention from the administrator". 
       </div> 
       <div> 
        <br> 
       </div> 
       <div>
         I can't seem to find a native API mechanism for this.  The best way I can think of seems to be ensuring that the primary can't come back online and then changing the passive-backup server's "this-server-name" to BE the primary. 
        <br> 
       </div> 
       <div> 
        <br> 
       </div> 
       <div>
         This seems like a kludge.  How are others doing this? 
       </div> 
       <div> 
        <br> 
       </div> 
       <div>
         Thanks!  --dmr 
        <br> 
       </div> 
      </div> 
     </blockquote> 
    </div> 
    <div>
      -- 
     <br>ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. 
     <br> 
     <br>To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users. 
     <br> 
     <br>Kea-users mailing list 
     <br>Kea-users@lists.isc.org 
     <br>https://lists.isc.org/mailman/listinfo/kea-users 
     <br> 
    </div> 
   </blockquote> 
  </div>  
 </body>
</html>