Re: Suggested clockspeed/taiclockd invocation at boot
[email protected] (Paul Jarc) Mon, 02 Dec 2002 00:08:58 -0500
| Newsgroups | gmane.comp.lib.libtai |
|---|---|
| Organization | What did you have in mind? A short, blunt, human pyramid? |
| Message-ID | <[email protected]> |
Darren Spruell <[email protected]> wrote: > I'm hoping to find an effective and easy solution by which I can cause > my servers to snyc their clocks against a master taiclockd server on > the LAN at startup. Preferably, this would be something that runs > through daemontools' /service setup, if possible. /service is for things that run continuously, not just at startup. You want to have clockspeed running continuously; create a service whose run script simply exec's clockspeed. On the master, you also want to publish the clock; create a service whose run script simply execs taiclockd. clockspeed will not do any network communication; the clients will have to also be configured to run taiclock and feed the result to clockspeed via /usr/local/clockspeed/adjust. At boot, you might (or might not) want to jump the clock into sync by feeding the taiclock output to clockadd. > The problem I'm facing is this: following the directions in INSTALL, I > have to feed clockspeed a series of adjustments involving a process up > to several months in length, for high accuracy. Upon system reboot, am > I going to have to start this process over again? No. clockspeed remembers your clock skew in /usr/local/clockspeed/etc/atto. However, you will still want to get occasional adjustments from the master for the slaves. That's what taiclock and taickockd are for. paul