<!DOCTYPE html><html><head><title></title><style type="text/css">#qt p.qt-MsoNormal{margin-top:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:0cm;font-size:11pt;font-family:"Calibri", sans-serif;}

p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>On Mon, Sep 4, 2023, at 04:58, Ahiya Zadok wrote:<br></div><blockquote type="cite" id="qt" style="overflow-wrap:break-word;"><div class="qt-WordSection1"><p class="qt-MsoNormal"><span lang="EN-US">Hi all</span><br></p><p class="qt-MsoNormal"><span lang="EN-US"> </span><br></p><p class="qt-MsoNormal"><span lang="EN-US">I've set up two kea servers in a HA load-balancing mode in my lab.</span><br></p><p class="qt-MsoNormal"><span lang="EN-US">I'm using CSV as a mem file.</span><br></p><p class="qt-MsoNormal"><span lang="EN-US">It seems to work correctly, and the leases are synchronized.</span><br></p><p class="qt-MsoNormal"><span lang="EN-US">I noticed that the configuration isn't synchronized between the HA peers.</span><br></p><p class="qt-MsoNormal"><span lang="EN-US">Most of the config is pretty static and won't be changed often, but host reservations will be added/modified.</span><br></p><p class="qt-MsoNormal"><span lang="EN-US">Is there a way to make the configuration sync on every config change?</span><br></p><p class="qt-MsoNormal"><span lang="EN-US">I understand that if I store configuration and host reservations on a DB, I could sync the BD, which will do the trick.</span><br></p><p class="qt-MsoNormal"><span lang="EN-US">But this will require the use of the </span><span lang="en-IL">host commands</span><span lang="EN-US"> and </span><span lang="en-IL">Configuration Backend Commands</span><span lang="EN-US"> hooks are premium hooks; at the moment, I'm trying to avoid premium hooks.</span><br></p></div></blockquote><div><br></div><div>No, Kea does not synchronize its own configuration content. If you want the configurations on the servers managed, use a management tool like Ansible, Puppet, Chef, etc.<br></div><div><br></div></body></html>