[ntp:questions] Problem facing with Ntp client Configuration
snews at lordynet.org
Tue Mar 25 14:47:51 UTC 2014
Biswajit Panigrahi wrote:
> Hi All,
> When ever I configure ntp client ,then its takes more time even if 7minute to 8 minute difference is there between client and server.
> Please provide me the configuration which will sync within less time.
> Currently ntp.drift file is empty.shall we need to modify the same?
My ntpd startup scripts still use "ntpdate" to preset the time
but you can also try "ntpd -g -q".
The drift file is only populated when ntpd has an idea of what
the value should be.
When using a good drift file my servers are usually within 1 ms
offset after about 15 minutes (ntpd 4.2.7p433).
> Current NTP Client configuration is :
> server 10.16.188.254
> server 127.127.1.0
> fudge 127.127.1.0 stratum 10
> restrict 10.16.188.254 mask 255.255.255.255 nomodify notrap noquery
> restrict 127.0.0.1
> broadcastclient novolley
> broadcastdelay 0
> keys /var/ntp/keys
> logfile /var/log/ntp/ntpd.log
> driftfile /var/log/ntp/ntp.drift
> statsdir /var/log/ntp/
> statistics loopstats peerstats
> filegen loopstats file loopstats type day enable
> filegen peerstats file peerstats type day enable
> Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra.
More information about the questions