balanced pool logs

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

balanced pool logs

kraishak
Hi 
I am running the isc dhcpd in primary-failover mode with 50:50 percent on my two different lab environments with a test tool, I am seeing the balancing pool messages so frequently in the lab-1 environments
EX:
Oct 25 08:40:11 server1 dhcpd[446460]: balanced pool 1c9be20 192.168.0.0/24  total 229  free 63  backup 64  lts 0  max-misbal 19
Oct 25 08:40:11 server1 dhcpd[446460]: balancing pool 1c88680 192.168.3.0/24  total 213  free 42  backup 42  lts 0  max-own (+/-)8
Oct 25 08:40:11 server1 dhcpd[446460]: balanced pool 1c88680 192.168.6.0/24  total 213  free 42  backup 42  lts 0  max-misbal 13
Oct 25 08:40:11 server1 dhcpd[446460]: balancing pool 1c740b0 192.168.101.0/24  total 225  free 110  backup 109  lts 0  max-own (+/-)22
- - - - - - - - - - - - and so on 
These logs are printing  for one to two seconds duration totally, at this time I am not seeing any dhcp traffic logs like discover, offer, renew (yes it is less duration of two seconds no need to worry but just want to make sure, is the dhcp server wont serve the lease for the clients while it balancing the pools ?)
 In the second lab (lab-2) I see these messages but not that frequent of which i see on lab-1,
Does one have any idea that, In general do we have any fixed time interval at which the dhcpd server balance the pools ?just want to know why i am getting the these logs so frequently in lab-1

Thanks in advance


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: balanced pool logs

kraishak
Do we have any internal schedule thread to do balancing pools? or any option that controls the behaviour of this balancing pools process
Just want to know what will be triggering the dhcpd to perform the pool balance that frequently

On Mon, Oct 28, 2019 at 12:24 PM Kraishak Mahtha <[hidden email]> wrote:
Hi 
I am running the isc dhcpd in primary-failover mode with 50:50 percent on my two different lab environments with a test tool, I am seeing the balancing pool messages so frequently in the lab-1 environments
EX:
Oct 25 08:40:11 server1 dhcpd[446460]: balanced pool 1c9be20 192.168.0.0/24  total 229  free 63  backup 64  lts 0  max-misbal 19
Oct 25 08:40:11 server1 dhcpd[446460]: balancing pool 1c88680 192.168.3.0/24  total 213  free 42  backup 42  lts 0  max-own (+/-)8
Oct 25 08:40:11 server1 dhcpd[446460]: balanced pool 1c88680 192.168.6.0/24  total 213  free 42  backup 42  lts 0  max-misbal 13
Oct 25 08:40:11 server1 dhcpd[446460]: balancing pool 1c740b0 192.168.101.0/24  total 225  free 110  backup 109  lts 0  max-own (+/-)22
- - - - - - - - - - - - and so on 
These logs are printing  for one to two seconds duration totally, at this time I am not seeing any dhcp traffic logs like discover, offer, renew (yes it is less duration of two seconds no need to worry but just want to make sure, is the dhcp server wont serve the lease for the clients while it balancing the pools ?)
 In the second lab (lab-2) I see these messages but not that frequent of which i see on lab-1,
Does one have any idea that, In general do we have any fixed time interval at which the dhcpd server balance the pools ?just want to know why i am getting the these logs so frequently in lab-1

Thanks in advance


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: balanced pool logs

glenn.satchell
Hi Kraishak

What settings do you have in the failover peer statement on the two
servers? Can you paste the whole statement into the email please?

There is a discussion of the relevant settings in the dhcpd.conf man
page, look for the section "The Failover pool balance statements".
Perhaps if you have non-default settings for those values mentioned it
may skew the algorithm. Usually the defaults are a pretty good option,
and only change them if there is a specific problem.

regards,
-glenn

On 2019-10-30 01:45, Kraishak Mahtha wrote:

> Do we have any internal schedule thread to do balancing pools? or any
> option that controls the behaviour of this balancing pools process
> Just want to know what will be triggering the dhcpd to perform the
> pool balance that frequently
>
> On Mon, Oct 28, 2019 at 12:24 PM Kraishak Mahtha
> <[hidden email]> wrote:
>
>> Hi
>> I am running the isc dhcpd in primary-failover mode with 50:50
>> percent on my two different lab environments with a test tool, I am
>> seeing the balancing pool messages so frequently in the lab-1
>> environments
>> EX:
>> Oct 25 08:40:11 server1 dhcpd[446460]: balanced pool 1c9be20
>> 192.168.0.0/24 [1]  total 229  free 63  backup 64  lts 0  max-misbal
>> 19
>> Oct 25 08:40:11 server1 dhcpd[446460]: balancing pool 1c88680
>> 192.168.3.0/24 [2]  total 213  free 42  backup 42  lts 0  max-own
>> (+/-)8
>> Oct 25 08:40:11 server1 dhcpd[446460]: balanced pool 1c88680
>> 192.168.6.0/24 [3]  total 213  free 42  backup 42  lts 0  max-misbal
>> 13
>> Oct 25 08:40:11 server1 dhcpd[446460]: balancing pool 1c740b0
>> 192.168.101.0/24 [4]  total 225  free 110  backup 109  lts 0
>> max-own (+/-)22
>>
>> - - - - - - - - - - - - and so on
>> These logs are printing  for one to two seconds duration totally, at
>> this time I am not seeing any dhcp traffic logs like discover,
>> offer, renew (yes it is less duration of two seconds no need to
>> worry but just want to make sure, is the dhcp server wont serve the
>> lease for the clients while it balancing the pools ?)
>> In the second lab (lab-2) I see these messages but not that
>> frequent of which i see on lab-1,
>> Does one have any idea that, In general do we have any fixed time
>> interval at which the dhcpd server balance the pools ?just want to
>> know why i am getting the these logs so frequently in lab-1
>>
>> Thanks in advance
>
>
> Links:
> ------
> [1] http://192.168.0.0/24
> [2] http://192.168.3.0/24
> [3] http://192.168.6.0/24
> [4] http://192.168.101.0/24
> _______________________________________________
> dhcp-users mailing list
> [hidden email]
> https://lists.isc.org/mailman/listinfo/dhcp-users
_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users