|
@@ -448,6 +448,11 @@ be followed by a comma and another object definition.</para>
|
|
|
<screen>
|
|
|
"Dhcp4": { "lease-database": { <userinput>"host" : ""</userinput>, ... }, ... }
|
|
|
</screen>
|
|
|
+ Should the database use a port different than standard, it may be
|
|
|
+ specified as well:
|
|
|
+<screen>
|
|
|
+"Dhcp4": { "lease-database": { <userinput>"port" : 12345</userinput>, ... }, ... }
|
|
|
+</screen>
|
|
|
Should the database be located on a different system, you may need to specify a longer interval
|
|
|
for the connection timeout:
|
|
|
<screen>
|
|
@@ -456,6 +461,17 @@ be followed by a comma and another object definition.</para>
|
|
|
The default value of five seconds should be more than adequate for local connections.
|
|
|
If a timeout is given though, it should be an integer greater than zero.
|
|
|
</para>
|
|
|
+
|
|
|
+ <para>
|
|
|
+ Note that host parameter is used by MySQL and PostgreSQL
|
|
|
+ backends. Cassandra has a concept of contact points that could be
|
|
|
+ used to contact the cluster, instead of a single IP or
|
|
|
+ hostname. It takes a list of comma separated IP addresses. This may be specified as:
|
|
|
+<screen>
|
|
|
+"Dhcp4": { "lease-database": { <userinput>"contact-points" : "192.0.2.1,192.0.2.2"</userinput>, ... }, ... }
|
|
|
+</screen>
|
|
|
+ </para>
|
|
|
+
|
|
|
<para>Finally, the credentials of the account under which the server will
|
|
|
access the database should be set:
|
|
|
<screen>
|
|
@@ -515,6 +531,12 @@ If a timeout is given though, it should be an integer greater than zero.
|
|
|
<screen>
|
|
|
"Dhcp4": { "hosts-database": { <userinput>"host" : ""</userinput>, ... }, ... }
|
|
|
</screen>
|
|
|
+ Should the database use a port different than standard, it may be
|
|
|
+ specified as well:
|
|
|
+<screen>
|
|
|
+"Dhcp4": { "hosts-database": { <userinput>"port" : 12345</userinput>, ... }, ... }
|
|
|
+</screen>
|
|
|
+
|
|
|
</para>
|
|
|
<para>Finally, the credentials of the account under which the server will
|
|
|
access the database should be set:
|