21 Mayıs 2021 Cuma

chronyd vs NTP service

Chronyd vs NTP service
Açıklaması şöyle. Yani chronyd sistemi saatini NTP'ye göre daha hızlı eşzamanlı hale getiriyor.
Chrony is a different implementation of the network time protocol (NTP) than the network time protocol daemon (ntpd) that is able to synchronize the system clock faster and with better accuracy than ntpd.
Hangisini Ne Zaman Kullanmalı
Açıklaması şöyle. Eğer bilgisayar sık sık kapatılıyor veya uykuya geçiriliyorsa, chronyd daha iyi sonuç verebilir.
When to use chrony
Chrony would be considered a best match for the systems which are frequently suspended or otherwise intermittently disconnected from a network (mobile and virtual servers etc).

When to use NTP
The NTP daemon (ntpd) should be considered for systems which are normally kept permanently on. Systems which are required to use broadcast or multicast IP, or to perform authentication of packets with the Autokey protocol, should consider using ntpd.
for current cloud and container based environment where applications are stateless chronyd play an important role to sync the time on each system.
chrony.conf dosyası
/etc/chrony. conf dosyası Chronyd için ayarları içerir.

Örnek
# Default chrony.conf on Ubuntu, sans comments and blank lines
confdir /etc/chrony/conf.d
pool ntp.ubuntu.com        iburst maxsources 4
pool 0.ubuntu.pool.ntp.org iburst maxsources 1
pool 1.ubuntu.pool.ntp.org iburst maxsources 1
pool 2.ubuntu.pool.ntp.org iburst maxsources 2
sourcedir /run/chrony-dhcp
sourcedir /etc/chrony/sources.d
keyfile /etc/chrony/chrony.keys
driftfile /var/lib/chrony/chrony.drift
ntsdumpdir /var/lib/chrony
logdir /var/log/chrony
maxupdateskew 100.0
rtcsync
makestep 1 3
leapsectz right/UTC

Hiç yorum yok:

Yorum Gönder