Failover state changes

Kraishak Mahtha kraishak.edu at gmail.com
Fri Nov 29 07:09:19 UTC 2019


Hi
 I am using the isc dhcp in standalone and it is working fine with that
mode, I added the dhcp failover to my existing setup which caused the issue
to my setup

 The server is in partner down state for so long time which made me panic.
How can I reduce this time and make them in to normal normal state
FYI: I did some reading and found one param *max-unacked-updates *which was
configured to 10 when i tried for the first time thought it would be the
cause and I  increased its value to 5000 because my config contains nearly
800 subnets data which is large but no luck
Does any one face same issue while adding the failover or any idea or
suggestion how to decrease the time taking to recover the failover states
into normal normal

*on Primary state changes*
cat dhcpd.leases | egrep "my state|partner state"
  my state partner-down at 5 2019/11/29 06:23:00;
  partner state recover-done at 5 2019/11/29 06:52:59;
  my state normal at 5 2019/11/29 06:52:59;
  partner state recover-done at 5 2019/11/29 06:52:59;
  my state normal at 5 2019/11/29 06:52:59;
  partner state normal at 5 2019/11/29 06:53:00;
*On failover state changes*
 cat dhcpd.leases | egrep "my state|partner state"
  my state recover at 5 2019/11/29 06:22:59;
  partner state communications-interrupted at 5 2019/11/29 06:23:00;
  my state recover at 5 2019/11/29 06:22:59;
  partner state communications-interrupted at 5 2019/11/29 06:23:00;
  my state recover at 5 2019/11/29 06:22:59;
  partner state partner-down at 5 2019/11/29 06:23:00;
  my state recover-wait at 5 2019/11/29 06:22:59;
  partner state partner-down at 5 2019/11/29 06:23:00;
  my state recover-done at 5 2019/11/29 06:52:59;
  partner state partner-down at 5 2019/11/29 06:23:00;
  my state recover-done at 5 2019/11/29 06:52:59;
  partner state normal at 5 2019/11/29 06:53:00;
  my state normal at 5 2019/11/29 06:53:00;
  partner state normal at 5 2019/11/29 06:53:00;

on Primary Server
========================================
failover peer "peer5" {
        primary;
        address YYY.YYY.YY.YYY;
        port 647;
        peer address YYY.YYY.YY.YYY;
        peer port 647;
        max-response-delay 30;
        max-unacked-updates 5000;
        load balance max seconds 3;
        mclt 1800;
        split 128;
}
on failover server
==========================================
failover peer "peer5" {
        secondary;
        address YYY.YYY.YY.YYY;
        port 647;
        peer address YYY.YYY.YY.YYY;
        peer port 647;
        max-response-delay 30;
        max-unacked-updates 5000;
        load balance max seconds 3;
}

It took nearly 30 minutes which makes issue for my environment, Do we have
any tunable parameters

Thanks in Advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20191129/784c76f3/attachment.htm>


More information about the dhcp-users mailing list