Send dhcp-users mailing list submissions to
        dhcp-users@lists.isc.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/dhcp-users
or, via email, send a message with subject or body 'help' to
        dhcp-users-requ...@lists.isc.org

You can reach the person managing the list at
        dhcp-users-ow...@lists.isc.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dhcp-users digest..."


Today's Topics:

   1. Re: DHCP restart with bulk lease data (Surya Teja)
   2. Re: DHCP restart with bulk lease data (Surya Teja)
   3. Re: DHCP restart with bulk lease data (Sten Carlsen)
   4. Re: balanced pool logs (Kraishak Mahtha)


----------------------------------------------------------------------

Message: 1
Date: Tue, 29 Oct 2019 18:12:24 +0530
From: Surya Teja <suryateja...@gmail.com>
To: Sten Carlsen <st...@s-carlsen.dk>, sth...@nethelp.no
Cc: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: DHCP restart with bulk lease data
Message-ID:
        <CA+0Ac3xqaxuF641xJZTu6CeBpYRtsi=EvHLN08p4yr_9=ee...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

you're doing something wrong. With a decent disk subsystem this is expected
to take a few *seconds* (5 - 10 seconds would be my estimate ) ---->
Hi  sthaug I don't see any disk subsystem issues, may be I am missing the
cases, can you please suggest the areas or commands to cross check if
possible?


Thanks Teja

On Tue, Oct 29, 2019 at 5:13 PM Sten Carlsen <st...@s-carlsen.dk> wrote:

>
>
> > On 29 Oct 2019, at 11.20, sth...@nethelp.no wrote:
> >
> >> The main thing I am facing the issue is when the data is too high like
> >> 50-60k leases in the file, the dhcpd service restart is taking more time
> >> (nearly 5-6 minutes) some times nearly 10-11 mins
> >
> > If a dhcpd restart with 50 - 60k leases takes 5-6 minutes or more,
> > you're doing something wrong. With a decent disk subsystem this is
> > expected to take a few *seconds* (5 - 10 seconds would be my estimate
> > based on what we see here with a larger leases file).
>
> Could there be issues with file permissions?
>
> My guess is that the temporary file written can not be renamed because
> dhcpd does not have write permissions?
>
> >
> > Steinar Haug, Nethelp consulting, sth...@nethelp.no
> > _______________________________________________
> > dhcp-users mailing list
> > dhcp-users@lists.isc.org
> > https://lists.isc.org/mailman/listinfo/dhcp-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://lists.isc.org/pipermail/dhcp-users/attachments/20191029/fdf8867c/attachment-0001.htm>

------------------------------

Message: 2
Date: Tue, 29 Oct 2019 18:19:45 +0530
From: Surya Teja <suryateja...@gmail.com>
To: Sten Carlsen <st...@s-carlsen.dk>, sth...@nethelp.no
Cc: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: DHCP restart with bulk lease data
Message-ID:
        <ca+0ac3wpt7csx5-4+sotow5wf3cr+vtxru6xxgjmhfbrqx_...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Could there be issues with file permissions?
My guess is that the temporary file written can not be renamed because
dhcpd does not have write permissions?   ------>
Hi Sten, I don't think it is with permission because after few minutes
dhcpd is restarting and granting lease, the issue is it is taking long time,
In the isc dhcp forum I observed few options like  dont-use-fsync but it
also suggest not recommended until thorough understanding OS
I have installed the dhcpd on centos7, does any one have used this option?
Any experience with it would be much helpful for me

Thanks in advance

On Tue, Oct 29, 2019 at 6:12 PM Surya Teja <suryateja...@gmail.com> wrote:

> you're doing something wrong. With a decent disk subsystem this is
> expected to take a few *seconds* (5 - 10 seconds would be my estimate )
> ---->
> Hi  sthaug I don't see any disk subsystem issues, may be I am missing the
> cases, can you please suggest the areas or commands to cross check if
> possible?
>
>
> Thanks Teja
>
> On Tue, Oct 29, 2019 at 5:13 PM Sten Carlsen <st...@s-carlsen.dk> wrote:
>
>>
>>
>> > On 29 Oct 2019, at 11.20, sth...@nethelp.no wrote:
>> >
>> >> The main thing I am facing the issue is when the data is too high like
>> >> 50-60k leases in the file, the dhcpd service restart is taking more
>> time
>> >> (nearly 5-6 minutes) some times nearly 10-11 mins
>> >
>> > If a dhcpd restart with 50 - 60k leases takes 5-6 minutes or more,
>> > you're doing something wrong. With a decent disk subsystem this is
>> > expected to take a few *seconds* (5 - 10 seconds would be my estimate
>> > based on what we see here with a larger leases file).
>>
>> Could there be issues with file permissions?
>>
>> My guess is that the temporary file written can not be renamed because
>> dhcpd does not have write permissions?
>>
>> >
>> > Steinar Haug, Nethelp consulting, sth...@nethelp.no
>> > _______________________________________________
>> > dhcp-users mailing list
>> > dhcp-users@lists.isc.org
>> > https://lists.isc.org/mailman/listinfo/dhcp-users
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://lists.isc.org/pipermail/dhcp-users/attachments/20191029/1a4893b9/attachment-0001.htm>

