Basic chrony NTP troubleshooting

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

  1. Verify that the chrony daemon is running on the Ceph Monitor hosts:
    For example,
    [root@mon ~]# systemctl status chrony
    1. If chrony is not running, enable and start it.
      For example,
      [root@mon ~]# systemctl enable chrony
      [root@mon ~]# systemctl start chrony
  2. Ensure that chrony is synchronizing the clocks correctly.
    For example,
    [root@mon ~]# chronyc sources
    [root@mon ~]# chronyc sourcestats
    [root@mon ~]# chronyc tracking
  3. To configure NTP. see NTP section in Installation Guide for RHEL (x86_64)
  4. 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.
  5. Add the NTP server entry details server <NTP_Server> iburst
  6. Restart the chrony service systemctl restart chrony.
  7. Repeat the same steps on all nodes to configure NTP and to sync time across all nodes.