NTP : Configure NTP Client

 Configure NTP Client.

[1]. Client configuration is mostly the same with Server's one, but NTP Clients does not need to receive time synchronization requests from other hosts, so it does not need to specify the line [allow ***].

[root@node01 ~]# dnf -y install chrony

[root@node01 ~]# vi /etc/chrony.conf

# line 3: change to your own NTP server or others in your timezone

#pool 2.centos.pool.ntp.org iburst

pool dlp.srv.world iburst

[root@node01 ~]# systemctl enable --now chronyd

# verify status

[root@node01 ~]# chronyc sources

210 Number of sources = 1

MS Name/IP address         Stratum Poll Reach LastRx Last sample

===================================================================

^* dlp.srv.world  2   6    17    11    +22us[  +16us] +/-   11ms

[2]. To Install NTPStat, it's possible to display time synchronization status.

[root@node01 ~]# dnf -y install ntpstat

[root@node01 ~]# ntpstat

synchronised to NTP server (10.0.0.30) at stratum 3

   time correct to within 9 ms

   polling server every 64 s

Comments

Popular posts from this blog

Java : Variables Declaring

Install DNF in RHEL/CentOS 7

SQL Self JOIN