Page MenuHomeDevCentral

Configure NTP in rOPS
Closed, ResolvedPublic

Event Timeline

dereckson removed dereckson as the assignee of this task.Mar 8 2018, 21:07

Could have been interesting to add more context on this.

At one moment, we made an effort to pick NTP servers from geographic pool

Currently, we've on WindRiver for example:

/etc/ntp.conf on WindRiver
$ cat /etc/ntp.conf | grep -v '#' | uniq
tos minclock 3 maxclock 6

pool 0.freebsd.pool.ntp.org iburst
pool 2.freebsd.pool.ntp.org iburst

restrict default limited kod nomodify notrap noquery nopeer
restrict source  limited kod nomodify notrap noquery

restrict 127.0.0.1
restrict ::1

leapfile "/var/db/ntpd.leap-seconds.list"

On Linux servers, chrony is used:

/etc/chrony.conf on docker-002
$ cat /etc/chrony.conf | grep -v '#' | uniq
pool 2.rocky.pool.ntp.org iburst

sourcedir /run/chrony-dhcp

driftfile /var/lib/chrony/drift

makestep 1.0 3

rtcsync

keyfile /etc/chrony.keys

ntsdumpdir /var/lib/chrony

leapsectz right/UTC

logdir /var/log/chrony

With the DNS as parent, we could also have considered to host our NTP to allow servers on the same hypervisor to sync more easily.

dereckson claimed this task.
dereckson added subscribers: Duranzed, ptdradmin.

Deployed to all servers during meet-up on Jitsi with @ptdradmin and @Duranzed

18:44:02 < Dereckson> .+log [WindRiver] Update NTP pool to use France servers (D3990)
18:56:39 < Dereckson> .+log [Dwellers] Update NTP pool to use France servers (D3990)
18:57:49 < Dereckson> .+log [*] Update NTP pool to use France servers (D3990)