[Kea-users] HA with kea-dhcp4: beginner questions

Darren Ankney darren.ankney at gmail.com
Wed Nov 23 13:34:17 UTC 2022


> Yes, about that. I copied that block from the docs, I assume:
>
> https://kea.readthedocs.io/en/kea-2.3.2/arm/logging.html#example-logger-configurations
>
> Currently I have logs until around 1am back. But only with severity "INFO"
>
> I increase "maxsize" to its default of 10 MB and "maxver" to 10 (I'll be
> on vacation after tomorrow and would like to collect all logs while I am
> away ...) or so.
>
> Suggestions for debuglevel? full 99? (yes, I'd have to set severity "DEBUG")

We run INFO as the severity.  If you expect more trouble, you might
increase the severity to DEBUG to capture more.


> I look into kea-debug.log.1 on adc2 now, where that line comes from.
>
> before that I have
>
> 327 06:31:37.513 kea-dhcp4.stat-cmds-hooks STAT_CMDS_LEASE4_GET
> stat-lease4-get command successful, parameters: [all subnets] rows found: 4
> 327 06:31:37.517 kea-dhcp4.commands COMMAND_RECEIVED Received command
> 'statistic-get'
> 327 06:31:40.412 kea-dhcp4.commands COMMAND_RECEIVED Received command
> 'ha-heartbeat'
> 327 06:31:45.389 kea-dhcp4.commands COMMAND_RECEIVED Received command
> 'statistic-get-all'
> 327 06:31:45.398 kea-dhcp4.commands COMMAND_RECEIVED Received command
> 'subnet4-list'
> 327 06:31:55.391 kea-dhcp4.commands COMMAND_RECEIVED Received command
> 'statistic-get-all'
> 327 06:31:55.398 kea-dhcp4.commands COMMAND_RECEIVED Received command
> 'subnet4-list'
> 327 06:32:05.392 kea-dhcp4.commands COMMAND_RECEIVED Received command
> 'statistic-get-all'
> 327 06:32:05.404 kea-dhcp4.commands COMMAND_RECEIVED Received command
> 'subnet4-list'
> 327 06:32:06.405 kea-dhcp4.ha-hooks HA_HEARTBEAT_COMMUNICATIONS_FAILED
> failed to send heartbeat to adc1 (http://10.0.0.231:8000/): Connection
> timed out
> 327 06:32:15.381 kea-dhcp4.commands COMMAND_RECEIVED Received command
> 'statistic-get-all'
> 327 06:32:15.390 kea-dhcp4.commands COMMAND_RECEIVED Received command
> 'subnet4-list'
> 327 06:32:21.398 kea-dhcp4.ha-hooks HA_HEARTBEAT_COMMUNICATIONS_FAILED
> failed to send heartbeat to adc1 (http://10.0.0.231:8000/): No route to host
> 327 06:32:25.391 kea-dhcp4.commands COMMAND_RECEIVED Received command
> 'statistic-get-all'
> 327 06:32:25.404 kea-dhcp4.commands COMMAND_RECEIVED Received command
> 'subnet4-list'
> 327 06:32:33.415 kea-dhcp4.ha-hooks HA_HEARTBEAT_COMMUNICATIONS_FAILED
> failed to send heartbeat to adc1 (http://10.0.0.231:8000/): No route to host
> 327 06:32:35.382 kea-dhcp4.commands COMMAND_RECEIVED Received command
> 'statistic-get-all'
> 327 06:32:35.390 kea-dhcp4.commands COMMAND_RECEIVED Received command
> 'subnet4-list'
> 327 06:32:45.383 kea-dhcp4.ha-hooks HA_HEARTBEAT_COMMUNICATIONS_FAILED
> failed to send heartbeat to adc1 (http://10.0.0.231:8000/): No route to host
> 327 06:32:45.384 kea-dhcp4.commands COMMAND_RECEIVED Received command
> 'statistic-get-all'
> 327 06:32:45.394 kea-dhcp4.commands COMMAND_RECEIVED Received command
> 'subnet4-list'
> 327 06:32:55.382 kea-dhcp4.commands COMMAND_RECEIVED Received command
> 'statistic-get-all'
> 327 06:32:55.390 kea-dhcp4.commands COMMAND_RECEIVED Received command
> 'subnet4-list'
> 327 06:32:57.392 kea-dhcp4.ha-hooks HA_HEARTBEAT_COMMUNICATIONS_FAILED
> failed to send heartbeat to adc1 (http://10.0.0.231:8000/): No route to host
> 327 06:32:57.392 kea-dhcp4.ha-hooks HA_COMMUNICATION_INTERRUPTED
> communication with adc1 is interrupted
> 327 06:32:57.393 kea-dhcp4.ha-hooks HA_STATE_TRANSITION server
> transitions from HOT-STANDBY to PARTNER-DOWN state, partner state is
> UNDEFINED
> 327 06:32:57.393 kea-dhcp4.ha-hooks HA_LEASE_UPDATES_DISABLED lease
> updates will not be sent to the partner while in PARTNER-DOWN state
>

None of this shows any clients successfully leasing addresses or
failing to, unfortunately.


>
>
> --
> 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
> Kea-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/kea-users


More information about the Kea-users mailing list