failover partner state time in dhcpd.leases

藤原慎太郎 shintaro.fujiwara at miraclelinux.com
Tue Sep 13 07:52:25 UTC 2016


Hi, I'm using isc-dhcp-V3.0.5-RedHat.
I apply auto-partner down patch for 5 secs.

I don't understand why in failover mode, I get same time as it started
in dhcpd.leases as partner state.

I tested like this.

start seconday
start primay

In primary log, I get,

failover peer "test" state {
  my state recover at 2 2016/09/13 05:28:41;
  partner state unknown-state at 2 2016/09/13 05:28:41;
}

...(snip)...

failover peer "test" state {
  my state normal at 2 2016/09/13 05:28:42;
  partner state normal at 2 2016/09/13 05:28:41;
}

This, I understand but, when I do secondary down,

failover peer "test" state {
  my state communications-interrupted at 2 2016/09/13 05:32:23;
  partner state normal at 2 2016/09/13 05:28:41;
}

...(snip)...

Ι did up and down secondary but I always get same date as it started.
=====================================
partner state normal at 2 2016/09/13 05:28:41;
 =====================================
And, when dhcpd.leases moved to dhcpd.leases~, I still get same date
in new dhcpd.leases file
in the first place.

My question Is, is this OK and why is it ?

Great thanks in advance!

Shintaro


More information about the dhcp-users mailing list