Re: Suggested clockspeed/taiclockd invocation at boot

Darren Spruell <[email protected]> Mon, 02 Dec 2002 21:49:23 -0700
Newsgroups gmane.comp.lib.libtai
Message-ID <[email protected]>
Curses to the difficult-to-search Geocrawler list archives...

Before I reinvent the wheel, can someone submit suitable run scripts to 
the list, preferably for clockspeed on the clients and taiclockd on the 
master?

TIA

DS


Mariano Absatz wrote:
> El 2 Dec 2002 a las 16:30, Paul Jarc escribió:
> 
> 
>>"Mariano Absatz" <[email protected]> wrote:
>>
>>>If you want to "periodically correct clockspeed's knowledge of that
>>>skew" you should put a
>>> taiclock `dnsip my.taiclockd.server` |clockadd
>>>inside your crontab or similar...
>>
>>No.  Do not run clockadd (or date -s, or equivalent) while clockspeed
>>is running.  clockspeed will not know about, and will eventually
>>override, those changes.  Write the adjustments to
>>/usr/local/clockspeed/adjust instead.
>>
>>
>>paul
> 
> 
> You're right... my crontab entry is more like:
>  taiclock `dnsip my.taiclockd.server` >/usr/local/clockspeed/adjust
> In fact one minute _before_ this I have an entry like:
>  taiclock `dnsip my.taiclockd.server` | clockview >> /var/log/clockskew.log
> to see how good, or rather, how _BAD_ the clock is working...
> 
> I have one machine that's been up & running for a week or so and adjusts 
> daily from another one (that has a much more decent clock)... I've seen 
> differences ranging from 1 to almost 5 seconds (1 beeing the "normal" 
> difference)... this is with clockspeed running.

-- 

   +-------------------------------------------------------------+
   | Darren Spruell               GPG Public Key 1024D/43F439AE: |
   | [email protected]          1F9D 4BCE 4A49 C845 A817       |
   | http://www.sancho2k.net/     18B3 D978 3565 43F4 39AE       |
   +-------------------------------------------------------------+