[Kea-users] Using Host Reservations in Kea

Marcin Siodelski marcin at isc.org
Wed Jun 22 15:16:53 UTC 2016


Fred,

In this example, there is one database and the two servers are connected
to this single database? If this is the case, I don't see why the
information would be inconsistent.

If there are two servers, each talking to a different database, with
some sort of replication between the database instances, that falls down
into an issue of latency of such replication.

Kea is already supporting out-of-pool reservations which means that
address being reserved will not be hijacked as a result of dynamic
allocation (by another client) because an instance of the Kea server
"thinks" that the address is available for allocation due to latency of
database replication/update. But, from your description I don't know if
that is a concern.

Marcin

On 22.06.2016 17:04, Templin, Fred L wrote:
> Hi Marcin,
>
> This is a very important feature that we will eventually want to begin
> using. I
> think the answer to this is "yes", but can multiple kea servers access
> and use
> the host reservation information in the databases simultaneously?
>
> So, if I have server A and server B which may at one time or another query
> the database for host reservation information for client C, will A and B
> be able to receive consistent host reservation information for C?
>
> Thanks - Fred
> fred.l.templin at boeing.com
>
> > -----Original Message-----
> > From: kea-users-bounces at lists.isc.org
> [mailto:kea-users-bounces at lists.isc.org] On Behalf Of Marcin Siodelski
> > Sent: Wednesday, June 22, 2016 7:57 AM
> > To: Kea Users List <kea-users at lists.isc.org>
> > Subject: [Kea-users] Using Host Reservations in Kea
> >
> > Kea Users,
> >
> > Our Kea development team is currently working on preparing Kea 1.1.0. A
> > feature which seems to be mostly interesting to many Kea users is Host
> > Reservations. This feature is present in Kea 1.0.0 but has its
> > limitations. Kea 1.1.0 will cover most of the missing functionality,
> > including support for storing reservations in MySQL and Postgres. The
> > support for using reservations stored in MySQL is almost complete and
> > we're currently working to add support for Postgres. We are also working
> > to update the documentation (Kea User's Guide and example configuration
> > files) to cover everything we have added since Kea 1.0.0. For now, the
> > existing documentation may be inaccurate in places.
> >
> > Since we receive many questions from Kea Users about using Host
> > Reservations feature with SQL databases, I decided to put together a
> > wiki page where I am showing examples of MySQL statements which can be
> > used to manage reservations in the database. Note, that Kea itself
> > doesn't currently support any commands (via command channel) to manage
> > reservations in the database and You need to use external tools (MySQL
> > clients) to manage the database content. The aforementioned wiki page is
> > available here:
> >
> > http://kea.isc.org/wiki/HostReservationsHowTo
> >
> > I am hoping that it will be useful for you while you perform pre-release
> > tests of host reservations.
> >
> > Thanks,
> >
> > Marcin Siodelski
> > ISC
> > _______________________________________________
> > Kea-users mailing list
> > Kea-users at lists.isc.org
> > https://lists.isc.org/mailman/listinfo/kea-users
>
>




More information about the Kea-users mailing list