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