<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Well if the server loses power... we've got bigger issues. All of our
wireless controllers are in the same rack, everything is dual PS coming
off of separate PDUs fed from separate UPSes. With generator power.
That's a contingency that we don't really plan for, right or not.<br>
<br>
I didn't mention, we also have a script that copies the leases file
every 2 minutes to HDD, and SCPs it to our backup DHCP server (manual
failover). I have yet to see 4.2.0 die unexpectedly, even with ~50+
ACKs/second for months at a time. Then again, we also have a fair
amount of fixed-address hosts, so we restart a few times a day to every
few days. Honestly... if we lose 2 minutes of leases, nobody is going
to complain. Wireless (at least when we're talking about a campus with
over 1000 APs, and no policy against unauthorized APs/routers) is still
"best-effort" enough that a minor hiccup for a few users isn't a big
deal.<br>
<br>
So if, for some strange reason, the box itself loses both PSes at once
or otherwise totally crashes (we're running new HP DL360G6 hardware...
quite reliable IMHO), we lose <= 2 minutes of leases. But have to
manually failover to the backup. If we take a serious power hit that
brings down both circuits, *everything* goes dark, and DHCP no longer
matters. <br>
<br>
-Jason<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:sthaug@nethelp.no">sthaug@nethelp.no</a> wrote:
<blockquote cite="mid:20110909.181611.74706613.sthaug@nethelp.no"
 type="cite">
  <blockquote type="cite">
    <pre wrap="">We moved everything (config file, log file, leases file) to a 500MB 
ramdisk. Our init script is modified so that it persists ramdisk 
contents to HDD on start/stop/restart, and we also modified our 
system-wide init scripts to do the same thing.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
What do you do if the dhcpd process dies? Or the server loses power?

I've always been uncomfortable with the idea of basing everything on
ramdisk. The fsync in dhcpd is there for a reason...

Steinar Haug, Nethelp consulting, <a class="moz-txt-link-abbreviated" href="mailto:sthaug@nethelp.no">sthaug@nethelp.no</a>
  </pre>
</blockquote>
<br>
</body>
</html>