<div dir="ltr"><div><br></div><div class="gmail_extra"><div class="gmail_quote">On Mon, Mar 12, 2018 at 5:23 PM, Justin Sanderson <span dir="ltr"><<a href="mailto:justin.sanderson104@gmail.com" target="_blank">justin.sanderson104@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div>Hi everyone. I'm new to the list and am in need of some advice.<br><br></div>I have 2 servers running RHEL 5.x using dhcp-3.0.5-23 that are running in a peer relationship.<br><br></div>I'm looking for the best/easiest method to break this peer relationship and reduce the dhcp server functionality back to just one server w/o interrupting clients. <br><br></div><div>Again, any advice or past experiences would be helpful.<br></div><div><br></div>Here's a snippet of the conf files where the pool is being balanced/split.<br><br>==============================<wbr>==================<br><div><div>PRIMARY SERVER<br>subnet 172.20.10.0 netmask 255.255.255.0 {<br>        pool {<br>                range 172.20.10.1 172.20.10.45;<br>                range 172.20.10.47 172.20.10.95;<br>                range 172.20.10.97 172.20.10.149;<br>                ping-check true;<br>                option subnet-mask 255.255.255.0;<br>                option broadcast-address 172.20.10.255;<br>                option routers 172.20.10.254;<br>                deny dynamic bootp clients;<br>                failover peer "xxxxx";<br>        }<br>}<br>==============================<wbr>=========================<br>PRIMARY SERVER<br>failover peer "xxxxx" {<br>        primary;<br>        address 172.20.10.200;<br>        port 520;<br>        peer address 172.20.10.201;<br>        peer port 521;<br>        max-response-delay 120;<br>        max-unacked-updates 10;<br>        mclt 1800;<br>        split 128;<br>        load balance max seconds 3;<br>}      <br><br>==============================<wbr>===========================<br><br></div><div>SECONDARY SERVER (the server i want to remove from the relationship)<br><br>subnet 172.20.10.0 netmask 255.255.255.0 {<br>        pool {<br>                range 172.20.10.1 172.20.10.45;<br>                range 172.20.10.47 172.20.10.95;<br>                range 172.20.10.97 172.20.10.149;<br>                ping-check true;<br>                option subnet-mask 255.255.255.0;<br>                option broadcast-address 172.20.10.255;<br>                option routers 172.20.10.254;<br>                deny dynamic bootp clients;<br>                failover peer "xxxxx";<br>        }<br>}<br>==============================<wbr>==============================<wbr>==<br></div><div>SECONDARY SERVER<br><br>failover peer "adtran" {<br>        secondary;<br>        address 172.20.10.201;<br>        port 521;<br>        peer address 172.20.10.200;<br>        peer port 520;<br>        max-response-delay 120;<br>        max-unacked-updates 10;<br>        load balance max seconds 3;<br>}      <br><br></div><div><br><br></div><div>ThankS in advance.<br><br></div><div>Regards,<br></div><div>Justin<br></div><div><br></div></div></div></blockquote><div><br></div>I would suggest these steps:<div><br></div><div>1. On the failover server, stop the DHCP process.</div><div>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.)</div><div>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.</div><div>4. Reconfigure the primary server without the failover options.</div><div><br></div><div>-- </div><div>Bob Harold</div><div> </div></div></div></div>