------------------------------

Message: 3
Date: Tue, 29 Oct 2019 14:41:28 +0100
From: Sten Carlsen <st...@s-carlsen.dk>
To: Surya Teja <suryateja...@gmail.com>
Cc: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: DHCP restart with bulk lease data
Message-ID: <10771132-8f17-4d4b-9b99-893324cc6...@s-carlsen.dk>
Content-Type: text/plain; charset="us-ascii"




> On 29 Oct 2019, at 13.49, Surya Teja <suryateja...@gmail.com> wrote:
> 
> Could there be issues with file permissions?
> My guess is that the temporary file written can not be renamed because dhcpd 
> does not have write permissions?   ------>
> Hi Sten, I don't think it is with permission because after few minutes dhcpd 
> is restarting and granting lease, the issue is it is taking long time,

I was thinking that since it leaves the .<time> file present, it may have 
problems doing the file operations. 
I did some experimenting, whatever way I make the files write protected, dhcpd 
manages to change them back. The only thing I did not test is SELinux.

> In the isc dhcp forum I observed few options like  dont-use-fsync but it also 
> suggest not recommended until thorough understanding OS 
> I have installed the dhcpd on centos7, does any one have used this option? 
> Any experience with it would be much helpful for me     
> 
> Thanks in advance
> 
> On Tue, Oct 29, 2019 at 6:12 PM Surya Teja <suryateja...@gmail.com 
> <mailto:suryateja...@gmail.com>> wrote:
> you're doing something wrong. With a decent disk subsystem this is expected 
> to take a few *seconds* (5 - 10 seconds would be my estimate ) ---->
> Hi  sthaug I don't see any disk subsystem issues, may be I am missing the 
> cases, can you please suggest the areas or commands to cross check if 
> possible?
> 
> 
> Thanks Teja
> 
> On Tue, Oct 29, 2019 at 5:13 PM Sten Carlsen <st...@s-carlsen.dk 
> <mailto:st...@s-carlsen.dk>> wrote:
> 
> 
> > On 29 Oct 2019, at 11.20, sth...@nethelp.no <mailto:sth...@nethelp.no> 
> > wrote:
> > 
> >> The main thing I am facing the issue is when the data is too high like
> >> 50-60k leases in the file, the dhcpd service restart is taking more time
> >> (nearly 5-6 minutes) some times nearly 10-11 mins
> > 
> > If a dhcpd restart with 50 - 60k leases takes 5-6 minutes or more,
> > you're doing something wrong. With a decent disk subsystem this is
> > expected to take a few *seconds* (5 - 10 seconds would be my estimate
> > based on what we see here with a larger leases file).
> 
> Could there be issues with file permissions?
> 
> My guess is that the temporary file written can not be renamed because dhcpd 
> does not have write permissions?
> 
> > 
> > Steinar Haug, Nethelp consulting, sth...@nethelp.no 
> > <mailto:sth...@nethelp.no>
> > _______________________________________________
> > dhcp-users mailing list
> > dhcp-users@lists.isc.org <mailto:dhcp-users@lists.isc.org>
> > https://lists.isc.org/mailman/listinfo/dhcp-users 
> > <https://lists.isc.org/mailman/listinfo/dhcp-users>
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://lists.isc.org/pipermail/dhcp-users/attachments/20191029/0985beda/attachment-0001.htm>

------------------------------

Message: 4
Date: Tue, 29 Oct 2019 20:15:56 +0530
From: Kraishak Mahtha <kraishak....@gmail.com>
To: dhcp-users@lists.isc.org
Subject: Re: balanced pool logs
Message-ID:
        <CADDat87so=7_sciq-d8e3c29f+orwn9d_cfo77wgeyb7mat...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

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 <kraishak....@gmail.com>
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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://lists.isc.org/pipermail/dhcp-users/attachments/20191029/515275f1/attachment.htm>

------------------------------

Subject: Digest Footer

_______________________________________________
dhcp-users mailing list
dhcp-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users


------------------------------

End of dhcp-users Digest, Vol 132, Issue 27
*******************************************

Reply via email to