Install Chrony for NTP Client configuration.
[root@node01 ~]# dnf -y install chrony
[root@node01 ~]# vi /etc/chrony.conf
Edit the chrony.conf file to specify your NTP server.
# line 3: change to your own NTP server or others in your timezone
# pool 2.centos.pool.ntp.org iburst
pool dlp.emc.world iburst
Enable and start the Chronyd service.
[root@node01 ~]# systemctl enable --now chronyd
Verify the NTP client status.
[root@node01 ~]# chronyc sources
You should see the NTP server and synchronization status.
MS Name/IP address Stratum Poll Reach LastRx Last sample
===============================================================================
^* dlp.emc.world 2 6 7 1 +101us[ -396us] +/- 10ms
To display time synchronization status, you can install NTPStat.
[root@node01 ~]# dnf -y install ntpstat
[root@node01 ~]# ntpstat
You will see the synchronization status.
synchronised to NTP server (10.0.0.30) at stratum 3
time correct to within 11 ms
polling server every 64 s
Your NTP client is now configured and synchronized with the NTP server.
Note: Ensure that you replace the NTP server information with your own specific settings.