美文网首页
chrony 时间同步频率调整

chrony 时间同步频率调整

作者: cloudFans | 来源:发表于2021-01-07 09:20 被阅读0次

    同步频率调整
    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

    相关文章

      网友评论

          本文标题:chrony 时间同步频率调整

          本文链接:https://www.haomeiwen.com/subject/yziaoktx.html