LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-15-2008, 03:17 PM   #1
Gozotonmortenfrede
LQ Newbie
 
Registered: Mar 2006
Location: Western Nebraska
Distribution: Ubuntu, RHEL 4 & 5
Posts: 1

Rep: Reputation: 0
Question NTP: help me understand the conf file


I'm a new sys admin getting baptized in NTP. I'm trying to find information on what I can and cannot do in the conf file. What I should and shouldn't have in the conf file. Tips, tricks, examples, etc...

I've found terrific information on the math behind the drift calculation, but I don't care about how drift is calculated - I'm sure it's awesome!

I need shoe leather advice from grizzled veteran. I'd hate to bore the forum with line-by-line questions. I'm willing to read if someone can point me in the right direction.

1000 thankyou's

Gozo
 
Old 04-15-2008, 03:56 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
well i'm not exactly grizzled, but i certainly did one day see the light of ntp, mainly from finding the ntpq command to actually see what was previously black magic. and black magic that didn't work at that. In line with any service you run, it should only do what you need and nothing more. Don't run all your boxes as ntp servers, keep a few central ones with query enabled and shut all the others down to clients only, and keep a logical strata in place. personally i would go and find 4 or 5 geographically local strata 1 sources - i would use a local subdomain of ntp.org e.g pool.europe.ntp.org and pick them from the random dns assigned ip's you get back from querying 0.pool... to 10.pool... use those sources on up to 4 internal devices and then use those few to feed ntp back into the rest of your estate. those 4 should also use each other as sources, but naturally they will be 1 strata greater than the remote sources so would not usually be the primary sources for one another all the while they have access to remote sources.

buying a radio time server yourself is a bit pointless i think. there are plenty out there for free, and i'd rather have 5 remote ones than 1 non-resilient local one.

never ever have 2 sources listed in an ntp config. if they are different, which one is right???? 1 is easy - no choice. 3 is fine, 2/3 of them should agree, but 2... could get really nasty if half your machines prefer one whilst the rest prefer the other.

never run ntp inside a virtual machine. it's conceptually illogical, and you always need to take the clock from the host machine, and let that use ntp.
that the sort of thing? for some strange reason i really like ntp. if i were a drinker i'd buy it a pint.
 
  


Reply

Tags
ntp


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NTP's ntp.conf pxumsgdxpcvjm Linux - Server 2 08-30-2007 09:34 PM
ntp.conf rewriting on reboot to install-default dfowensby Slackware 2 02-16-2005 11:01 AM
9.1... ntp.conf overwritten on boot german Slackware 2 02-16-2005 11:01 AM
NTPd - ntp.conf warath Linux - Software 8 04-05-2004 08:42 AM
ntp.conf overwritten larand54 Linux - Networking 3 10-08-2003 02:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration