Use this information to run basic chrony NTP troubleshooting steps.
Before you begin
Before you begin, make sure that you have the following prerequisites in place:
- A running IBM Storage Ceph cluster.
- Root-level access to the Ceph Monitor node.
About this task
For more information, see the following:
Procedure
-
Verify that the
chrony daemon is running on the Ceph Monitor hosts:
For example,
[root@mon ~]# systemctl status chrony
-
If
chrony is not running, enable and start it.
For example,
[root@mon ~]# systemctl enable chrony
[root@mon ~]# systemctl start chrony
-
Ensure that
chrony is synchronizing the clocks correctly.
For example,
[root@mon ~]# chronyc sources
[root@mon ~]# chronyc sourcestats
[root@mon ~]# chronyc tracking
-
To configure NTP. see NTP section in Installation Guide for RHEL (x86_64)
-
To configure using chrony, open the NTP configuration file /etc/chrony.con in a text editor such as vi or nano, or create a new one if it does not already exist.
-
Add the NTP server entry details
server <NTP_Server> iburst
-
Restart the chrony service
systemctl restart chrony.
-
Repeat the same steps on all nodes to configure NTP and to sync time across all nodes.