Other nodes¶
Other nodes reference the controller node for clock synchronization. Perform these steps on all other nodes.
Install and configure components¶
Install the packages.
For Ubuntu:
# apt install chrony
For RHEL or CentOS Stream:
# dnf install chrony
Configure the
chrony.conffile and comment out or remove all but oneserverkey. Change it to reference the controller node.For RHEL or CentOS Stream, edit the
/etc/chrony.conffile:server controller iburstFor RHEL/CentOS Stream in case of using firewalld don’t forget to update firewall rules as follows:
# firewall-cmd --permanent --add-service=ntp # firewall-cmd --reload
For Ubuntu, edit the
/etc/chrony/chrony.conffile:server controller iburstComment out the
pool 2.debian.pool.ntp.org offline iburstline.Restart the NTP service.
For Ubuntu:
# service chrony restart
For RHEL or CentOS Stream:
# systemctl enable chronyd.service # systemctl start chronyd.service