Join Chaim Krause for an in-depth discussion in this video Time synchronization, part of SUSE Linux Enterprise Server Essential Training.
- [Instructor] NTP, Network Time Protocol it's all about time synchronization. Let's look at the problem space. If you've got just your server, you've got one clock and everything uses that clock, so it's easy to timestamp things and know that they're all synchronized. If you've got another server and you need to interact with that and you need to synchronize things like transactions and logs you need to make sure that the clocks on different hardware are synchronized.
It gets even more complicated when you've got even more servers and in today's world, we aren't isolated. We have web services and other services that are on other computers outside of our enterprise and we need to synchronize with them as well. So there's been a standardization on time clocks. The U.S. runs its own clock which is set as its standard and then nations coordinated to have an international standard and on the internet these servers connect to each other so they can all be synchronized in terms of time.
What's more efficient though, is to have a server in your organization synchronize with the outside world and then have your internal servers synchronize with it. So what I'm gonna show you how to do is set up one of those servers that acts both as an NTP client to the world but is a server to its neighbors. I'm in Yast and I'm going to choose Date and Time to set up our server.
So when I did an installation of the operating system I just set the hardware clock and I didn't synchronize it with anything else so this server is standing on its own right now. I'm gonna show you how to integrate it with other time servers and that is by choosing Other Settings. From here we're gonna switch from manually setting the time to synchronizing with an NTP server and you have some to choose from but it defaults to the one in the U.S.
and we're gonna use that when we are the client. So we are going to ask the time from that NTP server. So that's set up as a client but we also want to be a server so we're going to choose to run as an NTP daemon and we need to configure that. What we want to do is have it synchronize Now and on Boot. We've got our server chosen and so all we need to do here is click on OK.
It's now synchronized with the other NTP server out on the internet. Now that we've got everything set up all we do is click Accept and we're up and running.
- What is SUSE Linux Enterprise?
- Installing SLES
- Linux file types
- Working at the command line
- Managing processes
- Working with background processes
- Managing users and groups
- Changing file permissions
- Configuring network interfaces
- Displaying hardware information
- Managing drivers