DHCP Failover -- Proper method for adding pools to an existing setup.
Cory Meyer
cory.meyer at gmail.com
Wed Aug 29 17:08:28 UTC 2007
Does anyone have any methods or examples of the proper way to add additional
pools to a currently running failover setup?
In my test setup I have 2 Debian Sarge servers both running 3.0.5.
The current method that I'm testing is:
1. Update dhcp configuration with the new pool info.
2. Test ( /usr/sbin/dhcpd -t -cf /etc/dhcp/dhcpd.conf )
* Continue if configuration passed.
3. Via OMAPI put the secondary dhcp server into shutdown mode
(local-state=10)
4. Kill dhcpd process since the shutdown mode didn't actually kill the
process.
5. Restart dhcpd on the primary server, primary moves from startup to
partner-down
6. copy pools configuration from primary to secondary.
7. Clean out leases on secondary (cat /dev/null > /var/state/dhcpd.leases)
* Above is required to remove the shutdown state.
8. Start dhcpd process on secondary.
9. Secondary moves from startup to recover.
Thoughts/comments?
More information about the dhcp-users
mailing list