Managing System Time with `chrony` in SUSE Linux Enterprise

15 minutes
  • 2 Learning Objectives

About this Hands-on Lab

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.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Using YaST, Add the Two Time Servers: `tick.jrc.us` and `tock.jrc.us`
  1. Launch the YaST ncurses interface:

    sudo yast
  2. On the left select Network Services.

  3. On the right select NTP Configuration.

  4. Configure Start NTP daemon to Now and on Boot.

  5. Tab to Configuration Source, select Dynamic, and arrow down to change it to Static.

  6. Tab down to Servers and select Add.

  7. Replace the existing server with tick.jrc.us, select Test to ensure
    it is responding, and then go to OK.

  8. Tab down to Add, add tock.jrc.us, and select Test to make sure it is
    reachable.

  9. Tab to Quit at the bottom of the page, until you have exited YaST completely.

On the Command Line, Use `chronyc` to Verify the Time Servers Are Set and Responding
  1. 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 and tock to ensure they are workking.

  2. Run the command again, and check to ensure the RX count has increased and the
    servers are running.

Additional Resources

Your enterprise has indicated it is having issues with some certificate services on one of the production servers. It has determined this is caused by time drift. You have been asked to configure additional network time servers and ensure they are updating correctly. You will need to:

  • Use YaST to add two time servers: tick.jrc.us and tock.jrc.us.
  • From the command line, use chronyc to verify the two time servers are set and responding.

What are Hands-on Labs

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.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?