Upgrade from 3.0.4 to 3.1.0
Glenn.Satchell at uniq.com.au
Mon Apr 21 15:13:59 UTC 2008
>X-Virus-Scanned: amavisd-new at uzh.ch
>From: Tina Siegenthaler <tina at zool.uzh.ch>
>To: dhcp-users at isc.org
>Subject: Upgrade from 3.0.4 to 3.1.0
>Date: Mon, 21 Apr 2008 15:11:47 +0200
>X-ecartis-version: Ecartis v1.0.0
>X-original-sender: tina at zool.uzh.ch
>List-software: Ecartis version 1.0.0
>This question has probably been asked before, but... what is the best
>way to upgrade a failover pair? Is it OK if I just
>1. Stop peer one, upgrade to 3.1.0
>2. Stop peer two
>3. Start upgraded peer one
>4. Upgrade peer two to 3.1.0 and start it?
>Or is it more complicated? Any special precautions I should take? I
>guess I should back up the lease file, but apart from that?
That's pretty much the process I use every time when upgrading failover
pairs. The only downtime is the startup time for peer one.
You can run the new dhcpd in test mode before you install it to be sure
that it likes your dhcpd.conf and dhcpd.leases.
dhcpd -t -cf /etc/dhcpd.conf -lf /var/dhcp/dhcpd.leases
dhcpd -T -cf /etc/dhcpd.conf -lf /var/dhcp/dhcpd.leases
(or whatever the path to the corresponding files are.)
More information about the dhcp-users