failover peer - why pools aren't balanced
Michael Kwok
kwok at allied-telesis.co.jp
Thu Apr 5 02:32:42 UTC 2007
Hi,
I have 2 servers running in failover mode.
It has just been configured with no clients connected yet.
1. I am wondering why the pools don't balance..
2. In my environment there are around 72 x /23 pools (approx. 36K
addresses), should that be ok ?
both servers are dual core machines with 1GB RAM each..
Thanks
Michael
-------------------------------------------------------
Here are the important bits from the secondary server:-
allow bootp;
authoritative;
ddns-updates off;
ddns-update-style ad-hoc;
option domain-name-servers 172.16.100.1,172.16.100.2;
failover peer "dhcp-failover" {
secondary;
address 10.10.80.10;
port 520;
peer address 10.10.80.5;
peer port 520;
max-response-delay 30;
max-unacked-updates 10;
load balance max seconds 3;
max-lease-misbalance 15;
max-lease-ownership 10;
min-balance 60;
max-balance 3600;
}
and here are the important bits from the primary server:-
allow bootp;
authoritative;
ddns-updates off;
ddns-update-style ad-hoc;
option domain-name-servers 172.16.100.1,172.16.100.2;
failover peer "dhcp-failover" {
primary;
address 10.10.80.5;
port 520;
peer address 10.10.80.10;
peer port 520;
max-response-delay 30;
max-unacked-updates 10;
load balance max seconds 3;
split 128;
mclt 3600;
max-lease-misbalance 15;
max-lease-ownership 10;
min-balance 60;
max-balance 3600;
}
when the 2 servers are brougt up the first time.. i see messages whcih show
a severe imbalance
e.g.
from primary
Apr 5 10:49:22 radius-server dhcpd: pool 81b20b8 172.22.10/23 total 509
free 305 backup 204 lts 50
Apr 5 10:49:22 radius-server dhcpd: pool 81b20b8 172.22.10/23: lts <=
max-lease-misbalance (76), pool rebalance event skipped.
Apr 5 10:49:22 radius-server dhcpd: pool 819a5e0 172.22.8/23 total 509
free 305 backup 204 lts 50
Apr 5 10:49:22 radius-server dhcpd: pool 819a5e0 172.22.8/23: lts <=
max-lease-misbalance (76), pool rebalance event skipped.
Apr 5 10:49:22 radius-server dhcpd: pool 8182b08 172.22.6/23 total 509
free 305 backup 204 lts 50
Apr 5 10:49:22 radius-server dhcpd: pool 8182b08 172.22.6/23: lts <=
max-lease-misbalance (76), pool rebalance event skipped.
Apr 5 10:49:22 radius-server dhcpd: pool 816b030 172.22.4/23 total 509
free 305 backup 204 lts 50
Apr 5 10:49:22 radius-server dhcpd: pool 816b030 172.22.4/23: lts <=
max-lease-misbalance (76), pool rebalance event skipped.
Apr 5 10:49:22 radius-server dhcpd: pool 8153578 172.22.2/23 total 509
free 305 backup 204 lts 50
Apr 5 10:49:22 radius-server dhcpd: pool 8153578 172.22.2/23: lts <=
max-lease-misbalance (76), pool rebalance event skipped.
Apr 5 10:49:22 radius-server dhcpd: pool 810c298 172.22.0/23 total 509
free 305 backup 204 lts 50
Apr 5 10:49:22 radius-server dhcpd: pool 810c298 172.22.0/23: lts <=
max-lease-misbalance (76), pool rebalance event skipped.
e.g. from secondary:-
Apr 5 10:50:21 linux-dell dhcpd: pool 81e56c0 172.22.20/23 total 509 free
305 backup 204 lts -50
Apr 5 10:50:21 linux-dell dhcpd: pool 81cdbe0 172.22.18/23 total 509 free
305 backup 204 lts -50
Apr 5 10:50:21 linux-dell dhcpd: pool 81b6100 172.22.16/23 total 509 free
305 backup 204 lts -50
Apr 5 10:50:21 linux-dell dhcpd: pool 819e618 172.22.14/23 total 509 free
305 backup 204 lts -50
Apr 5 10:50:21 linux-dell dhcpd: pool 8186b38 172.22.12/23 total 509 free
305 backup 204 lts -50
Apr 5 10:50:21 linux-dell dhcpd: pool 816f048 172.22.10/23 total 509 free
305 backup 204 lts -50
Apr 5 10:50:21 linux-dell dhcpd: pool 8157580 172.22.8/23 total 509 free
305 backup 204 lts -50
Apr 5 10:50:21 linux-dell dhcpd: pool 813faa8 172.22.6/23 total 509 free
305 backup 204 lts -50
Apr 5 10:50:21 linux-dell dhcpd: pool 8127fd0 172.22.4/23 total 509 free
305 backup 204 lts -50
Apr 5 10:50:21 linux-dell dhcpd: pool 8110518 172.22.2/23 total 509 free
305 backup 204 lts -50
Apr 5 10:50:21 linux-dell dhcpd: pool 80e6608 172.22.0/23 total 509 free
305 backup 204 lts -50
More information about the dhcp-users
mailing list