failover peer declaration with no referring pools.

Glenn Satchell Glenn.Satchell at uniq.com.au
Thu Nov 20 13:16:51 UTC 2008


>From: "Defryn, Guy" <G.P.Defryn at massey.ac.nz>
>To: Glenn Satchell <Glenn.Satchell at uniq.com.au>
>Date: Thu, 20 Nov 2008 08:32:09 +1300
>Subject: RE: failover peer declaration with no referring pools.
>
>Thanks Glenn,
>
>Forgive my ignorance, I have a minimal knowledge of dhcpd.
>So if I understand it correctly each peer's leases file is pretty much
>the same then and they constantly get synced?

"Pretty much" being the key here. Each time one server acks a lease it
passes that information to the partner.

The failover partners store information about their own and the
partners leases. The files are not exactly the same so you can't just
copy one from a partner. However, it requests the lease information
from the peer. See the dhcpd.leases man page for more information on
the leases file.

>I need to update some more servers, so it seems that it is safe to just switch 
one off and rebuild it then?

Yes, that should be ok.

>Also, my install from yesterday seem to work fine but I am get some entries in 
my log that may or not may be a concern?
>What is this all about?

Pool balancing is about keeping an equal number of free leases
available on each dhcp server for a given pool.

man dhcpd.conf and search down for 'Failover pool balance statements'.
If you can understand the explanation in one reading you're doing better
than me :)

regards,
-glenn

>Cheers
>
>balanced pool 8b74070 10.99.173.0/25  total 11  free 7  backup 4  lts -1  
max-misbal 2
>Nov 19 22:11:46 tur-net2 dhcpd: balancing pool 8b72a60 10.99.172.128/25  total 
11  free 7  backup 4  lts -1  max-own (+/-)1
>Nov 19 22:11:46 tur-net2 dhcpd: balanced pool 8b72a60 10.99.172.128/25  total 
11  free 7  backup 4  lts -1  max-misbal 2
>Nov 19 22:11:46 tur-net2 dhcpd: balancing pool 8b71c48 10.99.172.0/25  total 11 
 free 7  backup 4  lts -1  max-own (+/-)1
>Nov 19 22:11:46 tur-net2 dhcpd: balanced pool 8b71c48 10.99.172.0/25  total 11  
free 7  backup 4  lts -1  max-misbal 2
>Nov 19 22:11:46 tur-net2 dhcpd: balancing pool 8b70e30 10.99.170.128/25  total 
11  free 7  backup 4  lts -1  max-own (+/-)1
>Nov 19 22:11:46 tur-net2 dhcpd: balanced pool 8b70e30 10.99.170.128/25  total 
11  free 7  backup 4  lts -1  max-misbal 2
>Nov 19 22:11:46 tur-net2 dhcpd: balancing pool 8b70018 10.99.170.0/25  total 11 
 free 7  backup 4  lts -1  max-own (+/-)1
