In this best practice we implemented the Network Time Protocol (NTP). Implementing NTP enables multiple computer systems to synchronize time which can be critical for applications and their recovery.
|
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) is used to synchronize clocks between computer systems. NTP enabled servers have a common time reference enabling activities like analysis, audits, and performance tuning. This is not a performance best practice as the goal is to have all our database servers synchronized from the same NTP server.
Recommendation
We did not expect significant performance changes upon implementing NTP. The performance metrics below showed no change when NTP was running on the database servers:
- New Orders per Minute (NOPM)
- Transactions per Minute (TPM)
- PowerMax IOPS
- Server CPU utilization
- DB File Sequential Read
- Log File Parallel Write
Implementation Steps
In RHEL8, the NTP protocol is implemented by the chrony daemon through the chrony package
Use the following steps to configure the daemon:
- Install the chrony patckage if it is not installed: #yum install chrony
- Edit /etc/chrony.conf file by adding k.
- To start chronyd: # systemctl start chronyd
- To stop chronyd: # systemctl stop chronyd
- To ensure chrondy starts automatically at system start, # systemctl enable chronyd
- To check if chrony is synchronized :$chronyc tracking
- To check chrony source: #chronyc sources
- To check chrony source statistics: #chronyc sourcestats
Additional Resources
Red Hat Product Documentation: Configuring basic system settings