From: Marcin Siodelski Date: Tue, 10 Apr 2018 07:51:24 +0000 (+0200) Subject: [5478] Added User's Guide section with CA configuration for HA. X-Git-Tag: trac5549a_base~34^2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f190e9713b6e6c65c3afc3662cafcc69bdfa347;p=thirdparty%2Fkea.git [5478] Added User's Guide section with CA configuration for HA. --- diff --git a/doc/guide/hooks.xml b/doc/guide/hooks.xml index 37b729525e..5700aa6173 100644 --- a/doc/guide/hooks.xml +++ b/doc/guide/hooks.xml @@ -3435,6 +3435,46 @@ both the command and the response. hot standby and load balancing mode of operation. +
+ Control Agent Configuration + The describes in detail the + Kea deamon which provides RESTful interface to control Kea servers. + The same functionality is used by High Availability hook library to + establish communication between the HA peers. Therefore, the HA + library requires that Control Agent is started for each DHCP + instance within HA setup. If the Control Agent is not started + the peers will not be able to communicate with the particular DHCP + server (even if the DHCP server itself is online) and may eventually + consider this server to be offline. + + + The following is the example configuration for the CA running + on the same machine as the primary server. This configuration is + valid for both load balancing and hot standby cases presented in + previous sections. + + +{ +"Control-agent": { + "http-host": "192.168.56.33", + "http-port": 8080, + + "control-sockets": { + "dhcp4": { + "socket-type": "unix", + "socket-name": "/tmp/kea-dhcp4-ctrl.sock" + }, + "dhcp6": { + "socket-type": "unix", + "socket-name": "/tmp/kea-dhcp6-ctrl.sock" + } + } +} +} + + +
+