Networking Forums

Networking Forums > Computer Networking > Linux Networking > partner_down - peer holds all free leases

Reply
Thread Tools Display Modes

partner_down - peer holds all free leases

 
 
oto.maly@gmail.com
Guest
Posts: n/a

 
      04-01-2009, 05:44 PM
Hi
I am looking for help with DHCP 3.1.2. I have a failover scenario. Iam
getting "peer holds all free leases" message.

Basically, I am trying to go from 3.0.3 to 3.1.2.
I stop the 3.0.3 secondary. When the 3.0.3 gets into partner down
state I stop also that one.

Then I copy the lease file to 3.1.2 primary. I try to start it. I get
the "peer holds all free leases" error message.
I check the status of the server and it is in "partner_down" (value 4)
and the other in "unknown_state" (value 1).

I would like to ask what can be the issue?
When a lease is in free state, who can use it? (primary/secondary)
How long does it take to be used by the other one?
When a lease is in backup state, who can use it? (primary/secondary)
How long does it take to be used by the other one?
What do I have to do, to get the server to respond to discovers? Which
state do I need to force? Or how long do I need to wait?

I have quite a lot of IPs available in all subnets. I can see that
from each subnet IPs are marked only in "free" state, or "backup"
state as follows
lease 10.35.128.145 {
starts 0 2009/02/08 12:27:50;
ends 0 2009/02/08 12:29:50;
tstp 1 2009/02/09 12:57:50;
tsfp 1 2009/02/09 12:57:50;
cltt 0 2009/02/08 12:27:50;
binding state free;
hardware ethernet 76:19:37:01:1d:01;
}

lease 10.35.128.230 {
starts 2 2008/10/28 14:46:51;
tstp 2 2008/10/28 14:46:51;
tsfp 2 2008/10/28 14:46:51;
binding state backup;
}

the pool is defined as follows
subnet 10.35.128.0 netmask 255.255.224.0 {
option subnet-mask 255.255.224.0;
option broadcast-address 10.35.159.255;
option routers 10.35.128.1;
pool {
deny dynamic bootp clients;
failover peer "boot";
range 10.35.128.2 10.35.159.126;
}
}

So there should be around 8000 free IP addresses.
And I have maybe 2000 clients on the subnet. Still when I start the
server, it will not responde to discover packets.
Mar 27 04:38:35 dhcp-live-02 dhcpd: DHCPDISCOVER from 7a:ea:
01:00:e6:01 via 10.35.128.1: peer holds all free leases

My conf file on primary is as follows.
authoritative;
ddns-update-style none;
omapi-port 7911;
server-identifier dhcp-live-02;

failover peer "boot" {
primary;
address dhcp-live-02;
port 647;
peer address dhcp-live-01;
peer port 847;
max-response-delay 60;
max-unacked-updates 10;
mclt 1800;
split 128;
load balance max seconds 3;
}

include "/usr/local/etc/dhcpd.master";

Am I doing something wrong? Is the lease file of 3.0.3 not compatible
to 3.1.2? How to make it compatible?
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"no free leases" problem with isc dhcp 3.0.1 on Debian ceremona@gmail.com Linux Networking 2 06-20-2006 10:59 PM
time server that holds no operations master roles???? ActionNotMotion@gmail.com Windows Networking 2 04-12-2006 06:24 PM
dhcpd - No Free Leases NAV Linux Networking 6 09-08-2005 04:33 AM
Peer-to-Peer Infrastructure APIs / Advanced Networking Pack on 2003 Server? Relax Windows Networking 2 04-19-2005 11:02 PM
Newbie and DHCP no free leases Walter Zambotti Linux Networking 0 05-27-2004 06:14 AM



1 2 3 4 5 6 7 8 9 10 11