Clock synchronization

Problem

Many issues may occur within a TigerGraph cluster as a result of clocks out of sync. When encountering a problem, this is the first thing to check

Error message

N/A

Diagnosis

grun_p all date will output the time from all nodes. If more than a few seconds off, the clocks need to be resynced.

Workaround

N/A

Solution

Please use an NTP implementation that matches your OS to keep clocks synchronized - chronyd on CentOS or timesyncd on Ubuntu. You may also use the now deprecated ntpd or ntpdate.

To resync:

  • Centos

    sudo chryonyc -a makestep
  • Ubuntu

    sudo systemctl restart system-timesyncd

After the clock is resynced there is no need to restart TigerGraph services.