Peer rebalancing problems

Chris Buxton clists at buxtonfamily.us
Wed Sep 4 18:13:04 UTC 2019



> On Sep 4, 2019, at 10:41 AM, Simon Hobson <dhcp1 at thehobsons.co.uk> wrote:
> 
> Chris Buxton <clists at buxtonfamily.us> wrote:
> 
>>> Just to confirm ... remove the failover declaration from one server,
>>> and the entire subnet from the other server?
> 
>> You may also need to clean up the dhcpd.leases file, to remove failover-related states and such.
> 
> Won't that be automatic ?
> Removing the subnet entirely from one server will cause it to delete all the lease information it holds for that subnet. Won't removing the failover declaration from the other server trigger it to remove the failover state from it's leases ?
> 
> It's a question, not a statement dressed as a question. I haven't used failover - but I have seen leases cleaned out on removing a subnet (or reducing a pool/range) declaration. So removing failover stuff from leases would be a logical thing to happen if the failover declaration is removed.

Yes, it gets cleaned out on the server that no longer serves the subnet. However, we (BlueCat) have seen that not get cleaned up in the past on the remaining server. Specifically for the procedure under discussion, that leftover cruft causes the rebuild of the failover relationship to fail.

That may have been fixed in a later version, though. I'm not sure if it's still an issue.

Regards,
Chris Buxton


More information about the dhcp-users mailing list