[Kea-users] KEA HA

Dirk Laurenz samba at laurenz.ws
Sat May 23 10:12:30 UTC 2020


Hi,

 

thank you for your response… Currently i only have memfile as backend, at it is a home lab.

If i am right. It works with that too? Correct?

 

Von: Hugh Connolly <hconnolly at gcet.net> 
Gesendet: Freitag, 22. Mai 2020 21:14
An: Kea-users at lists.isc.org; samba at laurenz.ws
Betreff: Re: [Kea-users] KEA HA

 

 

Kea has about the best High Availability functionality I've used!

 

Our setup is 2 kea servers each with it's own PSQL server.

 

It looks like this, only difference between the two being the name.

 

{

 

    "Dhcp4": {

"control-socket": {

         "socket-type": "unix",

         "socket-name": "/tmp/kea-dhcp4-ctrl.sock"

     },

"hooks-libraries": [

            {

                "library": "/usr/lib64/kea/hooks/libdhcp_lease_cmds.so",

                "parameters": { }

            },

            {

                "library": "/usr/lib64/kea/hooks/libdhcp_ha.so",

                "parameters": {

                    "high-availability": [ {

                        "this-server-name": "our_name01",

                        "mode": "hot-standby",

                        "heartbeat-delay": 10000,

                        "max-response-delay": 10000,

                        "max-ack-delay": 5000,

                        "max-unacked-clients": 5,

                        "peers": [

                            {

                                "name": "our_name01",

                                "url": "http://our_address:8080/ <http://100.64.47.244:8080/> ",

                                "role": "primary",

                                "auto-failover": true

                            },

                            {

                                "name": "our_name02",

                                "url": "http://out_address:8080/ <http://100.64.47.245:8080/> ",

                                "role": "standby",

                                "auto-failover": true

                            }

                        ]

                    } ]

                }

            }

        ],

}

}

 

Let me know if you need any more info

On Fri, 2020-05-22 at 19:25 +0200, Dirk Laurenz wrote:

Hello $list,

 

i joind because i started to deploy kea in my homelab to replace isc-dhcpd.

I just managed to setup a single server and now i’m keen in make it high available.

Is there a short howto out? I didn’t manage to find one…

 

Regards,

 

Dirk

_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at 

 <https://www.isc.org/contact/> 

https://www.isc.org/contact/

 

 for more information.
 
To unsubscribe visit 

 <https://lists.isc.org/mailman/listinfo/kea-users> 

https://lists.isc.org/mailman/listinfo/kea-users

 

.
 
Kea-users mailing list

 <mailto:Kea-users at lists.isc.org> 

Kea-users at lists.isc.org <mailto:Kea-users at lists.isc.org> 

 

 

 <https://lists.isc.org/mailman/listinfo/kea-users> 

https://lists.isc.org/mailman/listinfo/kea-users

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20200523/deb495d2/attachment.htm>


More information about the Kea-users mailing list