]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#4362] Updated HA section with a note
authorThomas Markwalder <tmark@isc.org>
Wed, 17 Jun 2026 18:54:05 +0000 (14:54 -0400)
committerThomas Markwalder <tmark@isc.org>
Thu, 18 Jun 2026 12:10:45 +0000 (12:10 +0000)
modified:   doc/sphinx/arm/hooks-ha.rst

doc/sphinx/arm/hooks-ha.rst

index 3c5e6822936c9cc36cd9dc28eaf3955c061b4361..07b3c225889b8559b028c3cc06f0725def7e0715 100644 (file)
@@ -2463,6 +2463,22 @@ can be any of the peer names in the relationship. For example, if a relationship
 ``server1`` and ``server2``, it does not matter whether the ``ha-server-name`` is ``server1`` or
 ``server2``. In both cases, it associates a subnet with that relationship.
 
+It is important to note that each relationship on a given Kea server must use a unique
+listener IP.port combination as the relationships do not share listener pools between them.
+If the same IP and port are defined for multiple relationships, the Kea service will fail to start with an error something like: DHCP4_INIT_FAIL failed to initialize Kea server: configuration error using file 'kea-dhcp4.conf': Error initializing hooks: CmdHttpListener::run failed: unable to setup TCP acceptor for listening to the incoming HTTP requests: bind: Address already in use
+
+.. note::
+
+    It is important to note that each peer on a given Kea server must use a unique a listener
+    IP/port combination.  If the same IP and port are defined for multiple peers, the Kea service
+    will fail to start with an error similar to the following:
+
+    .. code::
+
+        DHCP4_INIT_FAIL failed to initialize Kea server: configuration error using file 'kea-dhcp4.conf':
+        Error initializing hooks: CmdHttpListener::run failed: unable to setup TCP acceptor for listening
+        to the incoming HTTP requests: bind: Address already in use
+
 It is not required to specify the ``ha-server-name`` in the branch servers, assuming that the
 branch servers only contain the subnets they serve. Consider the following configuration for
 branch ``server3``: