tags:

views:

148

answers:

2

Hi people.

Here my first question :P.

I am developing some little projectes. I want to change dhcp server rules of IP/MAC without rebooting the server (In a dinamic infrastructure).

I think that the best solution is to use a dhcp server with a database backend, in order to change the SQL information (With an easy JDBC client).

But I want to know some suggestion about open Source Projects, or howto's that explain how to implement it.

Thank you very much

A: 

SpliFF

On Unix.

No, restart the DHCP server, no the machine :). Sorry.

Because when you change the dhcp.conf you need to restart the dhcp (dhcpd)

xfernandez
Add this to an edit on the question, not as an answer.
sharth
+1  A: 

Usually on Unix, long running daemons listen for the HUP signal. On receiving that signal, they re-read their configuration files. This allows daemons to have no down time, but get updated configuration options.

sharth
But If you think in a infraestructure with HUNDREAD of servers, I think (Maybe is a mistake) that it's better to have a database instead of a dhcp config file. Rememeber, only pairs IP/MAC not IP rangesThank you
xfernandez
When you say hundreds of servers, do you mean that to be hundreds of DHCP clients or hundreds of DHCP servers? Also, are you planning on writing a DHCP server from scratch or add a DB backend to an existing program?
tegbains