From: Tomek Mrugalski Date: Wed, 22 Jun 2016 13:41:51 +0000 (+0200) Subject: [github21] Documentation updated, install notes added. X-Git-Tag: trac4283_base~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c0311ca2cb9066fb0885f6565d949eb58db0380;p=thirdparty%2Fkea.git [github21] Documentation updated, install notes added. --- diff --git a/doc/guide/admin.xml b/doc/guide/admin.xml index 4557e09daa..8fa45140eb 100644 --- a/doc/guide/admin.xml +++ b/doc/guide/admin.xml @@ -494,7 +494,7 @@ $ kea-admin lease-init pgsql -u database-user
- CQL + CQL (Cassandra) The CQL database must be properly set up if you want Kea to store diff --git a/doc/guide/install.xml b/doc/guide/install.xml index b1f4772e80..41793080c8 100644 --- a/doc/guide/install.xml +++ b/doc/guide/install.xml @@ -501,6 +501,46 @@ Debian and Ubuntu: PostgreSQL database configuration.
+ +
+ Building with CQL (Cassandra) support + + Install Cassandra according to the instructions for your system. The + Cassandra project webpage contains useful pointers: . + + + Download and compile cpp-driver from DataStax. For details regarding + dependencies for building cpp-driver, see the project homepage + . As of June + 2016, the following commands were used: + +$ git clone https://github.com/datastax/cpp-driver +$ cd cpp-driver +$ mkdir build +$ cmake .. +$ make + + + + As of June 2016, cpp-driver does not include cql_config script + yet. There is a work in progress to contribute such a script to + cpp-driver project. Until such contribution is accepted, there are + intermediate steps that need to be conducted. The cql_config + script and cql_config_defines.sh are temporarily stored in + tools/ directory of the Kea sources. Before using it, please + edit cql_config_defines.sh: change CPP_DRIVER_PATH to the directory, + where cpp-driver sources are located. If cpp-driver sources already + provide cql_config script please use that rather than the version + from Kea sources. + + + Build and install Kea as described in , with + the following modification. To enable the Cassandra (CQL) database code, at the + "configure" step (see ), do: + ./configure [other-options] --with-cql=path-to-cql_config + +