[Kea-users] Kea HA Heartbeat Failure
duluxoz
duluxoz at gmail.com
Fri Jan 27 08:31:41 UTC 2023
Hi Veronique,
Thanks for that - that's what we were missing: the auth info inside the
peers block.
A note to the Kea Document Maintainers: I do not recall *ever* reading
*anywhere* in the doco or sample config files where the basic-auth-user
and basic-auth-password need to be included in the ha->peers block. Of
course, I may have missed it, but still, it may behove you to make
something like this much more predominant in the documentation *and*
sample config files.
Thanks to everyone who helped us out in this - we really appreciate it
Cheers
Dulux-Oz
On 27/01/2023 18:49, Veronique Lefebure wrote:
> We have this in the kea-ctrl-agent config and it works fine:
>
> "authentication": {
> "type": "basic",
> "realm": "kea-control-agent",
> "clients": [
> {
> "user": "xxxxx",
> "password": "yyyy"
> }
> ]
> }
>
> and in kea-dhcp4.conf:
>
> "parameters": {
> "high-availability": [
> {
> ...
> "peers": [
> {
> "auto-failover": true,
> "basic-auth-password": "yyyy",
> "basic-auth-user": "xxxx",
> "name": "kea1.example.com",
> "role": "primary",
> "url": "http://xx.xxx.xx.xx:90xx/"
> },
> ...
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20230127/5f4a5038/attachment.htm>
More information about the Kea-users
mailing list