1833116 Members
3426 Online
110051 Solutions
New Discussion

NTP synchronisation

 
Neil Wilson_2
Valued Contributor

NTP synchronisation

Hi everyone,

I've configured NTP and started xntpd but the time sync'd straight away, jumping forward 10 mins or so. Luckily this is a DR system and there are no database on it!

Anyway I seem to recall there is a way to stop "instant" synchronisation and have the server sync over a slower period of time. Any ideas what that is ? (i have /etc/ntp.drift created, no values in it).

NW
4 REPLIES 4
Devender Khatana
Honored Contributor

Re: NTP synchronisation

Hi,

The time of the server which got synced was probably more than the time of the server you synced to. This is the normal behaviour in this case and before starting the application ( Databases) you should ensure that time has got synced. If the synchronization is done in reverse order then I suppose it will go slow only.

HTH,
Devender
Impossible itself mentions "I m possible"
A. Clay Stephenson
Acclaimed Contributor

Re: NTP synchronisation

If you start the xntpd daemon with the "-x" option, it will alwaqys slew the time rather than doing a step adjustment.
If it ain't broke, I can fix that.
Andrew Merritt_2
Honored Contributor

Re: NTP synchronisation

Have you tried 'man xntpd'? There's a discussion there of the way the time is adjusted when the '-x' (SLEW) option is selected.

Andrew
Steven E. Protter
Exalted Contributor

Re: NTP synchronisation

Jumping forward is not usually a problem, even for production Database servers.

Jumping backward is a potential system crashing, database corrupting disaster waiting to happen.

I think the -x option is the best way to go. Should be configurable in the conf file or if it uses a parameter file in /etc/rc.config.d/

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com