Re: Building a strat1/2 time server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Mark Haney" <mhaney@xxxxxxxxxxxxxxxx> wrote:

Weiner, Michael wrote:
> Dear list readers - > > > > Sorry to cause some additional noise on the list, but I am looking for
> help in building a strat1 or 2 time server. I have a Fedora Core 6
> server running with the latest NTP server installed. What I am trying to
> do actually is build an authoritative or reference time server that we
> can use here for testing daylight saving time adjustments in our
> environment. After thinking about it, I have come to the sane conclusion
> that this wont work with a normal ntp server as it will constantly want
> to FIX the time back and my ntpclients wont pull time if the server is
> out of whack. So I need to build an ntp server that doesn't go out and
> sync with an outside source, that my clients can use in this test
> environment. So, my question is, just how do you build one?
> > > > Any insights and additional information would be greatly appreciated. > > Michael Weiner > > > =================================== >
The only way that I know of to get this kind of a time source, is to actually have a strat1 or 2 time source in your location. We had this discussion here at the office a while back, since we ahve a strat2 cesium clock to sync all our SONET rings. Even then, if you don't have people actually syncing from the strat2 directly, and only have the ntp server syncing it, it will still technically be only a strat3 time source.

HTH.
Why don't you just pull down the ntp source rpm and hack the code? The problem with using a real strat1/2 ntp time server is it would still report the correct time. Instead, hack the ntp server code to report the time with an offset. Then just point the system under test at your hacked time server. If you get creative in your hacking, you can even make the "offset" easy to change (e.g., read from a file, an environment variable, etc.).

Cheers,
Dave

--
Politics, n. Strife of interests masquerading as a contest of principles.
-- Ambrose Bierce


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux