Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
driftfile /var/lib/ntp/drift/ntp.drift
logfile /var/log/ntp
keys /etc/ntp.keys
trustedkey 1
requestkey 1
# Basics to allow us to start and provide time
server 127.127.1.0
fudge 127.127.1.0 stratum 10
restrict default nomodify notrap
restrict 127.127.1.0
### And here's our real servers to sync to
server 172.24.98.82 iburst
ntpq -p
karlb wrote:Hi!
The way I have mine setup is the DB server runs ntpd. The rest sync to the db server only.
You'd want to delete or comment out any sync server other than your DB server in the servers connecting.
Also, add "iburst" to the end of the server line for a faster sync.
Example: (172.24.98.82 is my DB server)
- Code: Select all
driftfile /var/lib/ntp/drift/ntp.drift
logfile /var/log/ntp
keys /etc/ntp.keys
trustedkey 1
requestkey 1
# Basics to allow us to start and provide time
server 127.127.1.0
fudge 127.127.1.0 stratum 10
restrict default nomodify notrap
restrict 127.127.1.0
### And here's our real servers to sync to
server 172.24.98.82 iburst
You can verify your server is connected to the DB server and syncing by running:
- Code: Select all
ntpq -p
You will see a asterisk next to your DB server if it's synced. It CAN take a minute or two.
Users browsing this forum: Google [Bot] and 43 guests