[ntp:hackers] How many servers for a pool config line?

tglassey tglassey at glassey.com
Sat Nov 28 15:33:47 UTC 2009


Danny Mayer wrote:
> Hal Murray wrote:
>   
>> Thanks.
>>
>> davehart at gmail.com said:
>>     
>>> tos maxclock 4 
>>>       
>> mayer at ntp.org said:
>>     
>>> For example: pool pool.ntp.org maxservers 5. 
>>>       
>> The tos maxclock code already exists.  The maxservers approach seems more 
>> natural.  I don't plan to implement it.
>>
>>
>> Having thought about it a bit more...
>>
>> The current code gets up to maxclock addresses per pool config line.  You 
>> might think you could change maxclock between pool lines, but the whole 
>> config file is parsed before it is processed.  So that last maxclock wins for 
>> all of the pool lines.  (Or something like that.)
>>
>> What we probably want is something like:
>>   tos totalpoolservers xxx
>>   pool a.pool.example.com
>>   pool a.pool.example.net
>> ...
>>
>> Where it would try to get a total of xxx pool servers using whichever names 
>> respond first.
>>
>>
>> If you think diversity is good, something like:
>>   tos totalpoolservers 6
>>   pool a.pool.example.com maxservers 2
>>   pool a.pool.example.net maxservers 2
>>   pool b.pool.example.com maxservers 2
>>   pool b.pool.example.net maxservers 2
>>   ...
>> might help avoid putting too many eggs in one basket.
>>
>> All that seems like overkill.  If it's that important, you are probably 
>> willing to specify the servers by hand.
>>
>> But maybe there will be more than one pool someday.
>>
>>     
>
> There already is. Anyone can set up a DNS server and provide a list of
> ntp servers in a pool via a single name (or different ones for different
> locations) in their corporate, campus or other domain. You'd then have
> all of the ntp daemons use it via the pool directive. There's no
> obstacle to doing this today.
>   
Danny's right - we already use this for arranging the servers we operate 
into pools so this is already done AFAIK.

Todd
> Danny
>
>
>   
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com 
> Version: 8.5.426 / Virus Database: 270.14.83/2528 - Release Date: 11/26/09 09:10:00
>
>   



More information about the hackers mailing list