From: Marcin Siodelski Date: Tue, 23 Oct 2018 16:08:57 +0000 (+0200) Subject: [#78,!85] Added section to the User Guide about sync-page-limit parameter. X-Git-Tag: 66-authoritative-flag-in-kea_base~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=942fab72f62ea5c1f8a09a81051963685abffa7c;p=thirdparty%2Fkea.git [#78,!85] Added section to the User Guide about sync-page-limit parameter. --- diff --git a/doc/guide/hooks-ha.xml b/doc/guide/hooks-ha.xml index 164483a634..7295a4bca4 100644 --- a/doc/guide/hooks-ha.xml +++ b/doc/guide/hooks-ha.xml @@ -975,7 +975,29 @@ hooks library configuration is designed to maximize the administration flexibility. + +
+ Controlling Lease Page Size Limit + HA enabled server initiates synchronization of the lease + database after down time or upon receiving ha-sync + command. The server uses commands described in + to fetch leases from the + partner server (lease queries). The size of the results page + (maximum number of leases to be returned in a single response to one + of these commands) can be controlled via HA hooks library configuration. + Increasing the page size decreases the number of lease queries sent to + the partner server, but it causes the partner server to generate + larger responses, which lengthens transmission time as well as + memory and CPU utilization on both servers. Decreasing the + page size helps to decrease resources utilization but requires + more lease queries to be issued to fetch the entire lease + database. + The default value of the sync-page-limit + controlling the page size is 10000. This means that the entire + lease database can be fetched with a single command if the + size of this database is equal or lower than 10000. +
@@ -1330,10 +1352,10 @@ The max-period parameter specifies the maximum duration (in seconds) for which the DHCP service should be disabled. If the DHCP service is successfully disabled, the synchronizing - server will fetch leases from the remote server by issuing the - lease4-get-all command. When the lease database - synchronization is complete, the synchronizing server sends the - dhcp-enable to the peer to re-enable its + server will fetch leases from the remote server by issuing one or + more lease4-get-page commands. When the lease + database synchronization is complete, the synchronizing server sends + the dhcp-enable to the peer to re-enable its DHCP service.