Migration of leases from one failover pair to another without outage

Nick Urbanik nicku at nicku.org
Wed Feb 27 06:24:58 UTC 2008


Dear Folks,
On 27/02/08 17:03 +1100, Nick Urbanik wrote:
[lots of mistakes in failover configuration]
What I meant was:
Stage 1:
In /etc/dhcpd.conf on primary-a.test:

failover peer "testa" {
         primary;
         address primary-a.test;
         port 520;
         peer address secondary-a.test;
         peer port 520;
         max-response-delay 60;
         max-unacked-updates 10;
         mclt 3600;
         split 128;
         load balance max seconds 3;
}

In /etc/dhcpd.conf on secondary-a.test:

failover peer "testa" {
         secondary;
         address primary-a.test;
         port 520;
         peer address secondary-a.test;
         peer port 520;
         max-response-delay 60;
         max-unacked-updates 10;
         load balance max seconds 3;
}

Stage 2:
failover peer "testa" {
         primary;
         address primary-a.test;
         port 520;
         peer address secondary-b.test; # CHANGED
         peer port 520;
         max-response-delay 60;
         max-unacked-updates 10;
         mclt 3600;
         split 128;
         load balance max seconds 3;
}

In /etc/dhcpd.conf on secondary-b.test:

failover peer "testa" {
         secondary;
         address primary-a.test;
         port 520;
         peer address secondary-b.test;
         peer port 520;
         max-response-delay 60;
         max-unacked-updates 10;
         load balance max seconds 3;
}
-- 
Nick Urbanik   RHCE         http://nicku.org        nicku at nicku.org
GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24 ID: BB9D2C24
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20080227/7e03794d/attachment.bin>


More information about the dhcp-users mailing list