The kea-dhcp4-server works perfectly . But I cannot get the high availability with the mode “hot-standby” and the variant “memfile” to work.
I probably have an understanding problem in the configuration of kea-ctrl-agent.conf . Unfortunately, I have not found a solution for similar errors (which I have searched for on the Internet). I have already set the debug level to maximum, but unfortunately this does not give me a clear error message. Perhaps I also lack a certain basic knowledge. I would be very happy to receive support with the error diagnosis or suggestions for improved diagnosis .
Please do not be confused by the names used, they are both x64 installations.
Here is my installation base and the configuration files and log files:
Code: Select all
-the software version of both servers is identical
Server 1
root@debian1:~# uname -a
Linux debian1 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux
ip a
2: ens18: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether bc:24:11:06:e3:ca brd ff:ff:ff:ff:ff:ff
altname enp0s18
inet 192.168.1.220/24 brd 192.168.1.255 scope global ens18
valid_lft forever preferred_lft forever
Server 2
root@debian2:~# uname -a
Linux debian2 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux
root@debian2:~# ip a
2: ens18: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether bc:24:11:d7:15:b3 brd ff:ff:ff:ff:ff:ff
altname enp0s18
inet 192.168.1.221/24 brd 192.168.1.255 scope global ens18
valid_lft forever preferred_lft forever
root@debian1:~# dpkg -l| grep kea
ii kea-common 2.2.0-6 amd64 Common libraries for the Kea DHCP server
ii kea-ctrl-agent 2.2.0-6 amd64 REST API service for Kea DHCP server
ii kea-dhcp4-server 2.2.0-6 amd64 IPv4 DHCP server
ii python3-kea-connector 2.2.0-6 all Python3 management connector for Kea DHCP server
root@debian1:~# apt policy kea-ctrl-agent
kea-ctrl-agent:
Installiert: 2.2.0-6
Installationskandidat: 2.2.0-6
Versionstabelle:
*** 2.2.0-6 500
500 http://deb.debian.org/debian bookworm/main amd64 Packages
100 /var/lib/dpkg/status
Code: Select all
root@debian1:~# curl -X POST -H "Content-Type: application/json" -d '{ "command": "config-get", "service": [ "dhcp4" ] }' http://192.168.1.221:8000/
[ { "result": 1, "text": "unable to forward command to the dhcp4 service: No such file or directory. The server is likely to be offline" } ]
root@debian2:~# curl -X POST -H "Content-Type: application/json" -d '{ "command": "config-get", "service": [ "dhcp4" ] }' http://192.168.1.220:8000/
[ { "result": 1, "text": "unable to forward command to the dhcp4 service: No such file or directory. The server is likely to be offline" } ]
Code: Select all
Server1
kea-ctrl-agent.conf
"Control-agent": {
"http-host": "192.168.1.220",
"http-port": 8000,
"control-sockets": {
"dhcp4": {
"socket-type": "unix",
"socket-name": "/run/kea/kea4-ctrl-socket"
},
// "dhcp6": {
// "socket-type": "unix",
// "socket-name": "/run/kea/kea6-ctrl-socket"
//},
"d2": {
"socket-type": "unix",
"socket-name": "/run/kea/kea-ddns-ctrl-socket"
}
},
"hooks-libraries": [
],
"loggers": [
{
// This specifies the logging for Control Agent daemon.
"name": "kea-ctrl-agent",
"output_options": [
{
"output": "stderr",
"pattern": "%-5p %m\n"
}
],
"severity": "DEBUG",
// If DEBUG level is specified, this value is used. 0 is least verbose,
// 99 is most verbose.
"debuglevel": 99
}
]
}
}
Code: Select all
Server2
kea-ctrl-agent.conf
{
// This is a basic configuration for the Kea Control Agent.
// RESTful interface to be available at http://127.0.0.1:8000/
"Control-agent": {
"http-host": "192.168.1.221",
"http-port": 8000,
"control-sockets": {
"dhcp4": {
"socket-type": "unix",
"socket-name": "/run/kea/kea4-ctrl-socket"
},
// "dhcp6": {
// "socket-type": "unix",
// "socket-name": "/run/kea/kea6-ctrl-socket"
//},
"d2": {
"socket-type": "unix",
"socket-name": "/run/kea/kea-ddns-ctrl-socket"
}
},
"hooks-libraries": [
],
"loggers": [
{
// This specifies the logging for Control Agent daemon.
"name": "kea-ctrl-agent",
"output_options": [
{
"output": "stderr",
"pattern": "%-5p %m\n"
}
],
"severity": "DEBUG",
// If DEBUG level is specified, this value is used. 0 is least verbose,
// 99 is most verbose.
"debuglevel": 99
}
]
}
}
Code: Select all
root@debian1:~# netstat -plan | grep 8000
tcp 0 0 192.168.1.220:8000 0.0.0.0:* LISTEN 441/kea-ctrl-agent
tcp 0 0 192.168.1.220:8000 192.168.1.221:60032 VERBUNDEN 441/kea-ctrl-agent
tcp 0 0 192.168.1.220:55212 192.168.1.221:8000 VERBUNDEN 445/kea-dhcp4
root@debian2:~# netstat -plan | grep 8000
tcp 0 0 192.168.1.221:8000 0.0.0.0:* LISTEN 427/kea-ctrl-agent
tcp 0 0 192.168.1.221:8000 192.168.1.220:55212 VERBUNDEN 427/kea-ctrl-agent
tcp 0 0 192.168.1.221:60032 192.168.1.220:8000 VERBUNDEN 432/kea-dhcp4
Code: Select all
root@debian1:~# journalctl -b|grep kea
Dez 10 10:34:37 debian1 systemd[1]: Started kea-ctrl-agent.service - Kea Control Agent.
Dez 10 10:34:37 debian1 systemd[1]: Starting kea-dhcp4-server.service - Kea IPv4 DHCP daemon...
Dez 10 10:34:37 debian1 systemd[1]: Started kea-dhcp4-server.service - Kea IPv4 DHCP daemon.
Dez 10 10:34:37 debian1 kea-ctrl-agent[441]: 2024-12-10 10:34:37.841 INFO [kea-ctrl-agent.dctl/441.139963289622400] DCTL_STARTING Control-agent starting, pid: 441, version: 2.2.0 (stable)
Dez 10 10:34:37 debian1 kea-ctrl-agent[441]: DEBUG DCTL_CONFIG_START parsing new configuration: { "control-sockets": { "d2": { "socket-name": "/run/kea/kea-ddns-ctrl-socket", "socket-type": "unix" }, "dhcp4": { "socket-name": "/run/kea/kea4-ctrl-socket", "socket-type": "unix" } }, "hooks-libraries": [ ], "http-host": "192.168.1.220", "http-port": 8000, "loggers": [ { "debuglevel": 99, "name": "kea-ctrl-agent", "output_options": [ { "output": "stderr", "pattern": "%-5p %m\n" } ], "severity": "DEBUG" } ] }
Dez 10 10:34:37 debian1 kea-ctrl-agent[441]: INFO CTRL_AGENT_HTTP_SERVICE_STARTED HTTP service bound to address 192.168.1.220:8000
Dez 10 10:34:37 debian1 kea-ctrl-agent[441]: INFO DCTL_CONFIG_COMPLETE server has completed configuration: listening on 192.168.1.220, port 8000, control sockets: d2 dhcp4, 0 lib(s):
Dez 10 10:34:37 debian1 kea-ctrl-agent[441]: DEBUG DCTL_RUN_PROCESS Control-agent starting application event loop
Dez 10 10:34:37 debian1 kea-ctrl-agent[441]: INFO CTRL_AGENT_STARTED Kea Control Agent version 2.2.0 started
Dez 10 10:34:37 debian1 kea-ctrl-agent[441]: DEBUG COMMAND_REGISTERED Command list-commands registered
Dez 10 10:34:37 debian1 kea-ctrl-agent[441]: DEBUG COMMAND_REGISTERED Command build-report registered
Dez 10 10:34:37 debian1 kea-ctrl-agent[441]: DEBUG COMMAND_REGISTERED Command config-get registered
Dez 10 10:34:37 debian1 kea-ctrl-agent[441]: DEBUG COMMAND_REGISTERED Command config-reload registered
Dez 10 10:34:37 debian1 kea-ctrl-agent[441]: DEBUG COMMAND_REGISTERED Command config-set registered
Dez 10 10:34:37 debian1 kea-ctrl-agent[441]: DEBUG COMMAND_REGISTERED Command config-test registered
Dez 10 10:34:37 debian1 kea-ctrl-agent[441]: DEBUG COMMAND_REGISTERED Command config-write registered
Dez 10 10:34:37 debian1 kea-ctrl-agent[441]: DEBUG COMMAND_REGISTERED Command shutdown registered
Dez 10 10:34:37 debian1 kea-ctrl-agent[441]: DEBUG COMMAND_REGISTERED Command status-get registered
Dez 10 10:34:37 debian1 kea-ctrl-agent[441]: DEBUG COMMAND_REGISTERED Command version-get registered
Dez 10 10:34:37 debian1 kea-dhcp4[445]: 2024-12-10 10:34:37.866 INFO [kea-dhcp4.dhcp4/445.139974734107136] DHCP4_STARTING Kea DHCPv4 server version 2.2.0 (stable) starting
Dez 10 10:34:37 debian1 kea-dhcp4[445]: 2024-12-10 10:34:37.869 INFO [kea-dhcp4.hosts/445.139974734107136] HOSTS_BACKENDS_REGISTERED the following host backend types are available: mysql postgresql
Dez 10 10:34:37 debian1 kea-dhcp4[445]: 2024-12-10 10:34:37.870 INFO [kea-dhcp4.dhcpsrv/445.139974734107136] DHCPSRV_CFGMGR_ADD_IFACE listening on interface ens18
Dez 10 10:34:37 debian1 kea-dhcp4[445]: 2024-12-10 10:34:37.870 INFO [kea-dhcp4.dhcpsrv/445.139974734107136] DHCPSRV_CFGMGR_SOCKET_TYPE_DEFAULT "dhcp-socket-type" not specified , using default socket type raw
Dez 10 10:34:37 debian1 kea-dhcp4[445]: 2024-12-10 10:34:37.872 INFO [kea-dhcp4.hooks/445.139974734107136] HOOKS_LIBRARY_CLOSED hooks library /usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_lease_cmds.so successfully closed
Dez 10 10:34:37 debian1 kea-dhcp4[445]: 2024-12-10 10:34:37.874 INFO [kea-dhcp4.hooks/445.139974734107136] HOOKS_LIBRARY_CLOSED hooks library /usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_ha.so successfully closed
Dez 10 10:34:37 debian1 kea-dhcp4[445]: 2024-12-10 10:34:37.875 INFO [kea-dhcp4.dhcpsrv/445.139974734107136] DHCPSRV_CFGMGR_NEW_SUBNET4 a new subnet has been added to configuration: 192.168.1.0/24 with params: t1=21600, t2=43200, valid-lifetime=86400
Dez 10 10:34:37 debian1 kea-dhcp4[445]: 2024-12-10 10:34:37.876 INFO [kea-dhcp4.lease-cmds-hooks/445.139974734107136] LEASE_CMDS_INIT_OK loading Lease Commands hooks library successful
Dez 10 10:34:37 debian1 kea-dhcp4[445]: 2024-12-10 10:34:37.876 INFO [kea-dhcp4.hooks/445.139974734107136] HOOKS_LIBRARY_LOADED hooks library /usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_lease_cmds.so successfully loaded
Dez 10 10:34:37 debian1 kea-dhcp4[445]: 2024-12-10 10:34:37.876 INFO [kea-dhcp4.ha-hooks/445.139974734107136] HA_CONFIGURATION_SUCCESSFUL HA hook library has been successfully configured
Dez 10 10:34:37 debian1 kea-dhcp4[445]: 2024-12-10 10:34:37.877 INFO [kea-dhcp4.ha-hooks/445.139974734107136] HA_INIT_OK loading High Availability hooks library successful
Dez 10 10:34:37 debian1 kea-dhcp4[445]: 2024-12-10 10:34:37.877 INFO [kea-dhcp4.hooks/445.139974734107136] HOOKS_LIBRARY_LOADED hooks library /usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_ha.so successfully loaded
Dez 10 10:34:37 debian1 kea-dhcp4[445]: 2024-12-10 10:34:37.877 INFO [kea-dhcp4.dhcp4/445.139974734107136] DHCP4_CONFIG_COMPLETE DHCPv4 server has completed configuration: added IPv4 subnets: 1; DDNS: disabled
Dez 10 10:34:37 debian1 kea-dhcp4[445]: 2024-12-10 10:34:37.877 INFO [kea-dhcp4.dhcpsrv/445.139974734107136] DHCPSRV_MEMFILE_DB opening memory file lease database: name=/var/lib/kea/kea-leases4.csv persist=true type=memfile universe=4
Dez 10 10:34:37 debian1 kea-dhcp4[445]: 2024-12-10 10:34:37.877 INFO [kea-dhcp4.dhcpsrv/445.139974734107136] DHCPSRV_MEMFILE_LEASE_FILE_LOAD loading leases from file /var/lib/kea/kea-leases4.csv
Dez 10 10:34:37 debian1 kea-dhcp4[445]: 2024-12-10 10:34:37.878 INFO [kea-dhcp4.dhcpsrv/445.139974734107136] DHCPSRV_MEMFILE_LFC_SETUP setting up the Lease File Cleanup interval to 3600 sec
Dez 10 10:34:37 debian1 kea-dhcp4[445]: 2024-12-10 10:34:37.897 INFO [kea-dhcp4.ha-hooks/445.139974734107136] HA_LOCAL_DHCP_DISABLE local DHCP service is disabled while the server1_raspi4b is in the WAITING state
Dez 10 10:34:37 debian1 kea-dhcp4[445]: 2024-12-10 10:34:37.897 INFO [kea-dhcp4.ha-hooks/445.139974734107136] HA_SERVICE_STARTED started high availability service in hot-standby mode as primary server
Dez 10 10:34:37 debian1 kea-dhcp4[445]: 2024-12-10 10:34:37.897 WARN [kea-dhcp4.dhcp4/445.139974734107136] DHCP4_MULTI_THREADING_INFO enabled: no, number of threads: 0, queue size: 0
Dez 10 10:34:37 debian1 kea-dhcp4[445]: 2024-12-10 10:34:37.897 INFO [kea-dhcp4.dhcp4/445.139974734107136] DHCP4_STARTED Kea DHCPv4 server version 2.2.0 started
Dez 10 10:34:48 debian1 kea-dhcp4[445]: 2024-12-10 10:34:48.923 WARN [kea-dhcp4.ha-hooks/445.139974734107136] HA_HEARTBEAT_FAILED heartbeat to server2_odroid (http://192.168.1.221:8000/) failed: unable to forward command to the dhcp4 service: No such file or directory. The server is likely to be offline, error code 1
Dez 10 10:34:48 debian1 kea-dhcp4[445]: 2024-12-10 10:34:48.923 WARN [kea-dhcp4.ha-hooks/445.139974734107136] HA_COMMUNICATION_INTERRUPTED communication with server2_odroid is interrupted
Dez 10 10:34:48 debian1 kea-dhcp4[445]: 2024-12-10 10:34:48.923 INFO [kea-dhcp4.ha-hooks/445.139974734107136] HA_STATE_TRANSITION server transitions from WAITING to PARTNER-DOWN state, partner state is UNDEFINED
Dez 10 10:34:48 debian1 kea-dhcp4[445]: 2024-12-10 10:34:48.923 INFO [kea-dhcp4.ha-hooks/445.139974734107136] HA_LEASE_UPDATES_DISABLED lease updates will not be sent to the partner while in PARTNER-DOWN state
Dez 10 10:34:48 debian1 kea-dhcp4[445]: 2024-12-10 10:34:48.923 INFO [kea-dhcp4.ha-hooks/445.139974734107136] HA_LOCAL_DHCP_ENABLE local DHCP service is enabled while the server1_raspi4b is in the PARTNER-DOWN state
Dez 10 10:34:49 debian1 kea-ctrl-agent[441]: DEBUG HTTP_REQUEST_RECEIVE_START start receiving request from 192.168.1.221 with timeout 10
Dez 10 10:34:50 debian1 kea-ctrl-agent[441]: DEBUG HTTP_DATA_RECEIVED received 145 bytes from 192.168.1.221
Dez 10 10:34:50 debian1 kea-ctrl-agent[441]: DEBUG HTTP_CLIENT_REQUEST_RECEIVED received HTTP request from 192.168.1.221
Dez 10 10:34:50 debian1 kea-ctrl-agent[441]: DEBUG HTTP_CLIENT_REQUEST_RECEIVED_DETAILS detailed information about well-formed request received from 192.168.1.221:
Dez 10 10:34:50 debian1 kea-ctrl-agent[441]: POST / HTTP/1.1
Dez 10 10:34:50 debian1 kea-ctrl-agent[441]: Host: 192.168.1.220
Dez 10 10:34:50 debian1 kea-ctrl-agent[441]: Content-Length: 53
Dez 10 10:34:50 debian1 kea-ctrl-agent[441]: Content-Type: application/json
Dez 10 10:34:50 debian1 kea-ctrl-agent[441]:
Dez 10 10:34:50 debian1 kea-ctrl-agent[441]: { "command": "ha-heartbeat", "service": [ "dhcp4" ] }
Dez 10 10:34:50 debian1 kea-ctrl-agent[441]: INFO COMMAND_RECEIVED Received command 'ha-heartbeat'
Dez 10 10:34:50 debian1 kea-ctrl-agent[441]: INFO CTRL_AGENT_COMMAND_RECEIVED command ha-heartbeat received from remote address 192.168.1.221
Dez 10 10:34:50 debian1 kea-ctrl-agent[441]: DEBUG CTRL_AGENT_COMMAND_FORWARD_BEGIN begin forwarding command ha-heartbeat to service dhcp4
Dez 10 10:34:50 debian1 kea-ctrl-agent[441]: DEBUG CTRL_AGENT_COMMAND_FORWARD_FAILED failed forwarding command ha-heartbeat: unable to forward command to the dhcp4 service: No such file or directory. The server is likely to be offline
Dez 10 10:34:50 debian1 kea-ctrl-agent[441]: DEBUG HTTP_SERVER_RESPONSE_SEND sending HTTP response HTTP/1.1 200 OK to 192.168.1.221
Dez 10 10:34:50 debian1 kea-ctrl-agent[441]: DEBUG HTTP_SERVER_RESPONSE_SEND_DETAILS detailed information about response sent to 192.168.1.221:
Dez 10 10:34:50 debian1 kea-ctrl-agent[441]: HTTP/1.1 200 OK
Dez 10 10:34:50 debian1 kea-ctrl-agent[441]: Content-Length: 140
Dez 10 10:34:50 debian1 kea-ctrl-agent[441]: Content-Type: application/json
Dez 10 10:34:50 debian1 kea-ctrl-agent[441]: Date: Tue, 10 Dec 2024 09:34:50 GMT
Dez 10 10:34:50 debian1 kea-ctrl-agent[441]:
Dez 10 10:34:50 debian1 kea-ctrl-agent[441]: [ { "result": 1, "text": "unable to forward command to the dhcp4 service: No such file or directory. The server is likely to be offline" } ]
Dez 10 10:34:58 debian1 kea-dhcp4[445]: 2024-12-10 10:34:58.938 WARN [kea-dhcp4.ha-hooks/445.139974734107136] HA_HEARTBEAT_FAILED heartbeat to server2_odroid (http://192.168.1.221:8000/) failed: unable to forward command to the dhcp4 service: No such file or directory. The server is likely to be offline, error code 1
Dez 10 10:34:58 debian1 kea-dhcp4[445]: 2024-12-10 10:34:58.938 WARN [kea-dhcp4.ha-hooks/445.139974734107136] HA_COMMUNICATION_INTERRUPTED communication with server2_odroid is interrupted
Dez 10 10:35:00 debian1 kea-ctrl-agent[441]: DEBUG HTTP_DATA_RECEIVED received 145 bytes from 192.168.1.221
Dez 10 10:35:00 debian1 kea-ctrl-agent[441]: DEBUG HTTP_CLIENT_REQUEST_RECEIVED received HTTP request from 192.168.1.221
Dez 10 10:35:00 debian1 kea-ctrl-agent[441]: DEBUG HTTP_CLIENT_REQUEST_RECEIVED_DETAILS detailed information about well-formed request received from 192.168.1.221:
Dez 10 10:35:00 debian1 kea-ctrl-agent[441]: POST / HTTP/1.1
Dez 10 10:35:00 debian1 kea-ctrl-agent[441]: Host: 192.168.1.220
Dez 10 10:35:00 debian1 kea-ctrl-agent[441]: Content-Length: 53
Dez 10 10:35:00 debian1 kea-ctrl-agent[441]: Content-Type: application/json
Dez 10 10:35:00 debian1 kea-ctrl-agent[441]:
Dez 10 10:35:00 debian1 kea-ctrl-agent[441]: { "command": "ha-heartbeat", "service": [ "dhcp4" ] }
Dez 10 10:35:00 debian1 kea-ctrl-agent[441]: INFO COMMAND_RECEIVED Received command 'ha-heartbeat'
Dez 10 10:35:00 debian1 kea-ctrl-agent[441]: INFO CTRL_AGENT_COMMAND_RECEIVED command ha-heartbeat received from remote address 192.168.1.221
Dez 10 10:35:00 debian1 kea-ctrl-agent[441]: DEBUG CTRL_AGENT_COMMAND_FORWARD_BEGIN begin forwarding command ha-heartbeat to service dhcp4
Dez 10 10:35:00 debian1 kea-ctrl-agent[441]: DEBUG CTRL_AGENT_COMMAND_FORWARD_FAILED failed forwarding command ha-heartbeat: unable to forward command to the dhcp4 service: No such file or directory. The server is likely to be offline
Dez 10 10:35:00 debian1 kea-ctrl-agent[441]: DEBUG HTTP_SERVER_RESPONSE_SEND sending HTTP response HTTP/1.1 200 OK to 192.168.1.221
Dez 10 10:35:00 debian1 kea-ctrl-agent[441]: DEBUG HTTP_SERVER_RESPONSE_SEND_DETAILS detailed information about response sent to 192.168.1.221:
Dez 10 10:35:00 debian1 kea-ctrl-agent[441]: HTTP/1.1 200 OK
Dez 10 10:35:00 debian1 kea-ctrl-agent[441]: Content-Length: 140
Dez 10 10:35:00 debian1 kea-ctrl-agent[441]: Content-Type: application/json
Dez 10 10:35:00 debian1 kea-ctrl-agent[441]: Date: Tue, 10 Dec 2024 09:35:00 GMT
Dez 10 10:35:00 debian1 kea-ctrl-agent[441]:
Dez 10 10:35:00 debian1 kea-ctrl-agent[441]: [ { "result": 1, "text": "unable to forward command to the dhcp4 service: No such file or directory. The server is likely to be offline" } ]
Dez 10 10:35:09 debian1 kea-dhcp4[445]: 2024-12-10 10:35:09.273 WARN [kea-dhcp4.ha-hooks/445.139974734107136] HA_HEARTBEAT_FAILED heartbeat to server2_odroid (http://192.168.1.221:8000/) failed: unable to forward command to the dhcp4 service: No such file or directory. The server is likely to be offline, error code 1
Dez 10 10:35:09 debian1 kea-dhcp4[445]: 2024-12-10 10:35:09.273 WARN [kea-dhcp4.ha-hooks/445.139974734107136] HA_COMMUNICATION_INTERRUPTED communication with server2_odroid is interrupted
Dez 10 10:35:12 debian1 kea-ctrl-agent[441]: DEBUG HTTP_DATA_RECEIVED received 145 bytes from 192.168.1.221
Dez 10 10:35:12 debian1 kea-ctrl-agent[441]: DEBUG HTTP_CLIENT_REQUEST_RECEIVED received HTTP request from 192.168.1.221
Dez 10 10:35:12 debian1 kea-ctrl-agent[441]: DEBUG HTTP_CLIENT_REQUEST_RECEIVED_DETAILS detailed information about well-formed request received from 192.168.1.221:
Dez 10 10:35:12 debian1 kea-ctrl-agent[441]: POST / HTTP/1.1
Dez 10 10:35:12 debian1 kea-ctrl-agent[441]: Host: 192.168.1.220
Dez 10 10:35:12 debian1 kea-ctrl-agent[441]: Content-Length: 53
Dez 10 10:35:12 debian1 kea-ctrl-agent[441]: Content-Type: application/json
Dez 10 10:35:12 debian1 kea-ctrl-agent[441]:
Dez 10 10:35:12 debian1 kea-ctrl-agent[441]: { "command": "ha-heartbeat", "service": [ "dhcp4" ] }
Dez 10 10:35:12 debian1 kea-ctrl-agent[441]: INFO COMMAND_RECEIVED Received command 'ha-heartbeat'
Dez 10 10:35:12 debian1 kea-ctrl-agent[441]: INFO CTRL_AGENT_COMMAND_RECEIVED command ha-heartbeat received from remote address 192.168.1.221
Dez 10 10:35:12 debian1 kea-ctrl-agent[441]: DEBUG CTRL_AGENT_COMMAND_FORWARD_BEGIN begin forwarding command ha-heartbeat to service dhcp4
Dez 10 10:35:12 debian1 kea-ctrl-agent[441]: DEBUG CTRL_AGENT_COMMAND_FORWARD_FAILED failed forwarding command ha-heartbeat: unable to forward command to the dhcp4 service: No such file or directory. The server is likely to be offline
Dez 10 10:35:12 debian1 kea-ctrl-agent[441]: DEBUG HTTP_SERVER_RESPONSE_SEND sending HTTP response HTTP/1.1 200 OK to 192.168.1.221
Dez 10 10:35:12 debian1 kea-ctrl-agent[441]: DEBUG HTTP_SERVER_RESPONSE_SEND_DETAILS detailed information about response sent to 192.168.1.221:
Dez 10 10:35:12 debian1 kea-ctrl-agent[441]: HTTP/1.1 200 OK
Dez 10 10:35:12 debian1 kea-ctrl-agent[441]: Content-Length: 140
Dez 10 10:35:12 debian1 kea-ctrl-agent[441]: Content-Type: application/json
Dez 10 10:35:12 debian1 kea-ctrl-agent[441]: Date: Tue, 10 Dec 2024 09:35:12 GMT
Dez 10 10:35:12 debian1 kea-ctrl-agent[441]:
Dez 10 10:35:12 debian1 kea-ctrl-agent[441]: [ { "result": 1, "text": "unable to forward command to the dhcp4 service: No such file or directory. The server is likely to be offline" } ]
Dez 10 10:35:19 debian1 kea-dhcp4[445]: 2024-12-10 10:35:19.288 WARN [kea-dhcp4.ha-hooks/445.139974734107136] HA_HEARTBEAT_FAILED heartbeat to server2_odroid (http://192.168.1.221:8000/) failed: unable to forward command to the dhcp4 service: No such file or directory. The server is likely to be offline, error code 1
Dez 10 10:35:19 debian1 kea-dhcp4[445]: 2024-12-10 10:35:19.288 WARN [kea-dhcp4.ha-hooks/445.139974734107136] HA_COMMUNICATION_INTERRUPTED communication with server2_odroid is interrupted
Dez 10 10:35:22 debian1 kea-ctrl-agent[441]: DEBUG HTTP_DATA_RECEIVED received 145 bytes from 192.168.1.221
Dez 10 10:35:22 debian1 kea-ctrl-agent[441]: DEBUG HTTP_CLIENT_REQUEST_RECEIVED received HTTP request from 192.168.1.221
Dez 10 10:35:22 debian1 kea-ctrl-agent[441]: DEBUG HTTP_CLIENT_REQUEST_RECEIVED_DETAILS detailed information about well-formed request received from 192.168.1.221:
Dez 10 10:35:22 debian1 kea-ctrl-agent[441]: POST / HTTP/1.1
Dez 10 10:35:22 debian1 kea-ctrl-agent[441]: Host: 192.168.1.220
Dez 10 10:35:22 debian1 kea-ctrl-agent[441]: Content-Length: 53
Dez 10 10:35:22 debian1 kea-ctrl-agent[441]: Content-Type: application/json
Dez 10 10:35:22 debian1 kea-ctrl-agent[441]:
Dez 10 10:35:22 debian1 kea-ctrl-agent[441]: { "command": "ha-heartbeat", "service": [ "dhcp4" ] }
Dez 10 10:35:22 debian1 kea-ctrl-agent[441]: INFO COMMAND_RECEIVED Received command 'ha-heartbeat'
Dez 10 10:35:22 debian1 kea-ctrl-agent[441]: INFO CTRL_AGENT_COMMAND_RECEIVED command ha-heartbeat received from remote address 192.168.1.221
Dez 10 10:35:22 debian1 kea-ctrl-agent[441]: DEBUG CTRL_AGENT_COMMAND_FORWARD_BEGIN begin forwarding command ha-heartbeat to service dhcp4
Dez 10 10:35:22 debian1 kea-ctrl-agent[441]: DEBUG CTRL_AGENT_COMMAND_FORWARD_FAILED failed forwarding command ha-heartbeat: unable to forward command to the dhcp4 service: No such file or directory. The server is likely to be offline
Dez 10 10:35:22 debian1 kea-ctrl-agent[441]: DEBUG HTTP_SERVER_RESPONSE_SEND sending HTTP response HTTP/1.1 200 OK to 192.168.1.221
Dez 10 10:35:22 debian1 kea-ctrl-agent[441]: DEBUG HTTP_SERVER_RESPONSE_SEND_DETAILS detailed information about response sent to 192.168.1.221:
Dez 10 10:35:22 debian1 kea-ctrl-agent[441]: HTTP/1.1 200 OK
Dez 10 10:35:22 debian1 kea-ctrl-agent[441]: Content-Length: 140
Dez 10 10:35:22 debian1 kea-ctrl-agent[441]: Content-Type: application/json
Dez 10 10:35:22 debian1 kea-ctrl-agent[441]: Date: Tue, 10 Dec 2024 09:35:22 GMT
Dez 10 10:35:22 debian1 kea-ctrl-agent[441]:
Dez 10 10:35:22 debian1 kea-ctrl-agent[441]: [ { "result": 1, "text": "unable to forward command to the dhcp4 service: No such file or directory. The server is likely to be offline" } ]
Dez 10 10:35:29 debian1 kea-dhcp4[445]: 2024-12-10 10:35:29.302 WARN [kea-dhcp4.ha-hooks/445.139974734107136] HA_HEARTBEAT_FAILED heartbeat to server2_odroid (http://192.168.1.221:8000/) failed: unable to forward command to the dhcp4 service: No such file or directory. The server is likely to be offline, error code 1
Dez 10 10:35:29 debian1 kea-dhcp4[445]: 2024-12-10 10:35:29.302 WARN [kea-dhcp4.ha-hooks/445.139974734107136] HA_COMMUNICATION_INTERRUPTED communication with server2_odroid is interrupted
Dez 10 10:35:32 debian1 kea-ctrl-agent[441]: DEBUG HTTP_DATA_RECEIVED received 145 bytes from 192.168.1.221
Dez 10 10:35:32 debian1 kea-ctrl-agent[441]: DEBUG HTTP_CLIENT_REQUEST_RECEIVED received HTTP request from 192.168.1.221
Dez 10 10:35:32 debian1 kea-ctrl-agent[441]: DEBUG HTTP_CLIENT_REQUEST_RECEIVED_DETAILS detailed information about well-formed request received from 192.168.1.221:
Dez 10 10:35:32 debian1 kea-ctrl-agent[441]: POST / HTTP/1.1
Dez 10 10:35:32 debian1 kea-ctrl-agent[441]: Host: 192.168.1.220
Dez 10 10:35:32 debian1 kea-ctrl-agent[441]: Content-Length: 53
Dez 10 10:35:32 debian1 kea-ctrl-agent[441]: Content-Type: application/json
Dez 10 10:35:32 debian1 kea-ctrl-agent[441]:
Dez 10 10:35:32 debian1 kea-ctrl-agent[441]: { "command": "ha-heartbeat", "service": [ "dhcp4" ] }
Dez 10 10:35:32 debian1 kea-ctrl-agent[441]: INFO COMMAND_RECEIVED Received command 'ha-heartbeat'
Dez 10 10:35:32 debian1 kea-ctrl-agent[441]: INFO CTRL_AGENT_COMMAND_RECEIVED command ha-heartbeat received from remote address 192.168.1.221
Dez 10 10:35:32 debian1 kea-ctrl-agent[441]: DEBUG CTRL_AGENT_COMMAND_FORWARD_BEGIN begin forwarding command ha-heartbeat to service dhcp4
Dez 10 10:35:32 debian1 kea-ctrl-agent[441]: DEBUG CTRL_AGENT_COMMAND_FORWARD_FAILED failed forwarding command ha-heartbeat: unable to forward command to the dhcp4 service: No such file or directory. The server is likely to be offline
Dez 10 10:35:32 debian1 kea-ctrl-agent[441]: DEBUG HTTP_SERVER_RESPONSE_SEND sending HTTP response HTTP/1.1 200 OK to 192.168.1.221
Dez 10 10:35:32 debian1 kea-ctrl-agent[441]: DEBUG HTTP_SERVER_RESPONSE_SEND_DETAILS detailed information about response sent to 192.168.1.221:
Dez 10 10:35:32 debian1 kea-ctrl-agent[441]: HTTP/1.1 200 OK
Dez 10 10:35:32 debian1 kea-ctrl-agent[441]: Content-Length: 140
Dez 10 10:35:32 debian1 kea-ctrl-agent[441]: Content-Type: application/json
Dez 10 10:35:32 debian1 kea-ctrl-agent[441]: Date: Tue, 10 Dec 2024 09:35:32 GMT
Dez 10 10:35:32 debian1 kea-ctrl-agent[441]:
Dez 10 10:35:32 debian1 kea-ctrl-agent[441]: [ { "result": 1, "text": "unable to forward command to the dhcp4 service: No such file or directory. The server is likely to be offline" } ]
Dez 10 10:35:39 debian1 kea-dhcp4[445]: 2024-12-10 10:35:39.318 WARN [kea-dhcp4.ha-hooks/445.139974734107136] HA_HEARTBEAT_FAILED heartbeat to server2_odroid (http://192.168.1.221:8000/) failed: unable to forward command to the dhcp4 service: No such file or directory. The server is likely to be offline, error code 1
Dez 10 10:35:39 debian1 kea-dhcp4[445]: 2024-12-10 10:35:39.318 WARN [kea-dhcp4.ha-hooks/445.139974734107136] HA_COMMUNICATION_INTERRUPTED communication with server2_odroid is interrupted
Dez 10 10:35:42 debian1 kea-ctrl-agent[441]: DEBUG HTTP_DATA_RECEIVED received 145 bytes from 192.168.1.221
Dez 10 10:35:42 debian1 kea-ctrl-agent[441]: DEBUG HTTP_CLIENT_REQUEST_RECEIVED received HTTP request from 192.168.1.221
Dez 10 10:35:42 debian1 kea-ctrl-agent[441]: DEBUG HTTP_CLIENT_REQUEST_RECEIVED_DETAILS detailed information about well-formed request received from 192.168.1.221:
Dez 10 10:35:42 debian1 kea-ctrl-agent[441]: POST / HTTP/1.1
Dez 10 10:35:42 debian1 kea-ctrl-agent[441]: Host: 192.168.1.220
Dez 10 10:35:42 debian1 kea-ctrl-agent[441]: Content-Length: 53
Dez 10 10:35:42 debian1 kea-ctrl-agent[441]: Content-Type: application/json
Dez 10 10:35:42 debian1 kea-ctrl-agent[441]:
Dez 10 10:35:42 debian1 kea-ctrl-agent[441]: { "command": "ha-heartbeat", "service": [ "dhcp4" ] }
Dez 10 10:35:42 debian1 kea-ctrl-agent[441]: INFO COMMAND_RECEIVED Received command 'ha-heartbeat'
Dez 10 10:35:42 debian1 kea-ctrl-agent[441]: INFO CTRL_AGENT_COMMAND_RECEIVED command ha-heartbeat received from remote address 192.168.1.221
Dez 10 10:35:42 debian1 kea-ctrl-agent[441]: DEBUG CTRL_AGENT_COMMAND_FORWARD_BEGIN begin forwarding command ha-heartbeat to service dhcp4
Dez 10 10:35:42 debian1 kea-ctrl-agent[441]: DEBUG CTRL_AGENT_COMMAND_FORWARD_FAILED failed forwarding command ha-heartbeat: unable to forward command to the dhcp4 service: No such file or directory. The server is likely to be offline
Dez 10 10:35:42 debian1 kea-ctrl-agent[441]: DEBUG HTTP_SERVER_RESPONSE_SEND sending HTTP response HTTP/1.1 200 OK to 192.168.1.221
Dez 10 10:35:42 debian1 kea-ctrl-agent[441]: DEBUG HTTP_SERVER_RESPONSE_SEND_DETAILS detailed information about response sent to 192.168.1.221:
Dez 10 10:35:42 debian1 kea-ctrl-agent[441]: HTTP/1.1 200 OK
Dez 10 10:35:42 debian1 kea-ctrl-agent[441]: Content-Length: 140
Dez 10 10:35:42 debian1 kea-ctrl-agent[441]: Content-Type: application/json
Dez 10 10:35:42 debian1 kea-ctrl-agent[441]: Date: Tue, 10 Dec 2024 09:35:42 GMT
Dez 10 10:35:42 debian1 kea-ctrl-agent[441]:
Dez 10 10:35:42 debian1 kea-ctrl-agent[441]: [ { "result": 1, "text": "unable to forward command to the dhcp4 service: No such file or directory. The server is likely to be offline" } ]
...
Code: Select all
root@debian2:~# journalctl -b|grep kea
Dez 10 10:34:40 debian2 systemd[1]: Started kea-ctrl-agent.service - Kea Control Agent.
Dez 10 10:34:40 debian2 systemd[1]: Starting kea-dhcp4-server.service - Kea IPv4 DHCP daemon...
Dez 10 10:34:40 debian2 systemd[1]: Started kea-dhcp4-server.service - Kea IPv4 DHCP daemon.
Dez 10 10:34:40 debian2 kea-ctrl-agent[427]: 2024-12-10 10:34:40.795 INFO [kea-ctrl-agent.dctl/427.140025023485824] DCTL_STARTING Control-agent starting, pid: 427, version: 2.2.0 (stable)
Dez 10 10:34:40 debian2 kea-ctrl-agent[427]: DEBUG DCTL_CONFIG_START parsing new configuration: { "control-sockets": { "d2": { "socket-name": "/run/kea/kea-ddns-ctrl-socket", "socket-type": "unix" }, "dhcp4": { "socket-name": "/run/kea/kea4-ctrl-socket", "socket-type": "unix" } }, "hooks-libraries": [ ], "http-host": "192.168.1.221", "http-port": 8000, "loggers": [ { "debuglevel": 99, "name": "kea-ctrl-agent", "output_options": [ { "output": "stderr", "pattern": "%-5p %m\n" } ], "severity": "DEBUG" } ] }
Dez 10 10:34:40 debian2 kea-ctrl-agent[427]: INFO CTRL_AGENT_HTTP_SERVICE_STARTED HTTP service bound to address 192.168.1.221:8000
Dez 10 10:34:40 debian2 kea-ctrl-agent[427]: INFO DCTL_CONFIG_COMPLETE server has completed configuration: listening on 192.168.1.221, port 8000, control sockets: d2 dhcp4, 0 lib(s):
Dez 10 10:34:40 debian2 kea-ctrl-agent[427]: DEBUG DCTL_RUN_PROCESS Control-agent starting application event loop
Dez 10 10:34:40 debian2 kea-ctrl-agent[427]: INFO CTRL_AGENT_STARTED Kea Control Agent version 2.2.0 started
Dez 10 10:34:40 debian2 kea-ctrl-agent[427]: DEBUG COMMAND_REGISTERED Command list-commands registered
Dez 10 10:34:40 debian2 kea-ctrl-agent[427]: DEBUG COMMAND_REGISTERED Command build-report registered
Dez 10 10:34:40 debian2 kea-ctrl-agent[427]: DEBUG COMMAND_REGISTERED Command config-get registered
Dez 10 10:34:40 debian2 kea-ctrl-agent[427]: DEBUG COMMAND_REGISTERED Command config-reload registered
Dez 10 10:34:40 debian2 kea-ctrl-agent[427]: DEBUG COMMAND_REGISTERED Command config-set registered
Dez 10 10:34:40 debian2 kea-ctrl-agent[427]: DEBUG COMMAND_REGISTERED Command config-test registered
Dez 10 10:34:40 debian2 kea-ctrl-agent[427]: DEBUG COMMAND_REGISTERED Command config-write registered
Dez 10 10:34:40 debian2 kea-ctrl-agent[427]: DEBUG COMMAND_REGISTERED Command shutdown registered
Dez 10 10:34:40 debian2 kea-ctrl-agent[427]: DEBUG COMMAND_REGISTERED Command status-get registered
Dez 10 10:34:40 debian2 kea-ctrl-agent[427]: DEBUG COMMAND_REGISTERED Command version-get registered
Dez 10 10:34:40 debian2 kea-dhcp4[432]: 2024-12-10 10:34:40.817 INFO [kea-dhcp4.dhcp4/432.140326744490496] DHCP4_STARTING Kea DHCPv4 server version 2.2.0 (stable) starting
Dez 10 10:34:40 debian2 kea-dhcp4[432]: 2024-12-10 10:34:40.820 INFO [kea-dhcp4.hosts/432.140326744490496] HOSTS_BACKENDS_REGISTERED the following host backend types are available: mysql postgresql
Dez 10 10:34:40 debian2 kea-dhcp4[432]: 2024-12-10 10:34:40.821 INFO [kea-dhcp4.dhcpsrv/432.140326744490496] DHCPSRV_CFGMGR_ADD_IFACE listening on interface ens18
Dez 10 10:34:40 debian2 kea-dhcp4[432]: 2024-12-10 10:34:40.821 INFO [kea-dhcp4.dhcpsrv/432.140326744490496] DHCPSRV_CFGMGR_SOCKET_TYPE_DEFAULT "dhcp-socket-type" not specified , using default socket type raw
Dez 10 10:34:40 debian2 kea-dhcp4[432]: 2024-12-10 10:34:40.822 INFO [kea-dhcp4.hooks/432.140326744490496] HOOKS_LIBRARY_CLOSED hooks library /usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_lease_cmds.so successfully closed
Dez 10 10:34:40 debian2 kea-dhcp4[432]: 2024-12-10 10:34:40.825 INFO [kea-dhcp4.hooks/432.140326744490496] HOOKS_LIBRARY_CLOSED hooks library /usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_ha.so successfully closed
Dez 10 10:34:40 debian2 kea-dhcp4[432]: 2024-12-10 10:34:40.825 INFO [kea-dhcp4.dhcpsrv/432.140326744490496] DHCPSRV_CFGMGR_NEW_SUBNET4 a new subnet has been added to configuration: 192.168.1.0/24 with params: t1=21600, t2=43200, valid-lifetime=86400
Dez 10 10:34:40 debian2 kea-dhcp4[432]: 2024-12-10 10:34:40.827 INFO [kea-dhcp4.lease-cmds-hooks/432.140326744490496] LEASE_CMDS_INIT_OK loading Lease Commands hooks library successful
Dez 10 10:34:40 debian2 kea-dhcp4[432]: 2024-12-10 10:34:40.827 INFO [kea-dhcp4.hooks/432.140326744490496] HOOKS_LIBRARY_LOADED hooks library /usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_lease_cmds.so successfully loaded
Dez 10 10:34:40 debian2 kea-dhcp4[432]: 2024-12-10 10:34:40.828 INFO [kea-dhcp4.ha-hooks/432.140326744490496] HA_CONFIGURATION_SUCCESSFUL HA hook library has been successfully configured
Dez 10 10:34:40 debian2 kea-dhcp4[432]: 2024-12-10 10:34:40.828 INFO [kea-dhcp4.ha-hooks/432.140326744490496] HA_INIT_OK loading High Availability hooks library successful
Dez 10 10:34:40 debian2 kea-dhcp4[432]: 2024-12-10 10:34:40.828 INFO [kea-dhcp4.hooks/432.140326744490496] HOOKS_LIBRARY_LOADED hooks library /usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_ha.so successfully loaded
Dez 10 10:34:40 debian2 kea-dhcp4[432]: 2024-12-10 10:34:40.828 INFO [kea-dhcp4.dhcp4/432.140326744490496] DHCP4_CONFIG_COMPLETE DHCPv4 server has completed configuration: added IPv4 subnets: 1; DDNS: disabled
Dez 10 10:34:40 debian2 kea-dhcp4[432]: 2024-12-10 10:34:40.828 INFO [kea-dhcp4.dhcpsrv/432.140326744490496] DHCPSRV_MEMFILE_DB opening memory file lease database: name=/var/lib/kea/kea-leases4.csv persist=true type=memfile universe=4
Dez 10 10:34:40 debian2 kea-dhcp4[432]: 2024-12-10 10:34:40.829 INFO [kea-dhcp4.dhcpsrv/432.140326744490496] DHCPSRV_MEMFILE_LEASE_FILE_LOAD loading leases from file /var/lib/kea/kea-leases4.csv
Dez 10 10:34:40 debian2 kea-dhcp4[432]: 2024-12-10 10:34:40.829 INFO [kea-dhcp4.dhcpsrv/432.140326744490496] DHCPSRV_MEMFILE_LFC_SETUP setting up the Lease File Cleanup interval to 3600 sec
Dez 10 10:34:40 debian2 kea-dhcp4[432]: 2024-12-10 10:34:40.853 INFO [kea-dhcp4.ha-hooks/432.140326744490496] HA_LOCAL_DHCP_DISABLE local DHCP service is disabled while the server2_odroid is in the WAITING state
Dez 10 10:34:40 debian2 kea-dhcp4[432]: 2024-12-10 10:34:40.853 INFO [kea-dhcp4.ha-hooks/432.140326744490496] HA_SERVICE_STARTED started high availability service in hot-standby mode as standby server
Dez 10 10:34:40 debian2 kea-dhcp4[432]: 2024-12-10 10:34:40.853 WARN [kea-dhcp4.dhcp4/432.140326744490496] DHCP4_MULTI_THREADING_INFO enabled: no, number of threads: 0, queue size: 0
Dez 10 10:34:40 debian2 kea-dhcp4[432]: 2024-12-10 10:34:40.854 INFO [kea-dhcp4.dhcp4/432.140326744490496] DHCP4_STARTED Kea DHCPv4 server version 2.2.0 started
Dez 10 10:34:48 debian2 kea-ctrl-agent[427]: DEBUG HTTP_REQUEST_RECEIVE_START start receiving request from 192.168.1.220 with timeout 10
Dez 10 10:34:49 debian2 kea-ctrl-agent[427]: DEBUG HTTP_DATA_RECEIVED received 145 bytes from 192.168.1.220
Dez 10 10:34:49 debian2 kea-ctrl-agent[427]: DEBUG HTTP_CLIENT_REQUEST_RECEIVED received HTTP request from 192.168.1.220
Dez 10 10:34:49 debian2 kea-ctrl-agent[427]: DEBUG HTTP_CLIENT_REQUEST_RECEIVED_DETAILS detailed information about well-formed request received from 192.168.1.220:
Dez 10 10:34:49 debian2 kea-ctrl-agent[427]: POST / HTTP/1.1
Dez 10 10:34:49 debian2 kea-ctrl-agent[427]: Host: 192.168.1.221
Dez 10 10:34:49 debian2 kea-ctrl-agent[427]: Content-Length: 53
Dez 10 10:34:49 debian2 kea-ctrl-agent[427]: Content-Type: application/json
Dez 10 10:34:49 debian2 kea-ctrl-agent[427]:
Dez 10 10:34:49 debian2 kea-ctrl-agent[427]: { "command": "ha-heartbeat", "service": [ "dhcp4" ] }
Dez 10 10:34:49 debian2 kea-ctrl-agent[427]: INFO COMMAND_RECEIVED Received command 'ha-heartbeat'
Dez 10 10:34:49 debian2 kea-ctrl-agent[427]: INFO CTRL_AGENT_COMMAND_RECEIVED command ha-heartbeat received from remote address 192.168.1.220
Dez 10 10:34:49 debian2 kea-ctrl-agent[427]: DEBUG CTRL_AGENT_COMMAND_FORWARD_BEGIN begin forwarding command ha-heartbeat to service dhcp4
Dez 10 10:34:49 debian2 kea-ctrl-agent[427]: DEBUG CTRL_AGENT_COMMAND_FORWARD_FAILED failed forwarding command ha-heartbeat: unable to forward command to the dhcp4 service: No such file or directory. The server is likely to be offline
Dez 10 10:34:49 debian2 kea-ctrl-agent[427]: DEBUG HTTP_SERVER_RESPONSE_SEND sending HTTP response HTTP/1.1 200 OK to 192.168.1.220
Dez 10 10:34:49 debian2 kea-ctrl-agent[427]: DEBUG HTTP_SERVER_RESPONSE_SEND_DETAILS detailed information about response sent to 192.168.1.220:
Dez 10 10:34:49 debian2 kea-ctrl-agent[427]: HTTP/1.1 200 OK
Dez 10 10:34:49 debian2 kea-ctrl-agent[427]: Content-Length: 140
Dez 10 10:34:49 debian2 kea-ctrl-agent[427]: Content-Type: application/json
Dez 10 10:34:49 debian2 kea-ctrl-agent[427]: Date: Tue, 10 Dec 2024 09:34:49 GMT
Dez 10 10:34:49 debian2 kea-ctrl-agent[427]:
Dez 10 10:34:49 debian2 kea-ctrl-agent[427]: [ { "result": 1, "text": "unable to forward command to the dhcp4 service: No such file or directory. The server is likely to be offline" } ]
Dez 10 10:34:51 debian2 kea-dhcp4[432]: 2024-12-10 10:34:51.879 WARN [kea-dhcp4.ha-hooks/432.140326744490496] HA_HEARTBEAT_FAILED heartbeat to server1_raspi4b (http://192.168.1.220:8000/) failed: unable to forward command to the dhcp4 service: No such file or directory. The server is likely to be offline, error code 1
Dez 10 10:34:51 debian2 kea-dhcp4[432]: 2024-12-10 10:34:51.880 WARN [kea-dhcp4.ha-hooks/432.140326744490496] HA_COMMUNICATION_INTERRUPTED communication with server1_raspi4b is interrupted
Dez 10 10:34:51 debian2 kea-dhcp4[432]: 2024-12-10 10:34:51.880 INFO [kea-dhcp4.ha-hooks/432.140326744490496] HA_STATE_TRANSITION server transitions from WAITING to PARTNER-DOWN state, partner state is UNDEFINED
Dez 10 10:34:51 debian2 kea-dhcp4[432]: 2024-12-10 10:34:51.880 INFO [kea-dhcp4.ha-hooks/432.140326744490496] HA_LEASE_UPDATES_DISABLED lease updates will not be sent to the partner while in PARTNER-DOWN state
Dez 10 10:34:51 debian2 kea-dhcp4[432]: 2024-12-10 10:34:51.880 INFO [kea-dhcp4.ha-hooks/432.140326744490496] HA_LOCAL_DHCP_ENABLE local DHCP service is enabled while the server2_odroid is in the PARTNER-DOWN state
Dez 10 10:34:59 debian2 kea-ctrl-agent[427]: DEBUG HTTP_DATA_RECEIVED received 145 bytes from 192.168.1.220
Dez 10 10:34:59 debian2 kea-ctrl-agent[427]: DEBUG HTTP_CLIENT_REQUEST_RECEIVED received HTTP request from 192.168.1.220
Dez 10 10:34:59 debian2 kea-ctrl-agent[427]: DEBUG HTTP_CLIENT_REQUEST_RECEIVED_DETAILS detailed information about well-formed request received from 192.168.1.220:
Dez 10 10:34:59 debian2 kea-ctrl-agent[427]: POST / HTTP/1.1
Dez 10 10:34:59 debian2 kea-ctrl-agent[427]: Host: 192.168.1.221
Dez 10 10:34:59 debian2 kea-ctrl-agent[427]: Content-Length: 53
Dez 10 10:34:59 debian2 kea-ctrl-agent[427]: Content-Type: application/json
Dez 10 10:34:59 debian2 kea-ctrl-agent[427]:
Dez 10 10:34:59 debian2 kea-ctrl-agent[427]: { "command": "ha-heartbeat", "service": [ "dhcp4" ] }
Dez 10 10:34:59 debian2 kea-ctrl-agent[427]: INFO COMMAND_RECEIVED Received command 'ha-heartbeat'
Dez 10 10:34:59 debian2 kea-ctrl-agent[427]: INFO CTRL_AGENT_COMMAND_RECEIVED command ha-heartbeat received from remote address 192.168.1.220
Dez 10 10:34:59 debian2 kea-ctrl-agent[427]: DEBUG CTRL_AGENT_COMMAND_FORWARD_BEGIN begin forwarding command ha-heartbeat to service dhcp4
Dez 10 10:34:59 debian2 kea-ctrl-agent[427]: DEBUG CTRL_AGENT_COMMAND_FORWARD_FAILED failed forwarding command ha-heartbeat: unable to forward command to the dhcp4 service: No such file or directory. The server is likely to be offline
Dez 10 10:34:59 debian2 kea-ctrl-agent[427]: DEBUG HTTP_SERVER_RESPONSE_SEND sending HTTP response HTTP/1.1 200 OK to 192.168.1.220
Dez 10 10:34:59 debian2 kea-ctrl-agent[427]: DEBUG HTTP_SERVER_RESPONSE_SEND_DETAILS detailed information about response sent to 192.168.1.220:
Dez 10 10:34:59 debian2 kea-ctrl-agent[427]: HTTP/1.1 200 OK
Dez 10 10:34:59 debian2 kea-ctrl-agent[427]: Content-Length: 140
Dez 10 10:34:59 debian2 kea-ctrl-agent[427]: Content-Type: application/json
Dez 10 10:34:59 debian2 kea-ctrl-agent[427]: Date: Tue, 10 Dec 2024 09:34:59 GMT
Dez 10 10:34:59 debian2 kea-ctrl-agent[427]:
Dez 10 10:34:59 debian2 kea-ctrl-agent[427]: [ { "result": 1, "text": "unable to forward command to the dhcp4 service: No such file or directory. The server is likely to be offline" } ]
Dez 10 10:35:01 debian2 kea-dhcp4[432]: 2024-12-10 10:35:01.895 WARN [kea-dhcp4.ha-hooks/432.140326744490496] HA_HEARTBEAT_FAILED heartbeat to server1_raspi4b (http://192.168.1.220:8000/) failed: unable to forward command to the dhcp4 service: No such file or directory. The server is likely to be offline, error code 1
Dez 10 10:35:01 debian2 kea-dhcp4[432]: 2024-12-10 10:35:01.895 WARN [kea-dhcp4.ha-hooks/432.140326744490496] HA_COMMUNICATION_INTERRUPTED communication with server1_raspi4b is interrupted
Dez 10 10:35:08 debian2 kea-ctrl-agent[427]: DEBUG HTTP_DATA_RECEIVED received 145 bytes from 192.168.1.220
Dez 10 10:35:08 debian2 kea-ctrl-agent[427]: DEBUG HTTP_CLIENT_REQUEST_RECEIVED received HTTP request from 192.168.1.220
Dez 10 10:35:08 debian2 kea-ctrl-agent[427]: DEBUG HTTP_CLIENT_REQUEST_RECEIVED_DETAILS detailed information about well-formed request received from 192.168.1.220:
Dez 10 10:35:08 debian2 kea-ctrl-agent[427]: POST / HTTP/1.1
Dez 10 10:35:08 debian2 kea-ctrl-agent[427]: Host: 192.168.1.221
Dez 10 10:35:08 debian2 kea-ctrl-agent[427]: Content-Length: 53
Dez 10 10:35:08 debian2 kea-ctrl-agent[427]: Content-Type: application/json
Dez 10 10:35:08 debian2 kea-ctrl-agent[427]:
Dez 10 10:35:08 debian2 kea-ctrl-agent[427]: { "command": "ha-heartbeat", "service": [ "dhcp4" ] }
Dez 10 10:35:08 debian2 kea-ctrl-agent[427]: INFO COMMAND_RECEIVED Received command 'ha-heartbeat'
Dez 10 10:35:08 debian2 kea-ctrl-agent[427]: INFO CTRL_AGENT_COMMAND_RECEIVED command ha-heartbeat received from remote address 192.168.1.220
Dez 10 10:35:08 debian2 kea-ctrl-agent[427]: DEBUG CTRL_AGENT_COMMAND_FORWARD_BEGIN begin forwarding command ha-heartbeat to service dhcp4
Dez 10 10:35:08 debian2 kea-ctrl-agent[427]: DEBUG CTRL_AGENT_COMMAND_FORWARD_FAILED failed forwarding command ha-heartbeat: unable to forward command to the dhcp4 service: No such file or directory. The server is likely to be offline
Dez 10 10:35:08 debian2 kea-ctrl-agent[427]: DEBUG HTTP_SERVER_RESPONSE_SEND sending HTTP response HTTP/1.1 200 OK to 192.168.1.220
Dez 10 10:35:08 debian2 kea-ctrl-agent[427]: DEBUG HTTP_SERVER_RESPONSE_SEND_DETAILS detailed information about response sent to 192.168.1.220:
Dez 10 10:35:08 debian2 kea-ctrl-agent[427]: HTTP/1.1 200 OK
Dez 10 10:35:08 debian2 kea-ctrl-agent[427]: Content-Length: 140
Dez 10 10:35:08 debian2 kea-ctrl-agent[427]: Content-Type: application/json
Dez 10 10:35:08 debian2 kea-ctrl-agent[427]: Date: Tue, 10 Dec 2024 09:35:08 GMT
Dez 10 10:35:08 debian2 kea-ctrl-agent[427]:
Dez 10 10:35:08 debian2 kea-ctrl-agent[427]: [ { "result": 1, "text": "unable to forward command to the dhcp4 service: No such file or directory. The server is likely to be offline" } ]
Dez 10 10:35:11 debian2 kea-dhcp4[432]: 2024-12-10 10:35:11.911 WARN [kea-dhcp4.ha-hooks/432.140326744490496] HA_HEARTBEAT_FAILED heartbeat to server1_raspi4b (http://192.168.1.220:8000/) failed: unable to forward command to the dhcp4 service: No such file or directory. The server is likely to be offline, error code 1
Dez 10 10:35:11 debian2 kea-dhcp4[432]: 2024-12-10 10:35:11.911 WARN [kea-dhcp4.ha-hooks/432.140326744490496] HA_COMMUNICATION_INTERRUPTED communication with server1_raspi4b is interrupted
Dez 10 10:35:19 debian2 kea-ctrl-agent[427]: DEBUG HTTP_DATA_RECEIVED received 145 bytes from 192.168.1.220
Dez 10 10:35:19 debian2 kea-ctrl-agent[427]: DEBUG HTTP_CLIENT_REQUEST_RECEIVED received HTTP request from 192.168.1.220
Dez 10 10:35:19 debian2 kea-ctrl-agent[427]: DEBUG HTTP_CLIENT_REQUEST_RECEIVED_DETAILS detailed information about well-formed request received from 192.168.1.220:
Dez 10 10:35:19 debian2 kea-ctrl-agent[427]: POST / HTTP/1.1
Dez 10 10:35:19 debian2 kea-ctrl-agent[427]: Host: 192.168.1.221
Dez 10 10:35:19 debian2 kea-ctrl-agent[427]: Content-Length: 53
Dez 10 10:35:19 debian2 kea-ctrl-agent[427]: Content-Type: application/json
Dez 10 10:35:19 debian2 kea-ctrl-agent[427]:
Dez 10 10:35:19 debian2 kea-ctrl-agent[427]: { "command": "ha-heartbeat", "service": [ "dhcp4" ] }
Dez 10 10:35:19 debian2 kea-ctrl-agent[427]: INFO COMMAND_RECEIVED Received command 'ha-heartbeat'
Dez 10 10:35:19 debian2 kea-ctrl-agent[427]: INFO CTRL_AGENT_COMMAND_RECEIVED command ha-heartbeat received from remote address 192.168.1.220
Dez 10 10:35:19 debian2 kea-ctrl-agent[427]: DEBUG CTRL_AGENT_COMMAND_FORWARD_BEGIN begin forwarding command ha-heartbeat to service dhcp4
Dez 10 10:35:19 debian2 kea-ctrl-agent[427]: DEBUG CTRL_AGENT_COMMAND_FORWARD_FAILED failed forwarding command ha-heartbeat: unable to forward command to the dhcp4 service: No such file or directory. The server is likely to be offline
Dez 10 10:35:19 debian2 kea-ctrl-agent[427]: DEBUG HTTP_SERVER_RESPONSE_SEND sending HTTP response HTTP/1.1 200 OK to 192.168.1.220
Dez 10 10:35:19 debian2 kea-ctrl-agent[427]: DEBUG HTTP_SERVER_RESPONSE_SEND_DETAILS detailed information about response sent to 192.168.1.220:
Dez 10 10:35:19 debian2 kea-ctrl-agent[427]: HTTP/1.1 200 OK
Dez 10 10:35:19 debian2 kea-ctrl-agent[427]: Content-Length: 140
Dez 10 10:35:19 debian2 kea-ctrl-agent[427]: Content-Type: application/json
Dez 10 10:35:19 debian2 kea-ctrl-agent[427]: Date: Tue, 10 Dec 2024 09:35:19 GMT
Dez 10 10:35:19 debian2 kea-ctrl-agent[427]:
Dez 10 10:35:19 debian2 kea-ctrl-agent[427]: [ { "result": 1, "text": "unable to forward command to the dhcp4 service: No such file or directory. The server is likely to be offline" } ]
Dez 10 10:35:21 debian2 kea-dhcp4[432]: 2024-12-10 10:35:21.969 WARN [kea-dhcp4.ha-hooks/432.140326744490496] HA_HEARTBEAT_FAILED heartbeat to server1_raspi4b (http://192.168.1.220:8000/) failed: unable to forward command to the dhcp4 service: No such file or directory. The server is likely to be offline, error code 1
Dez 10 10:35:21 debian2 kea-dhcp4[432]: 2024-12-10 10:35:21.969 WARN [kea-dhcp4.ha-hooks/432.140326744490496] HA_COMMUNICATION_INTERRUPTED communication with server1_raspi4b is interrupted
Dez 10 10:35:29 debian2 kea-ctrl-agent[427]: DEBUG HTTP_DATA_RECEIVED received 145 bytes from 192.168.1.220
Dez 10 10:35:29 debian2 kea-ctrl-agent[427]: DEBUG HTTP_CLIENT_REQUEST_RECEIVED received HTTP request from 192.168.1.220
Dez 10 10:35:29 debian2 kea-ctrl-agent[427]: DEBUG HTTP_CLIENT_REQUEST_RECEIVED_DETAILS detailed information about well-formed request received from 192.168.1.220:
Dez 10 10:35:29 debian2 kea-ctrl-agent[427]: POST / HTTP/1.1
Dez 10 10:35:29 debian2 kea-ctrl-agent[427]: Host: 192.168.1.221
Dez 10 10:35:29 debian2 kea-ctrl-agent[427]: Content-Length: 53
Dez 10 10:35:29 debian2 kea-ctrl-agent[427]: Content-Type: application/json
Dez 10 10:35:29 debian2 kea-ctrl-agent[427]:
Dez 10 10:35:29 debian2 kea-ctrl-agent[427]: { "command": "ha-heartbeat", "service": [ "dhcp4" ] }
Dez 10 10:35:29 debian2 kea-ctrl-agent[427]: INFO COMMAND_RECEIVED Received command 'ha-heartbeat'
Dez 10 10:35:29 debian2 kea-ctrl-agent[427]: INFO CTRL_AGENT_COMMAND_RECEIVED command ha-heartbeat received from remote address 192.168.1.220
Dez 10 10:35:29 debian2 kea-ctrl-agent[427]: DEBUG CTRL_AGENT_COMMAND_FORWARD_BEGIN begin forwarding command ha-heartbeat to service dhcp4
Dez 10 10:35:29 debian2 kea-ctrl-agent[427]: DEBUG CTRL_AGENT_COMMAND_FORWARD_FAILED failed forwarding command ha-heartbeat: unable to forward command to the dhcp4 service: No such file or directory. The server is likely to be offline
Dez 10 10:35:29 debian2 kea-ctrl-agent[427]: DEBUG HTTP_SERVER_RESPONSE_SEND sending HTTP response HTTP/1.1 200 OK to 192.168.1.220
Dez 10 10:35:29 debian2 kea-ctrl-agent[427]: DEBUG HTTP_SERVER_RESPONSE_SEND_DETAILS detailed information about response sent to 192.168.1.220:
Dez 10 10:35:29 debian2 kea-ctrl-agent[427]: HTTP/1.1 200 OK
Dez 10 10:35:29 debian2 kea-ctrl-agent[427]: Content-Length: 140
Dez 10 10:35:29 debian2 kea-ctrl-agent[427]: Content-Type: application/json
Dez 10 10:35:29 debian2 kea-ctrl-agent[427]: Date: Tue, 10 Dec 2024 09:35:29 GMT
Dez 10 10:35:29 debian2 kea-ctrl-agent[427]:
Dez 10 10:35:29 debian2 kea-ctrl-agent[427]: [ { "result": 1, "text": "unable to forward command to the dhcp4 service: No such file or directory. The server is likely to be offline" } ]
Dez 10 10:35:32 debian2 kea-dhcp4[432]: 2024-12-10 10:35:32.000 WARN [kea-dhcp4.ha-hooks/432.140326744490496] HA_HEARTBEAT_FAILED heartbeat to server1_raspi4b (http://192.168.1.220:8000/) failed: unable to forward command to the dhcp4 service: No such file or directory. The server is likely to be offline, error code 1
Dez 10 10:35:32 debian2 kea-dhcp4[432]: 2024-12-10 10:35:32.000 WARN [kea-dhcp4.ha-hooks/432.140326744490496] HA_COMMUNICATION_INTERRUPTED communication with server1_raspi4b is interrupted
Dez 10 10:35:39 debian2 kea-ctrl-agent[427]: DEBUG HTTP_DATA_RECEIVED received 145 bytes from 192.168.1.220
Dez 10 10:35:39 debian2 kea-ctrl-agent[427]: DEBUG HTTP_CLIENT_REQUEST_RECEIVED received HTTP request from 192.168.1.220
Dez 10 10:35:39 debian2 kea-ctrl-agent[427]: DEBUG HTTP_CLIENT_REQUEST_RECEIVED_DETAILS detailed information about well-formed request received from 192.168.1.220:
Dez 10 10:35:39 debian2 kea-ctrl-agent[427]: POST / HTTP/1.1
Dez 10 10:35:39 debian2 kea-ctrl-agent[427]: Host: 192.168.1.221
Dez 10 10:35:39 debian2 kea-ctrl-agent[427]: Content-Length: 53
Dez 10 10:35:39 debian2 kea-ctrl-agent[427]: Content-Type: application/json
Dez 10 10:35:39 debian2 kea-ctrl-agent[427]:
Dez 10 10:35:39 debian2 kea-ctrl-agent[427]: { "command": "ha-heartbeat", "service": [ "dhcp4" ] }
Dez 10 10:35:39 debian2 kea-ctrl-agent[427]: INFO COMMAND_RECEIVED Received command 'ha-heartbeat'
Dez 10 10:35:39 debian2 kea-ctrl-agent[427]: INFO CTRL_AGENT_COMMAND_RECEIVED command ha-heartbeat received from remote address 192.168.1.220
Dez 10 10:35:39 debian2 kea-ctrl-agent[427]: DEBUG CTRL_AGENT_COMMAND_FORWARD_BEGIN begin forwarding command ha-heartbeat to service dhcp4
Dez 10 10:35:39 debian2 kea-ctrl-agent[427]: DEBUG CTRL_AGENT_COMMAND_FORWARD_FAILED failed forwarding command ha-heartbeat: unable to forward command to the dhcp4 service: No such file or directory. The server is likely to be offline
Dez 10 10:35:39 debian2 kea-ctrl-agent[427]: DEBUG HTTP_SERVER_RESPONSE_SEND sending HTTP response HTTP/1.1 200 OK to 192.168.1.220
Dez 10 10:35:39 debian2 kea-ctrl-agent[427]: DEBUG HTTP_SERVER_RESPONSE_SEND_DETAILS detailed information about response sent to 192.168.1.220:
Dez 10 10:35:39 debian2 kea-ctrl-agent[427]: HTTP/1.1 200 OK
Dez 10 10:35:39 debian2 kea-ctrl-agent[427]: Content-Length: 140
Dez 10 10:35:39 debian2 kea-ctrl-agent[427]: Content-Type: application/json
Dez 10 10:35:39 debian2 kea-ctrl-agent[427]: Date: Tue, 10 Dec 2024 09:35:39 GMT
Dez 10 10:35:39 debian2 kea-ctrl-agent[427]:
Dez 10 10:35:39 debian2 kea-ctrl-agent[427]: [ { "result": 1, "text": "unable to forward command to the dhcp4 service: No such file or directory. The server is likely to be offline" } ]
Dez 10 10:35:42 debian2 kea-dhcp4[432]: 2024-12-10 10:35:42.021 WARN [kea-dhcp4.ha-hooks/432.140326744490496] HA_HEARTBEAT_FAILED heartbeat to server1_raspi4b (http://192.168.1.220:8000/) failed: unable to forward command to the dhcp4 service: No such file or directory. The server is likely to be offline, error code 1
Dez 10 10:35:42 debian2 kea-dhcp4[432]: 2024-12-10 10:35:42.021 WARN [kea-dhcp4.ha-hooks/432.140326744490496] HA_COMMUNICATION_INTERRUPTED communication with server1_raspi4b is interrupted
...
kea-dhcp4.conf Server1
kea-dhcp4.conf Server2
Code: Select all
root@debian1:~# /etc/init.d/kea-dhcp4-server status
● kea-dhcp4-server.service - Kea IPv4 DHCP daemon
Loaded: loaded (/etc/systemd/system/kea-dhcp4-server.service; enabled; preset: enabled)
Active: active (running) since Tue 2024-12-10 10:34:37 CET; 56min ago
Docs: man:kea-dhcp4(8)
Process: 442 ExecStartPre=/bin/mkdir -p /var/run/kea (code=exited, status=0/SUCCESS)
Main PID: 445 (kea-dhcp4)
Tasks: 5 (limit: 2297)
Memory: 15.3M
CPU: 359ms
CGroup: /system.slice/kea-dhcp4-server.service
└─445 /usr/sbin/kea-dhcp4 -c /etc/kea/kea-dhcp4.conf
root@debian2:~# /etc/init.d/kea-dhcp4-server status
● kea-dhcp4-server.service - Kea IPv4 DHCP daemon
Loaded: loaded (/etc/systemd/system/kea-dhcp4-server.service; enabled; preset: enabled)
Active: active (running) since Tue 2024-12-10 10:34:40 CET; 57min ago
Docs: man:kea-dhcp4(8)
Process: 428 ExecStartPre=/bin/mkdir -p /var/run/kea (code=exited, status=0/SUCCESS)
Main PID: 432 (kea-dhcp4)
Tasks: 5 (limit: 1097)
Memory: 15.6M
CPU: 357ms
CGroup: /system.slice/kea-dhcp4-server.service
└─432 /usr/sbin/kea-dhcp4 -c /etc/kea/kea-dhcp4.conf