andrea.meyer

How to setup NTP on VMTurbo appliance to keep time in sync

Blog Post created by andrea.meyer on May 18, 2014

This article was updated on June 24, 2015

 

The recommended method of keeping the time in sync on your VMTurbo appliance is done using the 3 steps below:

 

1. Set the timezone properly.   The easiest way to do this is to establish a putty or console session to the VMTurbo appliance and login as root (default password is vmturbo) and use the yast command.   Here is the command:

    # yast timezone

     ***Note:   Even though you will see an option in yast to set up an NTP service, do *not* use this option and instead set up NTP using step 2 below.

2.  Configure the NTP server to keep the time in sync using the following steps to edit the NTP configuration file:

  •     Edit the configuration file using the 'vi' command

# vi /etc/ntp.conf

  •     Move to the bottom of this file (SHIFT-G) and you will notice these two lines:

server time-a.nist.gov
server time-b.nist.gov

  • Change the server names "time-a.nist.gov" and "time-b.nist.gov" to the FQDN of your time servers.    It may be safest to use the IP address of the servers instead.   If you only have one time server then you can delete the second unnecessary time server entry.
  • Stop & Start the ntp service using the following command:

               systemctl  status ntpd

               systemctl  start ntpd

  • To enable ntpd on start up

               systemctl enable ntpd

3.  Reboot your VMTurbo appliance using the following command:

#  shutdown -r now

Outcomes