NTP time synchronization

Source: Internet
Author: User
Tags chrony

NTP1. Function: Synchronization Time

.2. Principle: Layered Structure

.3. Software: EL6:NTP el7:chrony

4.EL6 Master configuration file

/etc/ntp.confrestrict 172.25.0.0 Mask 255.255.255.0--allow anyone to sync with me

Server 172.25.0.10--I'm looking for someone to do synchronous special expressions

127.127.1.0 represents the local system time. Synchronizes with local time, specifying the number of tiers: Server 127.127.1.0 fudge127.127.1.0 stratum 10 on the client, using Ntpdate-u 172.25.0.11来 Sync time when we restart the NTP service, we need to wait 5-10 minutes to be able to be synchronized successfully

.5. EL7 Master profile/etc/chrony.confallow 172.25.0/24 allow anyone to sync with me

Server--and who do synchronize and local time do synchronization, specify the number of layers in the way

Server 172.25.0.10local stratum 10

On the client, use Ntpdate-u 172.25.0.10来 to synchronize with the server

Ntp

This article is from the "11601463" blog, please be sure to keep this source http://11611463.blog.51cto.com/11601463/1865136

NTP time synchronization

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.