NTP force time update


NTP, is the Network Time Protocol used to sync your server’s automatically. This can be updated using ntpd to synchronize automatically or executing ntpdate to check for updates.

Force time update for ntpd

We run monitoring on all our servers and periodically have our Ceph cluster says that time one of our server is out of date even thought they are all running ntpd. When that happens we force an update.

First stop ntpd, then update and start ntpd again.

systemctl stop ntpd

ntpd -gq

systemctl start ntpd

That should be a quick way to get your time updated.