Differences between revisions 5 and 6
Revision 5 as of 2017-12-13 13:50:53
Size: 858
Comment:
Revision 6 as of 2017-12-13 13:52:18
Size: 857
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
Keeping time is important. Especially when debugging an issue between servers. It is a pain comparing logfiles with a time skew. For that reason we will configure two NTP servers that all clients will synchronize their clock to. Keeping time is important. Especially when debugging an issue between servers. It is a pain comparing logfiles with a time skew. For that reason we will configure two NTP servers that all clients will synchronize their time to.

NTP

Keeping time is important. Especially when debugging an issue between servers. It is a pain comparing logfiles with a time skew. For that reason we will configure two NTP servers that all clients will synchronize their time to.

Configuring a redundant NTP server does not really make any sense. The DHCP server sends option ntp-servers to the DHCP clients, so if one NTP server is down, then the other will get the request instead.

Network

The NTP servers will have fixed IP-addresses. That is configured in the DHCP servers list of statically assigned IP-adresses by using the Domains MAC address.

  • 192.168.1.38 ntp01
  • 192.168.1.39 ntp02

Software

Set the Time

apt-get install ntpdate
ntpdate pool.ntp.org
hwclock --systohc

Install the NTP Daemon

apt-get install ntp

None: NTP (last edited 2021-03-19 23:21:59 by Kristian Kallenberg)