[Kea-users] KEA HA

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[Kea-users] KEA HA

Dirk Laurenz

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/ for more information.

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

Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users
Reply | Threaded
Open this post in threaded view
|

Re: [Kea-users] KEA HA

Marcin Siodelski
Hi Dirk,

Thank you for your interest in Kea. Not sure if this is short how-to per
your standards, but Kea ARM should be a good start to get familiar with
High Availability topic in Kea:

https://kea.readthedocs.io/en/latest/arm/hooks.html#ha-high-availability

Kind Regards,
Marcin Siodelski

Sr. Software Engineer
ISC

W dniu 22.05.2020 o 19:25, Dirk Laurenz pisze:

> 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/ for more information.
>
> To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
>
> Kea-users mailing list
> [hidden email]
> https://lists.isc.org/mailman/listinfo/kea-users
>

_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

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

Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users
Reply | Threaded
Open this post in threaded view
|

Re: [Kea-users] KEA HA

dougunder
In reply to this post by Dirk Laurenz

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/",
                                "role": "primary",
                                "auto-failover": true
                            },
                            {
                                "name": "our_name02",
                                "url": "http://out_address: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/
 for more information.

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

Kea-users mailing list
[hidden email]

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


_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

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

Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users
Reply | Threaded
Open this post in threaded view
|

Re: [Kea-users] KEA HA

Dirk Laurenz

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 <[hidden email]>
Gesendet: Freitag, 22. Mai 2020 21:14
An: [hidden email]; [hidden email]
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/",

                                "role": "primary",

                                "auto-failover": true

                            },

                            {

                                "name": "our_name02",

                                "url": "http://out_address: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/

 

 for more information.
 
To unsubscribe visit 

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

 

.
 
Kea-users mailing list

[hidden email]

[hidden email]

 

 

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

 

 

_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

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

Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users
Reply | Threaded
Open this post in threaded view
|

Re: [Kea-users] KEA HA

Dirk Laurenz
In reply to this post by Marcin Siodelski
Hi,

thank you. I can work with those manuals. I have one question. Most oft he
examples have three servers. So are there three needed to prevent split
brain?
Or can i start with two server?

-----Ursprüngliche Nachricht-----
Von: Marcin Siodelski <[hidden email]>
Gesendet: Freitag, 22. Mai 2020 21:14
An: Dirk Laurenz <[hidden email]>; [hidden email]
Betreff: Re: [Kea-users] KEA HA

Hi Dirk,

Thank you for your interest in Kea. Not sure if this is short how-to per
your standards, but Kea ARM should be a good start to get familiar with High
Availability topic in Kea:

https://kea.readthedocs.io/en/latest/arm/hooks.html#ha-high-availability

Kind Regards,
Marcin Siodelski

Sr. Software Engineer
ISC

W dniu 22.05.2020 o 19:25, Dirk Laurenz pisze:
> 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/ for more
information.
>
> To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
>
> Kea-users mailing list
> [hidden email]
> https://lists.isc.org/mailman/listinfo/kea-users
>


_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

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

Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users