thoughts on synchronizing config between failover partners

Aaron Bennett abennett at
Wed Oct 18 15:05:19 UTC 2006


I'm curious what other people do about syncing your config files between 
failover peers. 

When I've got this all implemented, I'm planning to hand it to a network 
engineer and I'd like to give him a more elegant way to keep the config 
files in sync then 'make the same edits to the file on each host' 
method.  I was thinking of a solution with an nfs share and a cron job 
running on the other host, like..

host1: shares /var/dhcpd_config to host2.

edit /etc/dhcpd.master (included by /etc/dhcpd.conf) on host1.  Copy it 
to /var/dhcpd_config and restart dhcpd.

cron job on host2 sees change to /var/dhcpd_config/dhcpd.master, copies 
it to /etc, restarts dhcpd.

Fairly simple.  Of course I'd do stuff like preserve the old version, 
etc, and use iptables to make sure only host2 can access the share.  How 
do you handle this?



Aaron Bennett
Sr. Unix Systems Administrator
Clark University ITS
abennett at     |     508.781.7315

More information about the dhcp-users mailing list