NTP Configuration Guide for Gentoo Infrastructure Servers
1.
Gentoo Infrastructure guidelines for running NTP
General Guidelines
NTP is required to be configured and running on all Gentoo Infrastructure servers. Below are sample configuration settings for NTP:
Code Listing 1.1: /etc/ntp.conf |
logfile /var/log/ntpd.log
driftfile /var/state/ntp.drift
# Name of the servers ntpd should sync with
server ntp.ctr.columbia.edu
server ntp0.cornell.edu
server sundial.columbia.edu
server timex.cs.columbia.edu
|
Code Listing 1.2: /etc/conf.d/ntp-client |
NTPCLIENT_CMD="ntpdate"
NTPCLIENT_OPTS="-b time.orst.edu"
|
Add both ntpd and ntp-client to the default run level via rc-update so that ntpd will use only the system logger instead of both when doing time synchronization.
|