(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:
0.centos.pool.ntp.org
1.centos.pool.ntp.org
2.centos.pool.ntp.org
3.centos.pool.ntp.org
To synchronize with these servers, your installation of Turbonomic must have access to the internet. If your environment restricts internet access, then you have to configure synchronization with a time server on your network.
In all cases, you should verify that the Turbonomic clock is properly synchronized. To check the system clock:
-
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
Username:
[your_private_password]
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 currently synchronized, along with other time synchronization information.
If the output is correct and your environment has access to the internet, you can assume 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:
Open an SSH terminal session to your Turbonomic instance.
Open the
chrony
configuration file.sudo vi /etc/chrony.conf
-
Specify the time servers that you want to use in your environment.
The
chrony
file includes the following statements to configure time servers:server 0.centos.pool.ntp.org iburst server 1.centos.pool.ntp.org iburst server 2.centos.pool.ntp.org iburst server 3.centos.pool.ntp.org iburst
Enter statements for the servers you want to use. Then delete or comment out the statements that you do not want to use.
Specify a time server via the following command syntax:
server <My_Time_Server_Name> iburst
Save the file.
Restart the chrony service.
sudo systemctl restart chronyd
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 the time has been 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 UTC time server.If the output is correct you can assume the system clock is synchronized.
If the output is incorrect, contact your support representative.