This article describes the steps to configure NTP on Versa Analytics nodes.


Follow these steps to set NTP configuration in Versa Analytics via the CLI:



  1. Run sudo vi /etc/ntp/ntp.servers command to edit ntp servers file in Versa Analytics.
    versa@versa-analytics:~$ sudo vi /etc/ntp/ntp.servers

  2. Add NTP server entries above the Ubuntu's default NTP servers:
  3. This file is then called in the /etc/ntp.conf file:
  4. Run sudo vsh restart command to restart vsh services in Versa Analytics shell prompt.
    versa@versa-analytics:~$ sudo vsh restart



Follow these steps to set NTP configuration in Versa Analytics via the GUI:


  1. Login to the Analytics UI directly or from the Directly UI go to Analytics tab.
  2. Browse the Admin > Configurations > Log Collector Exporter > System.
  3. Click Add new NTP server and add the required details:
  4. Perform a vsh restart on the Analytics for the NTP changes to take effect.


You can run 'timedatectl' from Analytics shell, to validate if the NTP is enabled and synchronized: