Migrating dhcpd from a "single" server to "failover peer" setup
dhcp1 at thehobsons.co.uk
Tue Mar 6 13:07:08 UTC 2018
Danny Kulchinsky <danny.kul at gmail.com> wrote:
> It is not very clear to me what would be the imapct of adding the failover peer configuration into an exisiting systems with leases that we obvisouly can't lose, I'm hoping that the system will perform the necessary changes but I don't feel confident about this.
Yes, you just need to add the failover setup and the servers will automagically sync the existing leases to the new server. AIUI, the existing active leases will be "owned" by the original server, and any free addresses will be shared between the two servers.
> Also, our ranges are defined under subnet and it is my understanding that these should be defined under pools where the "failover peer" is to be configured, is that correct? so, I guess same question here - can we move the ranges to "pools" without affecting any of the lease data?
More information about the dhcp-users