- Lab
- A Cloud Guru
Managing System Time with `chrony` in SUSE Linux Enterprise
In this hands-on lab, we will explore the configuration of `chrony` in SUSE Linux Enterprise. This tool is used to configure the Network Time Protocol (NTP), which is used to set the time on the server and allows the server to use an external reference to ensure its time is synchronized with other systems. This is important because an incorrect system time can impact certificates and keys.
Path Info
Table of Contents
-
Challenge
Using YaST, Add the Two Time Servers: `tick.jrc.us` and `tock.jrc.us`
-
Launch the YaST ncurses interface:
sudo yast
-
On the left select Network Services.
-
On the right select NTP Configuration.
-
Configure
Start NTP daemon
toNow and on Boot
. -
Tab to Configuration Source, select Dynamic, and arrow down to change it to Static.
-
Tab down to Servers and select Add.
-
Replace the existing server with
tick.jrc.us
, select Test to ensure it is responding, and then go to OK. -
Tab down to Add, add
tock.jrc.us
, and select Test to make sure it is reachable. -
Tab to Quit at the bottom of the page, until you have exited YaST completely.
-
-
Challenge
On the Command Line, Use `chronyc` to Verify the Time Servers Are Set and Responding
-
At the shell prompt, run the command:
chronyc sources -v
You will see there is a third time server configured. This server is provided as a reference. Look at the output of the server at the 169 address and compare the output of
tick
andtock
to ensure they are workking. -
Run the command again, and check to ensure the RX count has increased and the servers are running.
-
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.