linux_wiki:synchronize_time_using_other_ntp_peers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux_wiki:synchronize_time_using_other_ntp_peers [2016/10/08 17:41]
billdozor
linux_wiki:synchronize_time_using_other_ntp_peers [2019/05/25 23:50] (current)
Line 5: Line 5:
 Synchronizing time to a central time server and also keeping in sync with a peer server. Synchronizing time to a central time server and also keeping in sync with a peer server.
  
-This type of setup would be a tier two NTP setup, allowing for redundancy if the central source of time is lost. The two peers could agree on a time and provide it locally to other servers.+This type of setup is a tier two NTP setup, allowing for redundancy if the central source of time is lost. The two peers then agree on a time and provide it locally to other servers.
  
 ---- ----
Line 18: Line 18:
 ---- ----
  
-====== NTP: Time Server ======+====== NTP: Central Time Server ======
  
 Setting up the "central time server" to allow the other servers to sync to it. Setting up the "central time server" to allow the other servers to sync to it.
  
   * Server: ipa.example.com (192.168.1.152)   * Server: ipa.example.com (192.168.1.152)
 +    * This server should already have ntpd installed and working if FreeIPA has been setup.
  
 \\ \\
Line 67: Line 68:
 # On server2: Peer with server1 # On server2: Peer with server1
 peer 192.168.1.150 peer 192.168.1.150
 +</code>
 +
 +\\
 +Ensure that the firewall allows NTP in (on both server1 and server2)
 +<code bash>
 +firewall-cmd --permanent --add-service=ntp
 +firewall-cmd --reload
 </code> </code>
  
Line 86: Line 94:
 chronyc sources -v chronyc sources -v
 </code> </code>
 +  * Note: It may take a few minutes for the servers to enter a synced state on the peers.
  
 ---- ----
  
  • linux_wiki/synchronize_time_using_other_ntp_peers.1475962873.txt.gz
  • Last modified: 2019/05/25 23:50
  • (external edit)