Modifying DHCP server to use database backend

andy goldstein amgoldst at hotmail.com
Thu Jul 28 21:30:29 UTC 2005


Hi, I have a few questions regarding replacing the in-memory database with 
an RDBMS backend, such as Oracle.  I've looked at the archives for the 
dhcp-server mailing list and saw a couple of questions about interfacing 
with MySQL and Oracle, but I didn't see an answer to the questions I have.

I'm interested in using the DHCP server to manage a network of possibly over 
60,000 subnets, but have seen problems where the server hangs at startup 
with a configuration containing approximatley 30,000 subnets (along with a 
CPU utilization at 100%) and does not function.  If I wanted to replace the 
in-memory database with a relational database, such as Oracle, I have a few 
questions:

1) is this feasible?

2) is this a good idea?  (Should the in-memory database be able to handle 
this large a number of subnets?)

4) if it is feasible, would it be sufficient to modify server/mdb.c so any 
access to the in-memory data structures is replaced with access to the 
database?  Or are there other files that would need changes as well?

Thanks in advance for any help/insight you can provide.

Andy




More information about the dhcp-hackers mailing list