From: Andrei Pavel Date: Thu, 12 Jan 2017 16:04:14 +0000 (+0200) Subject: Documented Cassandra configuration X-Git-Tag: trac5494_base~11^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=444aab4c518e9ea773d0be4782fe217cda7cc26a;p=thirdparty%2Fkea.git Documented Cassandra configuration --- diff --git a/doc/guide/dhcp4-srv.xml b/doc/guide/dhcp4-srv.xml index c2798e7a02..49508011be 100644 --- a/doc/guide/dhcp4-srv.xml +++ b/doc/guide/dhcp4-srv.xml @@ -436,17 +436,29 @@ be followed by a comma and another object definition. ). "Dhcp4": { "lease-database": { "name": "database-name" , ... }, ... } + + For Cassandra: + +"Dhcp4": { "lease-database": { "keyspace": "database-name" , ... }, ... } If the database is located on a different system to the DHCPv4 server, the database host name must also be specified. (It should be noted that this configuration may have a severe impact on server performance.): -"Dhcp4": { "lease-database": { "host": remote-host-name, ... }, ... } +"Dhcp4": { "lease-database": { "host": "remote-host-name", ... }, ... } + + For Cassandra, multiple contact points can be provided: + +"Dhcp4": { "lease-database": { "contact_points": "remote-host-name[, ...] ", ... }, ... } The usual state of affairs will be to have the database on the same machine as the DHCPv4 server. In this case, set the value to the empty string: "Dhcp4": { "lease-database": { "host" : "", ... }, ... } + + For Cassandra: + +"Dhcp4": { "lease-database": { "contact_points": "", ... }, ... } Should the database be located on a different system, you may need to specify a longer interval for the connection timeout: @@ -2996,7 +3008,6 @@ It is merely echoed by the server Cassandra (CQL). -
Fine Tuning DHCPv4 Host Reservation @@ -3105,9 +3116,6 @@ If not specified, the default value is: src/lib/dhcpsrv/cfg_host_operations.cc --> - - -
diff --git a/doc/guide/dhcp6-srv.xml b/doc/guide/dhcp6-srv.xml index 9c7ca469ce..5492ff2229 100644 --- a/doc/guide/dhcp6-srv.xml +++ b/doc/guide/dhcp6-srv.xml @@ -431,17 +431,29 @@ be followed by a comma and another object definition. or ). "Dhcp6": { "lease-database": { "name": "database-name" , ... }, ... } + + For Cassandra: + +"Dhcp6": { "lease-database": { "keyspace": "database-name" , ... }, ... } If the database is located on a different system to the DHCPv6 server, the database host name must also be specified. (It should be noted that this configuration may have a severe impact on server performance.): -"Dhcp6": { "lease-database": { "host": remote-host-name, ... }, ... } +"Dhcp6": { "lease-database": { "host": "remote-host-name", ... }, ... } + + For Cassandra, multiple contact points can be provided: + +"Dhcp6": { "lease-database": { "contact_points": "remote-host-name[, ...]" , ... }, ... } The usual state of affairs will be to have the database on the same machine as the DHCPv6 server. In this case, set the value to the empty string: "Dhcp6": { "lease-database": { "host" : "", ... }, ... } + + For Cassandra: + +"Dhcp6": { "lease-database": { "contact_points": "", ... }, ... } Should the database be located on a different system, you may need to specify a longer interval for the connection timeout: @@ -556,7 +568,6 @@ for MySQL and PostgreSQL databases. -
Interface Selection The DHCPv6 server has to be configured to listen on specific network @@ -956,7 +967,6 @@ temporarily override a list of interface names and listen on all interfaces. . - It is possible to override options on a per-subnet basis. If clients connected to most of your subnets are expected to get the @@ -1073,7 +1083,6 @@ temporarily override a list of interface names and listen on all interfaces. no means to validate the format at the moment. - List of Standard DHCPv6 Options @@ -2127,7 +2136,6 @@ should include options from the isc option space: -
DHCP-DDNS Server Connectivity @@ -4082,7 +4090,6 @@ If not specified, the default value is: , respectively.
-
User context in IPv6 pools