DHCP Failover and Performance
Simon Hobson
dhcp1 at thehobsons.co.uk
Wed Feb 22 21:25:02 UTC 2012
perl-list wrote:
>Perhaps not ... perhaps if you kept dhcpd.leases~ on the HARD disk
>.. dhcpd.leases on the RAM disk... some clever symlinking could
>accomplish that.
No it wouldn't - it would be undone within an hour of setting it up.
The server writes out a new leases file once per hour (compiled in
default). It does this by writing a new version of the file, (if
successful) it then moves the current leases file to a different
name, and moves the new file to be the current leases file.
Any symlinks would be removed, at most within 2 hours. EG, if you
moved the leases file and symlinked it - then at the first refresh,
the symlink would be moved to be the backup and the live file would
not be symlinked elsewhere; and on the second refresh, the symlink
would be removed altogether.
--
Simon Hobson
Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.
More information about the dhcp-users
mailing list