"peer holds all free leases" message
Kirsten Petersen
kirsten.petersen at oregonstate.edu
Wed Oct 4 17:19:56 UTC 2006
That is actually what we are doing. Registrations happen on another box,
which pushes the new dhcp config to the production servers, and touches a
"kick" file. There is a cron job running on the dhcp servers every 5
minutes that looks for this file, and if it is there, tests the new
config, puts it in place and restarts the daemon.
When things are busy and a lot of new people are registering their
machines (for our wireless network, mainly), changes could be happening at
every 5 minute interval.
Restarting the daemons at different times is an interesting idea.
Restarting them less often seems worth trying as well.
________________
Kirsten Petersen
Network Services * Oregon State University
http://oregonstate.edu/net * irc.oregonstate.edu #osu-is
"If you're not learning, you're not living."
On Thu, 5 Oct 2006, Glenn Satchell wrote:
>>
>> On Mon, Oct 02, 2006 at 10:37:58PM -0700, Kirsten Petersen wrote:
>>> We push frequent changes to the dhcp servers, and reboot them whenever
>>> something changes, which can be as often as every 5 minutes. Is this a
>>> Bad Idea? Could this be what causes the servers to get out of sync? If
>>> so, I guess we'll have to rethink our design...
>
> One suggestion I have seen is a cron job that tests if dhcpd.conf has
> been updated, checks the syntax of the file and restarts dhcpd. Set
> this up to run, say, every 30 minutes (or 15 or whatever you require).
> That way you can reduce the number of restarts and aggregate all the
> changes very simply. If you have multiple dhcp servers then set their
> crons to restart dhcpd at different times.
>
> 5 minutes might occasionally be a bit too frequent for very large
> numbers of leases as the systems may not have finished synchronising
> before you stop and start.
>
> regards,
> -glenn
> --
> Glenn Satchell mailto:glenn.satchell at uniq.com.au | Some days we are
> Uniq Advances Pty Ltd http://www.uniq.com.au | the flies; some
> PO Box 70 Paddington NSW Australia 2021 | days we are the
> tel:0409-458-580 tel:02-9380-6360 fax:02-9380-6416 | windscreens...
>
>
>
>
More information about the dhcp-users
mailing list