Failover Questions

Tina Siegenthaler tina at zool.unizh.ch
Mon Jan 22 15:52:41 UTC 2007


Am 20.01.2007 um 07:04 schrieb Glenn Satchell:

>
>> Date: Fri, 19 Jan 2007 16:54:34 -0500
>> From: Jonathan Brockmeier <brockj at hope.edu>
>> To: dhcp-users at isc.org
>> Subject: Failover Questions
>>
>> We are getting ready to move from 1 DHCP server to 2 that load  
>> balance.
>> I have been having a headache for the last couple of days on some  
>> question:
>>
>> 1)  In the failover peer section defining the connection between
>> primary+seconday and secondary+primary should that be the same  
>> "name" on
>> both the primary and secondary servers?
>
> Here's a working example, primary first and then secondary:
>
> failover peer "Uniq14subnet" {
>   primary;
>   address drill.uniq.com.au;
>   port 519;
>   peer address lager.uniq.com.au;
>   peer port 519;
>   max-response-delay 60;
>   max-unacked-updates 10;
>   mclt 3600;
>   split 128;
>   load balance max seconds 3;
> }
>
> failover peer "Uniq14subnet" {
>   secondary;
>   address lager.uniq.com.au;
>   port 519;
>   peer address drill.uniq.com.au;
>   peer port 519;
>   max-response-delay 60;
>   max-unacked-updates 10;
>   load balance max seconds 3;
> }
>

This may be a stupid question, but do the two servers need to have  
the same peer name? Mine have two different names, and this works,  
though I really do not understand which name is to go with which  
server...
The host name of my primary ist DHCP-0465, and I put DHCP-0465 in its  
peer declaration; the secondary's host name is DHCP-0352, and I put  
DHCP-0352 in its peer declaration. Like this:

failover peer "DHCP-0465" {
         primary;
         address 130.60.23.4;
         port 520;
         peer address 130.60.23.114;
         peer port 520;
         max-response-delay 60;
         max-unacked-updates 10;
         mclt 3600;
         split 128;
         load balance max seconds 5;
}

and:

failover peer "DHCP-0352" {
         secondary;
         address 130.60.23.114;
         port 520;
         peer address 130.60.23.4;
         peer port 520;
         max-response-delay 60;
         max-unacked-updates 10;
         load balance max seconds 5;
}



Is that wrong???



Tina


More information about the dhcp-users mailing list