<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Hi,
<br></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">I'm trying to run KEA with cassandra cluster, the settings are:</pre> <font color="#000000" face="monospace"><span style="white-space:pre-wrap">"lease-database": {
"type": "cql",
"host": "192.168.144.164",
"name": "keadhcp1"
},</span></font> <pre style="white-space:pre-wrap;color:rgb(0,0,0)">But KEA seems to try to connect to 127.0.0.1 instead of one of the nodes.</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">The error is:</pre><pre><font color="#000000"><span style="white-space:pre-wrap">1484117590.591 [ERROR] (src/control_connection.cpp:<wbr>263:virtual void cass::ControlConnection::on_<wbr>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<br></span></font></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Am I doing smth wrong or KEA is not supposed to connect to cassandra other than on localhost?</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><br></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">And one more question. I need KEA to work on 2 interfaces. How can I assign 2 different routers to these interfaces?</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Now the only option i found is to send multiple routers like this:</pre><pre><font color="#000000"><span style="white-space:pre-wrap">{
"name": "routers",
"code": 3,
"space": "dhcp4",
"csv-format": true,
"data": "10.4.0.1,</span></font>10.5.0.1"</pre><pre><font color="#000000"><span style="white-space:pre-wrap">}</span></font></pre></div></div></div><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Best regards,</div><div>Alex Ivanov</div><div><br></div><div>EzeLink Telecom</div></div></div></div></div>
</div>