[CentOS] Gradually adjust NTP sync over time?

Tue Sep 4 17:17:33 UTC 2012
Brian Mathis <brian.mathis+centos at betteradmin.com>

On Tue, Sep 4, 2012 at 12:17 PM, Sean Carolan <scarolan at gmail.com> wrote:
> Suppose you have server A and server B.  Server B is running 60
> seconds too fast, while server A is accurate.  Is there a way to
> gradually move server B's time back into sync with server A, without
> making a drastic, immediate change to the clock?  In other words, we
> would like to 'smear' the difference across several hours or days to
> ensure there are no drastic changes in timestamps, etc.

This is already how ntpd works.  When you first start the service
(usually upon reboot), it will use 'ntpdate' to do a hard set of the
clock, then ntpd picks up and adjusts the clock back and forth to keep
it correct.

❧ Brian Mathis