Home > Workload Solutions > Oracle > Best Practices > AMD-Based Oracle Best Practices on Dell PowerEdge R740 and PowerMax 2000 > Linux Best Practices > Day Three Best Practices > Red Hat Enterprise Linux: NTP Protocol
In this best practice Network Time Protocol (NTP) is implemented. Implementing NTP across database servers allows all the databases to synchronize to the same time.
Category | Operating System |
Product | Red Hat Enterprise Linux 8.3 |
Type of best practice | Configuration |
Day and value | Day 3, Fine Tuning |
Overview
The Network Time Protocol (NTP) synchronizes clocks between computer systems using the network. In this best practice, our Oracle database servers will be synchronized. This is important for analyzing the systems, scheduling jobs, and perhaps implementing Oracle Real Application Clusters. This is not a performance best practice, as the goal is to have all our database servers synchronized from the same NTP server.
Recommendation
The expectation in implementing NTP on our servers was that there would be no significant impact to performance. The following performance metrics did not change when NTP was running on the database servers:
Implementation Steps
In Red Hat 8, the NTP protocol is implemented by the chrony daemon through the chrony package. The following steps detail how to configure the daemon:
#yum install chrony
# systemctl status chronyd
# systemctl start chronyd
# systemctl enable chronyd
Configure NTP server:
# vi /etc/chrony.conf allow 10.230.82.0/24
Configure NTP client:
# vi /etc/chrony.conf allow 10.230.82.0/24
systemctl restart chronyd
Configure NTP client:
# vi /etc/chrony.conf allow 10.230.82.0/24
systemctl restart chronyd
#chronyc sources
Additional Resources
Configuring Basic System Settings, Red Hat Enterprise Linux 8