From: Marcin Siodelski Date: Thu, 10 May 2018 13:54:18 +0000 (+0200) Subject: [5478] Timers in HA configuration are in milliseconds. X-Git-Tag: trac5549a_base~34^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f35f263a92094104e0131b293ef7f00da0acd0f;p=thirdparty%2Fkea.git [5478] Timers in HA configuration are in milliseconds. --- diff --git a/doc/guide/hooks-ha.xml b/doc/guide/hooks-ha.xml index 5824573068..66ca7621ee 100644 --- a/doc/guide/hooks-ha.xml +++ b/doc/guide/hooks-ha.xml @@ -350,9 +350,9 @@ "high-availability": [ { "this-server-name": "server1", "mode": "load-balancing", - "heartbeat-delay": 10, - "max-response-delay": 10, - "max-ack-delay": 5, + "heartbeat-delay": 10000, + "max-response-delay": 10000, + "max-ack-delay": 5000, "max-unacked-clients": 5, "peers": [ { @@ -444,14 +444,14 @@ and hot-standby. heartbeat-delay - specifies - a duration in seconds between the last heartbeat (or other command sent + a duration in milliseconds between the last heartbeat (or other command sent to the partner) and sending the next heartbeat. The heartbeats are sent periodically to gather the status of the partner and to verify whether the partner is still operating. The default value of this parameter is - 10. + 10000 ms. max-response-delay - specifies a - duration in seconds since the last successful communication with the + duration in milliseconds since the last successful communication with the partner, after which the server assumes that the communication with the partner is interrupted. This duration should be greater than the heartbeat-delay. Usually it is a greater than @@ -460,7 +460,7 @@ may transition to the partner-down state (when max-unacked-clients is 0) or trigger failure detection procedure using the values of the two parameters below. - The default value of this parameter is 60. + The default value of this parameter is 60000. max-ack-delay - is one of @@ -469,10 +469,10 @@ of the secs field (DHCPv4) or Elapsed Time option (DHCPv6) which denote how long the DHCP client has been trying to communicate with the DHCP server. This parameter specifies the - maximum time for the client to try to communicate with the DHCP server, - after which this server assumes that the client failed to communicate - with the DHCP server (is "unacked"). The default value of this parameter - is 10. + maximum time in milliseconds for the client to try to communicate with the + DHCP server, after which this server assumes that the client failed to + communicate with the DHCP server (is "unacked"). The default value of + this parameter is 10000. max-unacked-clients - specifies how many "unacked" clients are allowed (see max-ack-delay) @@ -736,9 +736,9 @@ "high-availability": [ { "this-server-name": "server1", "mode": "hot-standby", - "heartbeat-delay": 10, - "max-response-delay": 10, - "max-ack-delay": 5, + "heartbeat-delay": 10000, + "max-response-delay": 10000, + "max-ack-delay": 5000, "max-unacked-clients": 5, "peers": [ {