Linux Master: NTPに関する補足
Chrony
CentOS 8 は、NTP に代えて Chrony が採用されました。
利用方法は、ほぼほぼ NTP 同様です。
NTP 公開サーバも利用できます。 jp.pool.ntp.org, 0~4.jp.pool.ntp.org など。
# cat /etc/chrony.conf
# Use public servers from the pool.ntp.org project.
# Please consider joining the pool (http://www.pool.ntp.org/join.html).
pool 0.jp.pool.ntp.org iburst
pool 1.jp.pool.ntp.org iburst
pool 2.jp.pool.ntp.org iburst
:
chronyc
ntpq 相当のサーバー同期状況表を行う。
# chronyc sources
210 Number of sources = 14
MS Name/IP address Stratum Poll Reach LastRx Last sample
===============================================================================
^- y.ns.gin.ntt.net 2 10 377 567 -3580us[ -81us] +/- 128ms
^- any.time.nl 2 9 337 495 -8008us[-4499us] +/- 86ms
^- nipper.paina.net 2 10 377 27m -20ms[ -17ms] +/- 87ms
^* i172-104-118-14.poolntp-> 3 9 177 120 -2463us[+1096us] +/- 15ms
^- 40.74.139.173 2 9 377 371 -2563us[ +962us] +/- 51ms
^- 103.202.216.35 3 10 377 780 -7691us[-4220us] +/- 131ms
^- v133-130-121-141.a04c.g.> 2 8 377 509 +1633us[+5140us] +/- 43ms
^- 122x215x240x52.ap122.ftt> 2 9 377 498 +1901us[+5410us] +/- 35ms
^+ ipv4.ntp2.rbauman.com 2 10 377 894 +1021us[+4375us] +/- 23ms
^- ec2-54-249-146-184.ap-no> 2 8 377 175 -15ms[ -11ms] +/- 43ms
^? any.time.nl 0 6 0 - +0ns[ +0ns] +/- 0ns
^? ipv6.ntp2.rbauman.com 0 6 0 - +0ns[ +0ns] +/- 0ns
^? time.paina.net 0 6 0 - +0ns[ +0ns] +/- 0ns
^? time.cloudflare.com 0 6 0 - +0ns[ +0ns] +/- 0ns
☞参考