(Required) Synchronizing Time

It is important that you synchronize the clock on the Turbonomic instance with the other devices on the same network. By default, the Turbonomic server is configured to synchronize with any one of the following time servers:

  • 2.rocky.pool.ntp.org

To synchronize with these servers, your installation of Turbonomic must have access to the internet. If your environment restricts internet access, configure synchronization with a time server on your network.

In all cases, verify that the Turbonomic clock is properly synchronized.

  1. Open an SSH terminal session to your Turbonomic instance.

    Log in with the System Administrator that you set up when you installed Turbonomic:

    • Username: turbo

    • Password: [your_private_password]

  2. Verify your time settings.

    Run the date command.

    The output is similar to the following example:

    Thu Feb 2 14:25:45 UTC 2019

    Run the timedatectl command.

    The output is similar to the following example:

          Local time: Fri 2019-12-06 21:09:26 UTC
      Universal time: Fri 2019-12-06 21:09:26 UTC
            RTC time: Fri 2019-12-06 21:09:27
           Time zone: UTC (UTC, +0000)
         NTP enabled: yes
    NTP synchronized: yes
     RTC in local TZ: no
          DST active: n/a
    

    This tells you whether you have NTP enabled, and whether it is synchronized, along with other time synchronization information.

If the output is correct and your environment has access to the internet, you can assume that the system clock is synchronized.

If the output is incorrect, or if you need to configure synchronization with a time server on your network, you must configure chrony on the server instance.

To set up chrony on your Turbonomic instance:

  1. Open an SSH terminal session to your Turbonomic instance.

  2. Open the chrony configuration file.

    sudo vi /etc/chrony.conf
  3. Specify the time servers that you want to use in your environment.

    The chrony file includes the following statements to configure time servers:

    pool 2.rocky.pool.ntp.org

    Enter statements for the servers that you want to use. Then delete or comment out the statements that you do not want to use.

    Specify a time server by running the following command syntax:

    server <My_Time_Server_Name> iburst
  4. Save the file.

  5. Restart the chrony service.

    sudo systemctl restart chronyd
  6. Verify that your time is correct.

    Run the date command.

    The output is similar to the following example:

    Fri Dec 6 21:09:26 UTC 2019

    To verify that the time is synchronized, run the timedatectl command.

    The output is similar to the following example:

          Local time: Fri 2019-12-06 21:09:26 UTC
      Universal time: Fri 2019-12-06 21:09:26 UTC
            RTC time: Fri 2019-12-06 21:09:27
           Time zone: UTC (UTC, +0000)
         NTP enabled: yes
    NTP synchronized: yes
     RTC in local TZ: no
          DST active: n/a
    

    To verify the time, compare the date output with the output from a known Coordinated Universal Time time server.