<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    I agree.  Also, you should remove the failover preamble from
    /var/lib/dhcpd/dhcpd.leases<br>
    before restarting the master:<br>
    <font color="#993300"><tt>failover peer "dhcp-failover" state {</tt><tt><br>
      </tt><tt>  my state normal at 1 2018/03/12 11:30:52;</tt><tt><br>
      </tt><tt>  partner state normal at 1 2018/03/12 11:30:52;</tt><tt><br>
      </tt><tt>}</tt><tt><br>
      </tt></font><br>
    Bill<br>
    <br>
    <div class="moz-cite-prefix">On 3/14/2018 10:21 AM, Steven Carr
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CALMep06iBurAVrOPG_1eF96QHHCxsGtHqP6vG9w=OMNeuxZ-HA@mail.gmail.com">
      <pre wrap="">On 13 March 2018 at 13:25, Bob Harold <a class="moz-txt-link-rfc2396E" href="mailto:rharolde@umich.edu"><rharolde@umich.edu></a> wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">I would suggest these steps:

1. On the failover server, stop the DHCP process.
2. On the primary server, put in "partner down" mode.  (I don't have the
exact command in front of me, I think you use omshell.)
3. Wait for as long as your longest lease time.  You can watch the clients
do DHCPREQUESTs to the failover server from half the lease time to 7/8, and
then DHCPDISCOVER and get the lease renewed from the primary server.
4. Reconfigure the primary server without the failover options.
</pre>
      </blockquote>
      <pre wrap="">
As long as they are both up they should be in sync with each other,
and both systems have a full copy of the leases, so no need to use
partner down - it could actually cause you more pain to put it into
partner down if you are close to running out of leases in any pools -
on entering partner down you have to wait MCLT before you take over
the other addresses.

Just remove any mention of failover from the primary configuration,
shut down the secondary, restart the primary, remove any IP helpers
pointing to the secondary.

And of course, goes without saying, do this in a maintenance window.

Steve
_______________________________________________
dhcp-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>