Table of Contents

Configure A System To Use Time Services

General Information

Managing time using different methods.


Time Options


Chrony

Two new RHEL 7 tools:


View current detailed time information

timedatectl


View available timezones

timedatectl list-timezones


Set timezone

timedatectl set-timezone America/Chicago


Set system clock to 12:30pm and 10 seconds:

timedatectl set-time 12:30:10


Enable the use of NTP for time

timedatectl set-ntp true


NTP service config file (chronyd)


NTP server entry examples in /etc/chrony.conf

server 0.pool.ntp.org iburst
server 1.pool.ntp.org iburst
server 2.pool.ntp.org iburst
server 3.pool.ntp.org iburst


Check status of NTP service, Restart it

systemctl status chronyd
systemctl restart chronyd


View NTP sources

chronyc sources -v