@yunanoさんのCentOS - 新しいNTPクライアント&サーバ、chrony - Qiitaをやってみた。
インストール
yum install -y chrony
設定
/etc/chrony.conf
- server 0.fedora.pool.ntp.org iburst
- server 1.fedora.pool.ntp.org iburst
- server 2.fedora.pool.ntp.org iburst
- server 3.fedora.pool.ntp.org iburst
+ server ntp.nict.jp
+ server ntp1.jst.mfeed.ad.jp
+ server ntp2.jst.mfeed.ad.jp
+ server ntp3.jst.mfeed.ad.jp
リスタート
systemctl restart chronyd
動作確認
ntpq -pの変わり
chronyc sources
時間がずれているとき一気に変更されるのではなく、徐々に合わせていく様子。
日本標準時間確認サイト