Gentoo Archives: gentoo-user

From: Nick Khamis <symack@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Server system date synchronizaion
Date: Fri, 26 Apr 2013 15:27:34
Message-Id: CAGWRaZaapyx6nbOS0LWM6uOqazbmgd4evnHYVdwHjckgtvmPhA@mail.gmail.com
In Reply to: Re: [gentoo-user] Server system date synchronizaion by Jarry
1 On 4/26/13, Jarry <mr.jarry@×××××.com> wrote:
2 > On 26-Apr-13 16:10, Joseph wrote:
3 >> On 04/25/13 10:33, Nick Khamis wrote:
4 >>>
5 >>> We are trying to sync our server's time with an accurate ntp
6 >>> server, and was wondering which of the many solutions are
7 >>> considered viable. I did see the
8 >>> http://en.gentoo-wiki.com/wiki/Time_Synchronization.
9 >>> Our services are quite time sensitive.
10 >>
11 >> put this script on a cron and enjoy :-)
12 >>
13 >> #!/bin/sh
14 >> /usr/bin/rdate -s 128.138.140.44
15 >> /sbin/hwclock --systohc
16 >
17 > Yeah, enjoy mysterious crashes of some services which die
18 > whenever system time changes rapidly, in one big step
19 > (i.e. dovecot, TS, etc)!
20 >
21 > Man, I sincerely hope you do *NOT* mean this seriously.
22 > It might work on desktop but that's definitely NOT the way
23 > time on servers should be updated! Some services are so
24 > sensitive they crash even if you shift time 0.2s back
25 > or forth!
26 >
27 > I had even to include "tinker step 0" in my ntpd.conf
28 > just because of that problem (it means ntpd will now never
29 > adjust time by stepping, always only by slewing, which in
30 > my case is max 0.5ms per second)...
31 >
32 > Jarry
33 > --
34 > _______________________________________________________________
35 > This mailbox accepts e-mails only from selected mailing-lists!
36 > Everything else is considered to be spam and therefore deleted.
37 >
38 >
39
40 Hello Everyone,
41
42 Thank you for the many solutions however, I am totally lost as to which would
43 be most reliable in a collocation setting vs. office desktop. What we would like
44 is to set up our own ntp server which other servers and desktops in our office
45 syncs to. Is this advised? If so, is there a nice tutorial online?
46
47 Kind Regards,
48
49 N.

Replies

Subject Author
Re: [gentoo-user] Server system date synchronizaion Alan McKinnon <alan.mckinnon@×××××.com>