>Nov 19 22:11:46 tur-net2 dhcpd: balanced pool 8b70018 10.99.170.0/25  total 11  
free 7  backup 4  lts -1  max-misbal 2
>Nov 19 22:11:46 tur-net2 dhcpd: balancing pool 8b66a60 10.99.169/24  total 201  
free 121  backup 80  lts -20  max-own (+/-)20
>Nov 19 22:11:46 tur-net2 dhcpd: balanced pool 8b66a60 10.99.169/24  total 201  
free 121  backup 80  lts -20  max-misbal 30
>Nov 19 22:11:46 tur-net2 dhcpd: balancing pool 8b65c48 10.99.168/24  total 11  
free 7  backup 4  lts -1  max-own (+/-)1
>Nov 19 22:11:46 tur-net2 dhcpd: balanced pool 8b65c48 10.99.168/24  total 11  
free 7  backup 4  lts -1  max-misbal 2
>Nov 19 22:11:46 tur-net2 dhcpd: balancing pool 8b64638 10.99.167.128/25  total 
11  free 7  backup 4  lts -1  max-own (+/-)1
>Nov 19 22:11:46 tur-net2 dhcpd: balanced pool 8b64638 10.99.167.128/25  total 
11  free 7  backup 4  lts -1  max-misbal 2
>Nov 19 22:11:46 tur-net2 dhcpd: balancing pool 8b63210 10.99.163/24  total 11  
free 7  backup 4  lts -1  max-own (+/-)1
>Nov 19 22:11:46 tur-net2 dhcpd: balanced pool 8b63210 10.99.163/24  total 11  
free 7  backup 4  lts -1  max-misbal 2
>Nov 19 22:11:46 tur-net2 dhcpd: balancing pool 8b623f8 10.99.162/24  total 11  
free 7  backup 4  lts -1  max-own (+/-)1
>Nov 19 22:11:46 tur-net2 dhcpd: balanced pool 8b623f8 10.99.162/24  total 11  
free 7  backup 4  lts -1  max-misbal 2
>Nov 19 22:11:46 tur-net2 dhcpd: balancing pool 8b615e0 10.99.161/24  total 11  
free 7  backup 4  lts -1  max-own (+/-)1
>Nov 19 22:11:46 tur-net2 dhcpd: balanced pool 8b615e0 10.99.161/24  total 11  
free 7  backup 4  lts -1  max-misbal 2
>Nov 19 22:11:46 tur-net2 dhcpd: balancing pool 8b607c8 10.99.160/24  total 11  
free 7  backup 4  lts -1  max-own (+/-)1
>Nov 19 22:11:46 tur-net2 dhcpd: balanced pool 8b607c8 10.99.160/24  total 11  
free 7  backup 4  lts -1  max-misbal 2
>Nov 19 22:11:46 tur-net2 dhcpd: balancing pool 8b5f9b0 10.99.158.0/25  total 11 
 free 7  backup 4  lts -1  max-own (+/-)1
>Nov 19 22:11:46 tur-net2 dhcpd: balanced pool 8b5f9b0 10.99.158.0/25  total 11  
free 7  backup 4  lts -1  max-misbal 2
>Nov 19 22:11:46 tur-net2 dhcpd: balancing pool 8b5eb98 10.99.156/24  total 11  
free 7  backup 4  lts -1  max-own (+/-)1
>Nov 19 22:11:46 tur-net2 dhcpd: balanced pool 8b5eb98 10.99.156/24  total 11  
free 7  backup 4  lts -1  max-misbal 2
>Nov 19 22:11:46 tur-net2 dhcpd: balancing pool 8b5dd80 10.99.155/24  total 11  
free 7  backup 4  lts -1  max-own (+/-)1
>Nov 19 22:11:46 tur-net2 dhcpd: balanced pool 8b5dd80 10.99.155/24  total 11  
free 7  backup 4  lts -1  max-misbal 2
>Nov 19 22:11:46 tur-net2 dhcpd: balancing pool 8b5cf68 10.99.154.128/25  total 
11  free 7  backup 4  lts -1  max-own (+/-)1
>Nov 19 22:11:46 tur-net2 dhcpd: balanced pool 8b5cf68 10.99.154.128/25  total 
11  free 7  backup 4  lts -1  max-misbal 2
>Nov 19 22:11:46 tur-net2 dhcpd: balancing pool 8b5c150 10.99.154.0/25  total 11 
 free 7  backup 4  lts -1  max-own (+/-)1
>Nov 19 22:11:46 tur-net2 dhcpd: balanced pool 8b5c150 10.99.154.0/25  total 11  
free 7  backup 4  lts -1  max-misbal 2
>Nov 19 22:11:46 tur-net2 dhcpd: balancing pool 8b5b338 10.99.153/24  total 11  
free 7  backup 4  lts -1  max-own (+/-)1
>Nov 19 22:11:46 tur-net2 dhcpd: balanced pool 8b5b338 10.99.153/24  total 11  
free 7  backup 4  lts -1  max-misbal 2
>Nov 19 22:11:46 tur-net2 dhcpd: balancing pool 8b59d28 10.99.152/24  total 11  
free 7  backup 4  lts -1  max-own (+/-)1
>Nov 19 22:11:46 tur-net2 dhcpd: balanced pool 8b59d28 10.99.152/24  total 11  
free 7  backup 4  lts -1  max-misbal 2
>
>





More information about the dhcp-users mailing list