<div dir="ltr"><div dir="ltr"><div><div dir="auto">Hi Tom,</div></div><div dir="auto"><br></div><div dir="auto">Thanks for your reply.</div><div dir="auto">We tried the setup with a MySQL galera cluster and a dhcp relay sending to all 3 servers.</div><div dir="auto">But we were not able to configure the isc dhcp relay in a way that it tries the servers after another.</div><div dir="auto">It always sent the requests to all kea instances which caused the galera cluster to fall apart.</div><div dir="auto"><br></div><div dir="auto">The overall goal is to run three kea instances so that two of them can fail and the dhcp service stays available.</div><div dir="auto">If that can not be done with the kea ha itself, I will probably try the solution with the HA IP.</div><div dir="auto"><br></div><div dir="auto">Thank you very much again </div></div><div dir="auto"><br></div><div dir="auto">Benedikt </div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Dajka Tamás <<a href="mailto:viper@vipernet.hu" target="_blank">viper@vipernet.hu</a>> schrieb am Di. 14. Jan. 2020 um 09:02:<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 lang="HU"><div><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)">Hi Benedikt,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)">I’m not really getting your idea of what you want to achieve, but let me provide you another possibility. Instead of running an active-backup KEA cluster run 2 kea servers with a common (and redundant) backend (mysql, pgsql, cassandra) and on the dhcp-relays (I assume you’ve one since you’re building something bigger) add both servers.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)">When a client’s request hits the relay the packet is relayed to the first KEA (or both), if there is no response, then to the second. Anyway one of them will respond.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)">Other possibility is to have one HA IP (VIP IP, VRRP IP) on the KEA cluster.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)">Hope this helps somehow.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)">Cheers,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)">               Tom<u></u><u></u></span></p></div></div><div lang="HU"><div><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:11pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11pt;font-family:"Calibri",sans-serif"> Kea-users [mailto:<a href="mailto:kea-users-bounces@lists.isc.org" target="_blank">kea-users-bounces@lists.isc.org</a>] <b>On Behalf Of </b>Oehlrich, Benedikt<br><b>Sent:</b> Tuesday, January 14, 2020 7:45 AM<br><b>To:</b> <a href="mailto:kea-users@lists.isc.org" target="_blank">kea-users@lists.isc.org</a><br><b>Subject:</b> [Kea-users] get backup server into ready state<u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">Hey everyone,<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">I'm setting up a ha cluster and wonder if there is a way to get a server, that is configured as a backup server, to transit into a ready state.<u></u><u></u></p></div><div><p class="MsoNormal">E.g. I have a monitoring instance that realizes that one of my kea instances fails and does not respond any more. Of course the service stays available as the second running kea instance takes over. But if my second instance would fail, there would be no working DHCP service available anymore.<u></u><u></u></p></div><div><p class="MsoNormal" style="margin-bottom:12pt">I now want this monitoring service to automatically enable the backup server to take the place of the failed kea instance.<u></u><u></u></p></div><div><p class="MsoNormal">Can this be achieved without updating the config file just by using the REST backend?<u></u><u></u></p></div><div><p class="MsoNormal">It's not really documented what the backup server is for, besides to have a lease backup which can be turned on manually.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Cheers,<u></u><u></u></p></div><div><p class="MsoNormal">Benedikt<u></u><u></u></p></div></div></div></div></blockquote></div></div>
</div>