[Kea-users] Fwd: KEA 1.1.0 and cassandra cluster

Lex Ivanov lex at ezelink.com
Thu Jan 12 05:22:01 UTC 2017


Hi,

I'm trying to run KEA with cassandra cluster, the settings are:

  "lease-database": { "type": "cql", "host": "192.168.144.164", "name":
"keadhcp1" },

But KEA seems to try to connect to 127.0.0.1 instead of one of the nodes.

The error is:

1484117590.591 [ERROR] (src/control_connection.cpp:263:virtual void
cass::ControlConnection::on_close(cass::Connection*)): Unable to
establish a control connection to host 127.0.0.1 because of the
following error: Connect error 'connection refused'
2017-01-11 10:53:10.592 ERROR [kea-dhcp4.dhcp4/16700] DHCP4_INIT_FAIL
failed to initialize Kea server: configuration error using file
'/usr/local/etc/kea/kea.conf': Unable to open database: could not
connect to DB reason: No hosts available for the control connection
error code: 16777226

Am I doing smth wrong or KEA is not supposed to connect to cassandra
other than on localhost?


And one more question. I need KEA to work on 2 interfaces. How can I
assign 2 different routers to these interfaces?

Now the only option i found is to send multiple routers like this:

{
           "name": "routers",
           "code": 3,
           "space": "dhcp4",
           "csv-format": true,
           "data": "10.4.0.1,10.5.0.1"

}


-- 
Best regards,
Alex Ivanov

EzeLink Telecom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20170112/1f7e5e31/attachment.htm>


More information about the Kea-users mailing list