CertGrid CertGrid
Hands-on Lab·Red Hat Certified System Administrator

Time Synchronization with Chrony

One objective, one config file, and one thing worth insisting on: systemctl is-active chronyd proves the service runs, not that the clock is right. chronyc tracking and timedatectl are what answer the question the objective actually asks.

Deploy and Maintain Guide 46 of 67 Beginner

chrony replaced ntpd on RHEL 7 and there is no ntpd to fall back on. The config is /etc/chrony.conf, the control tool is chronyc, and timedatectl is systemd's read-only-ish view of the same state.

Every command on this page runs on RHCSA-A01.
Server NameIP AddressOSRolesCPURAMHDD
RHCSA-A01192.168.0.31RHEL 10.0Practice node (graded) - spare /dev/sda2 Core4 GB50 GB + 15 GB

This guide includes

Use this for one objective with one configuration file. This matters because systemctl is-active tells you the service is running - it does not tell you the clock is synchronised, which is an entirely different question.

Before you start

  1. What is configured

  2. Is it actually synchronised

  3. Changing the server

Official sources