chrony 时间同步频率调整

2021-01-07  本文已影响0人  cloudFans

同步频率调整
ceph 默认要求时钟偏差50ms以下

minpoll 1 maxpoll 1

vi /etc/chrony.conf

server ntp.aliyun.com iburst minpoll 1 maxpoll 1
server ntp1.aliyun.com iburst minpoll 1 maxpoll 1
server ntp2.aliyun.com iburst minpoll 1 maxpoll 1
server ntp3.aliyun.com iburst minpoll 1 maxpoll 1
server ntp4.aliyun.com iburst minpoll 1 maxpoll 1
server ntp5.aliyun.com iburst minpoll 1 maxpoll 1
server ntp6.aliyun.com iburst minpoll 1 maxpoll 1
server ntp7.aliyun.com iburst minpoll 1 maxpoll 1

[root@node3 ~]# chronyc sources
210 Number of sources = 1
MS Name/IP address Stratum Poll Reach LastRx Last sample
===============================================================================
^? 203.107.6.88 2 6 3 1 -748us[ -748us] +/- 40ms

参考:

  1. https://serverfault.com/questions/758210/is-there-a-way-to-determine-how-often-chrony-is-querying-ntp-servers-to-sync-tim

  2. https://chrony.tuxfamily.org/faq.html

上一篇 下一篇

猜你喜欢

热点阅读