<div dir="ltr"><div class="gmail_default" style="font-size:small">If you really wanted to make sure the standby was serving requests during that period, you could try starting and stopping via the ha-maintenance-start command. I don't do it that frequently, but I run that command before installing updates and rebooting the main kea server.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Dan</div><div class="gmail_default" style="font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 16, 2022 at 10:42 AM perl-list <<a href="mailto:perl-list@network1.net">perl-list@network1.net</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">The hot-standby will only start after some criteria are met. Some of the parameters are tunable. See: <a href="https://kea.readthedocs.io/en/kea-1.8.1/arm/hooks.html#load-balancing-configuration" rel="noreferrer" target="_blank">https://kea.readthedocs.io/en/kea-1.8.1/arm/hooks.html#load-balancing-configuration</a> Not sure if you can tune it to start responding within a 30 to 35 second window.<br>
<br>
We just modify the config on disk and then restart the kea process, but then we aren't doing anything special with databases or anything, just the JSON config in a single file. We also aren't changing the config and restarting every 5 minutes.<br>
<br>
----- Original Message -----<br>
> From: "Veronique Lefebure" <<a href="mailto:Veronique.Lefebure@cern.ch" target="_blank">Veronique.Lefebure@cern.ch</a>><br>
> To: "kea-users" <<a href="mailto:kea-users@lists.isc.org" target="_blank">kea-users@lists.isc.org</a>><br>
> Sent: Wednesday, November 16, 2022 11:27:07 AM<br>
> Subject: [Kea-users] How to best update the KEA configuration on a HA hot-standby KEA setup<br>
<br>
> Hi,<br>
<br>
> When running KEA on one single server, (no HA), and updating the KEA dhcp<br>
> configuration file every 5 minute, using "config-set"<br>
> [<br>
> <a href="https://kea.readthedocs.io/en/latest/arm/ctrl-channel.html?highlight=config-set#the-config-set-command" rel="noreferrer" target="_blank">https://kea.readthedocs.io/en/latest/arm/ctrl-channel.html?highlight=config-set#the-config-set-command</a><br>
> |<br>
> <a href="https://kea.readthedocs.io/en/latest/arm/ctrl-channel.html?highlight=config-set#the-config-set-command" rel="noreferrer" target="_blank">https://kea.readthedocs.io/en/latest/arm/ctrl-channel.html?highlight=config-set#the-config-set-command</a><br>
> ] ,<br>
> we can see that KEA does not reply to the DHCP requests during 30-35 seconds<br>
> while "config-set" is running.<br>
<br>
> Is it expected ?<br>
> If yes, if we add a second server in a HA hot-standby mode, can we expect it to<br>
> answer to the DHCP requests while the first server is busy with config-set ?<br>
> If yes, we need to update the second server asynchronously with respect to the<br>
> first one, else they would both be busy with "config-set" at the same time.<br>
<br>
> I would be interested to know how people are updating the KEA DHCP configuration<br>
> in a HA hot-standby setup.<br>
<br>
> Thanks,<br>
> Veronique<br>
<br>
> --<br>
> ISC funds the development of this software with paid support subscriptions.<br>
> Contact us at <a href="https://www.isc.org/contact/" rel="noreferrer" target="_blank">https://www.isc.org/contact/</a> for more information.<br>
<br>
> To unsubscribe visit <a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a>.<br>
<br>
> Kea-users mailing list<br>
> <a href="mailto:Kea-users@lists.isc.org" target="_blank">Kea-users@lists.isc.org</a><br>
> <a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a><br>
-- <br>
ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" rel="noreferrer" target="_blank">https://www.isc.org/contact/</a> for more information.<br>
<br>
To unsubscribe visit <a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a>.<br>
<br>
Kea-users mailing list<br>
<a href="mailto:Kea-users@lists.isc.org" target="_blank">Kea-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a><br>
</blockquote></div>