From: Marcin Siodelski Date: Thu, 10 May 2018 11:08:03 +0000 (+0200) Subject: [5478] Added a section about transitioning between the servers. X-Git-Tag: trac5549a_base~34^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e898172a7eeee69231186b1230e96a6bba54891c;p=thirdparty%2Fkea.git [5478] Added a section about transitioning between the servers. --- diff --git a/doc/guide/hooks-ha.xml b/doc/guide/hooks-ha.xml index 7d02d4e047..41b712e62e 100644 --- a/doc/guide/hooks-ha.xml +++ b/doc/guide/hooks-ha.xml @@ -292,6 +292,38 @@ (see below). +
+ Scope Transition in Partner Down Case + When one of the servers finds that its partner is unavailble, + it will start serving clients from its own scope and the scope of the + partner which is considered unavailable. This is straight forward + for the new clients, i.e. sending DHCPDISCOVER (DHCPv4) or Solicit + (DHCPv6), because those requests are not sent to any particular server. + The available server will respond to all such queries when it is + in the partner-down state. + + When the client is renewing a lease, it will send its + DHCPREQUEST (DHCPv4) or Renew (DHCPv6) message directly to the + server which has allocated the lease being renewed. Because this + server is unavailable, the client will not get any response. In + that case, the client continues to use its lease and re-tries to + renew until the rebind timer (T2) elapses. The client will now enter + the rebinding phase, in which it will send DHCPREQUEST (DHCPv4) or + Rebind (DHCPv6) message to any available server. The surviving + server will receive the rebinding request and will (typically) + extend the lifetime of the lease. The client will continue to + contact that new server to renew its lease as appropriate. + + When the other server becomes available, both active servers + will eventually transition to the load-balancing + or hot-standby state, in which they will be + responsible for their own scopes. Some clients belonging to the + scope of the started server will be trying to renew their leases + via the surviving server. This server will not respond to them + anymore and the client will eventually transition back to the + right server via rebinding mechanism again. +
+
Load Balancing Configuration The following is the configuration snippet which enables