Import from Clearcase LIV_TRC6500_V2.2.3
[debian6500.git] / install / cluster / master / etc / chrony / chrony.conf
CommitLineData
4e802319 1# This the default chrony.conf file for the Debian chrony package. After
2# editing this file use the command 'invoke-rc.d chrony restart' to make
3# your changes take effect. John Hasler <jhasler@debian.org> 1998-2008
4
5# See www.pool.ntp.org for an explanation of these servers. Please
6# consider joining the project if possible. If you can't or don't want to
7# use these servers I suggest that you try your ISP's nameservers. We mark
8# the servers 'offline' so that chronyd won't try to connect when the link
9# is down. Scripts in /etc/ppp/ip-up.d and /etc/ppp/ip-down.d use chronyc
10# commands to switch it on when a dialup link comes up and off when it goes
11# down. Code in /etc/init.d/chrony attempts to determine whether or not
12# the link is up at boot time and set the online status accordingly. If
13# you have an always-on connection such as cable omit the 'offline'
14# directive and chronyd will default to online.
15#
16# Note that if Chrony tries to go "online" and dns lookup of the servers
17# fails they will be discarded. Thus under some circumstances it is
18# better to use IP numbers than host names.
19
20server gps offline
21#server 0.debian.pool.ntp.org offline minpoll 8
22#server 1.debian.pool.ntp.org offline minpoll 8
23#server 2.debian.pool.ntp.org offline minpoll 8
24#server 3.debian.pool.ntp.org offline minpoll 8
25
26
27# Look here for the admin password needed for chronyc. The initial
28# password is generated by a random process at install time. You may
29# change it if you wish.
30
31keyfile /etc/chrony/chrony.keys
32
33# Set runtime command key. Note that if you change the key (not the
34# password) to anything other than 1 you will need to edit
35# /etc/ppp/ip-up.d/chrony, /etc/ppp/ip-down.d/chrony, /etc/init.d/chrony
36# and /etc/cron.weekly/chrony as these scripts use it to get the password.
37
38commandkey 1
39
40# I moved the driftfile to /var/lib/chrony to comply with the Debian
41# filesystem standard.
42
43driftfile /var/lib/chrony/chrony.drift
44
45# Comment this line out to turn off logging.
46
47log tracking measurements statistics
48logdir /var/log/chrony
49
50# Stop bad estimates upsetting machine clock.
51
52maxupdateskew 100.0
53
54# Dump measurements when daemon exits.
55
56dumponexit
57
58# Specify directory for dumping measurements.
59
60dumpdir /var/lib/chrony
61
62# Let computer be a server when it is unsynchronised.
63
64local stratum 10
65
66# Allow computers on the unrouted nets to use the server.
67
68#allow 10/8
69#allow 192.168/16
70#allow 172.16/12
71allow 10.133.26/24
72allow 10.133.28/24
73
74# This directive forces `chronyd' to send a message to syslog if it
75# makes a system clock adjustment larger than a threshold value in seconds.
76
77logchange 0.5
78
79# This directive defines an email address to which mail should be sent
80# if chronyd applies a correction exceeding a particular threshold to the
81# system clock.
82
83# mailonchange root@localhost 0.5
84
85# This directive tells chrony to regulate the real-time clock and tells it
86# Where to store related data. It may not work on some newer motherboards
87# that use the HPET real-time clock. It requires enhanced real-time
88# support in the kernel. I've commented it out because with certain
89# combinations of motherboard and kernel it is reported to cause lockups.
90
91rtcfile /var/lib/chrony/chrony.rtc
92
93# If the last line of this file reads 'rtconutc' chrony will assume that
94# the CMOS clock is on UTC (GMT). If it reads '# rtconutc' or is absent
95# chrony will assume local time. The line (if any) was written by the
96# chrony postinst based on what it found in /etc/default/rcS. You may
97# change it if necessary.
98# rtconutc