NTP and Leap Second testing (update)NTP gurus
(and especially Dave Hart who was kind enough to correspond previously)
Have been doing (finally) some testing with the aid of VM systems. I took DH advice and used one at ntp 4.2.6 (not the most recent admittedly) as the server and the client based on our RHEL 4.3 + odd bits that has ntpd 4.2.0a@1.1190-r on it.
I used the leap-seconds file from the usual place to "prime" the server and set the local date and time to 30 June 2012 2350 UTC on both systems. At this point NTP was off.
Having enabled ntpd I watched the usual traffic and start up and was able to see the LI ...
Time and time again (UTC leap seconds)I just did a tiny NTP time read utility. NTP comes in UTC, which is in
seconds
since 1900 - OK, I did that. There are a number of years between 1972
and
now which have been 1or 2 seconds longer - I found a table of them
(in wikipedia) and did things accordingly.
Only to discover that the time I reported so was 23 (or so) seconds
behind
the time the wintel system finds using the same server...
I immediately tried things out without the additional UTC seconds
(just
stripped all +1 out of the source:-) and there is was - precise match.
Now what do I do? Who is correct? I'll wait another 1...
Make NTP timestamps leap-second-neutral (like GPS time)Proposal:
---------
Currently, NTP timestamps are defined to represent UTC based on a sliding
epoch such that UTC can be derived from seconds-since-epoch using simple
Gregorian conversion (where each day has exactly 86400 seconds).
I propose to redefine NTP to be tied to TAI (International Atomic Time)
but referenced to 2000, so that: NTP(2000) = UTC(2000) = TAI-32 = GPS-13
and from now on: NTP = TAI-32 = GPS-13
This is a good time to propose such a change. There have been no leap
seconds since July 1999. I wish I had done so sooner (this here is based
on an internal memo I wr...
Processing of Network Time Protocol sntpcTimeGet with "leap seconds"Does anyone know off the top of their head....
Does Wind Rivers SNTP support only 64 bit counters as would be returned
in RFC 1305 or does it also handle a "Date String" reponse of the type
found in RFC 867 and then convert it to a 64 bit counter and return it
via the sntpcTimeGet?
If RFC 867 is supported, If a time like "8:59:60" (leap second
added at a particularly bad moment)is recived from NTP server, will
Wind Rivers is a valid time and convert it properly?
Does WRS NTP code support (or need to support) the Leap Indicator bit
"(01,10)" indicating existence...
leap second - 30th june 2015Hi,
I've been tasked with preparing our company servers for the leap second com=
ing up at the end of June 2015. we've already been testing out our own leap=
smear over a 6 hour period leading up to the the leap second (so our serve=
rs gradually add time over a 6 hour period ending up at the correct time @ =
midnight UTC).
I've read about how Google handled the leap smear previously in June 2012 a=
nd I've read they will be doing the same again this time round. My question=
is, are the Google time servers going to implement the smear or are they g=
oing to do wh...
Leap Second testingHi folks
Some of you may recall a question I posted several weeks ago (and to which principally Dave Hart replied) about Leap Second and a testing scenario for our systems.
I am processing this at the moment and found what seems to be interesting information, unexpected to me.
I was using ntptime to set the status bits for a system running a server (Centos 5, ntpd 4.2.2p1). Tis allowed me to set the LI indicator and apparently to clear it. The output from ntptime is shown at the end of this message. When I look at the syslog (/var/log/messages) I see what seems to be a +1 second jump at ab...
NTP and leap secondsHi,
I'm sure this has been asnwered before but couldn't find the FAQ. I've
read the RFC and am still a bit confused.
Do NTP time signals include leap seconds?
I have a system running SNTP, do I need to add leap seconds to the
system clock after updating it with the timestamp SNTP sent?
Thanks in advance.
Chris.
CR wrote:
> I'm sure this has been asnwered before but couldn't find the FAQ. I've
> read the RFC and am still a bit confused.
>
> Do NTP time signals include leap seconds?
There is a specific two bit field for signaling leap seconds in NTP...
test test test test test testtest test test test test test test
...
TESTING TESTING TESTING TESTING TESTINGTESTING TESTING TESTING TESTING TESTING
...
NTP Leap Seconds IndicatorI have a question about the leap seconds indicator. Based on my
understanding of ntp, and the html page on your site dealing with leap
seconds, http://www.cis.udel.edu/~mills/leap.html, I have been telling
my team that the leap second indicator was the only true arbiter of
whether a mode 4 reply packet was in the leap second or the subsequent
second. Therefore, we had to ensure that the value was cleared on the
rising edge of the first second of the day following the
insertion/deletion. So, we set up tests and I defined a control sample
which was a linux box running stock ntp distribution, ...
Unix Time and Leap SecondsI have Red Hat Enterprise Linux 4.
I was just reading up about UTC and leap seconds.
Is it true on my system that the Unix time may skip up or down by one second
at midnight when there is a leap second?
By "Unix time" I mean the integer returned by time() and similar functions.
I'm concerned about the "down" case. Some of the software I've written
assumes monotonically-increasing time.
Thanks.
--
David T. Ashley (dta@e3ft.com)
http://www.e3ft.com (Consulting Home Page)
http://www.dtashley.com (Personal Home Page)
http://gpl.e3ft.com...
Purpose of a leap second file?Given the recent thread here about the upcoming leap second, I wanted to
know what additional service/value the leap second file provides that
isn't handled by ntpd receiving a message to add or remove a second. I
understand the generic ntpd documentation includes a flag to add a leap
second so it seems that the leap second file isn't necessary (and that's
also borne out in searches) but it must provide something otherwise it
wouldn't exist. The documents mention a "graceful" handling, but what
does that mean exactly?
"A C" <agcarver+ntp@acarver...
Leap-second test with ntpdHi everyone,
I am trying to setup an ntpd to use the local clock as the "reference sourc=
e" and so I can set the time to late June and verify 1) what ntpd does and =
2) what clients do.
I had it working with the 4.2.4 that comes with FreeBSD 10.1 (and the local=
clock), but I wanted to use 4.2.8 since that's what is supported (and beca=
use of the better, I think, support for the leap second list file).
With 4.2.4 then I could configure ntpd with this and it'd serve time to cli=
ents:
server 127.127.1.1 minpoll 4 maxpoll 5
fudge 127.127.1.1 stratum 4
W...
test test test test
...
Unix Time and Leap SecondsI have Red Hat Enterprise Linux 4.
I was just reading up about UTC and leap seconds.
Is it true on my system that the Unix time may skip up or down by one second
at midnight when there is a leap second?
By "Unix time" I mean the integer returned by time() and similar functions.
I'm concerned about the "down" case. Some of the software I've written
assumes monotonically-increasing time.
Thanks.
--
David T. Ashley (dta@e3ft.com)
http://www.e3ft.com (Consulting Home Page)
http://www.dtashley.com (Personal Home Page)
http://gpl.e3ft.c...
How to insert a leap second with ntpqHello,
I have a question about leap indicator.
I need to do some tests with ntpd and I want to have NTP packets set Leap indicator in order to insert a leap second to a Linux server running ntp client.
How can I configure the server to generate a packet with Leap indicator 0x01?
Thanks in advance.
I got the syntax of ntpq is as follows
Syntax
ntpq [ -i ] [ -n ] [ -p ] [ -c SubCommand ] [ Host ... ]
Leap Indicator (LI)
Code warning of impending leap-second to be inserted at the end of
the last day of the current month. Bits are coded as follows:
00 no warnin...
question on leap second insertion in syslogHello to the great brainy(s) out there..
Quick question about the logging of leap second in the syslog... we have few number of Linux boxes, last year December 2008 23:59:59 when there was a leap second inserted, all the systems reported "Clock: inserting leap second..."
But in our local testing for leap second inserting we noticed that the syslog reported "discipline status change 0010" at times "discipline status change 0011"
Can someone please explain me the difference here? I understand there are no issues, but for documenting purpose I need the information...
Network Time Protocol (NTP) for NonStopHas anyone used ntp on NonStop? HP has ported this for the OSS target.
I know Bowden systems sells NSK-NTP, but I am wondering if anyone has
used the open-source version.
Thanks in advance.
NonStopForEver wrote:
> Has anyone used ntp on NonStop? HP has ported this for the OSS target.
> I know Bowden systems sells NSK-NTP, but I am wondering if anyone has
> used the open-source version.
>
> Thanks in advance.
We use a product written by a german guy. It only acts as a client but
does the job. If you wany some details then PM me.
Hi Mark.
Is this the C code that gets...
Ignore leap second announcement on NTPHello,
Is there any proper way to configure ntpd in order to ignore leap second
announcements from remote NTP servers?
I have tried configuring leapfile/ntpkey_leap features in order to use
local configuration, but if the remote NTP server announces a leap
second it's forwarded to the client, and that's what I want to avoid.
Santi Saez
On Tue, Aug 21, 2012 at 10:34 UTC, Santi Saez <santi@woop.es> wrote:
> Is there any proper way to configure ntpd in order to ignore leap second
> announcements from remote NTP servers?
>
> I have tried configuring l...
NTP ( Network Time protocol ) With IngresDoes somebody use NTP ( ntpdate or xntpd ) with Ingres. Officialy NTP is not
compatible with Ingres.
Thanks.
Bruno.
At 11:34 AM 7/18/2003 +0200, Bruno Wipier wrote:
>Does somebody use NTP ( ntpdate or xntpd ) with Ingres. Officialy NTP is not
>compatible with Ingres.
>
>Thanks.
>
>Bruno.
Bruno,
I guess I'm a bit flustered. Is there some list of
UNIX utilities that are or are not "compatible" with
Ingres?
NTP merely keeps your clock in sync, usually within
milliseconds of the 'master'.
Is Ingres not compatible with the correct time? ;-)
Or are you running Ingres 6.4 and you are manually
dealing with Day Light Savings Time? In that
case, you might be fudging with the system clock and/or
time zone. I wouldn't run NTP in that case, unless
you learn to configure it to your rules.
By the way, DLST is evil.
Where, pray tell, is this "official" non-compatibility posted?
Cheers,
Michael Leo mleo@cariboulake.com Java, J2EE, .NET
Caribou Lake Software http://www.cariboulake.com Oracle, Ingres,
So much style without substance, so much stuff without style.
It's hard to recognize the real thing. It comes along once in a while.
- Grand Designs, Power Windows, Rush
...
M$Windows and ntp (and other time protocols)Looking for timeserv to sync a M$nt4 machine, I found this doucment at
MicroSoft: http://www.microsoft.com/windows2000/docs/wintimeserv.doc. It nicely
states (official?) details about M$Windows and time sync.
Is there a faq or such where this pointer / information can be added?
CBee
CBee wrote:
> Looking for timeserv to sync a M$nt4 machine, I found this doucment at
> MicroSoft: http://www.microsoft.com/windows2000/docs/wintimeserv.doc.
> It nicely states (official?) details about M$Windows and time sync.
>
> Is there a faq or such where this pointer / information can be...
Leap second test results under windowsHi all,
I've just updated our leap seconds info page at
http://www.meinberg.de/english/info/leap-second.htm#log-ntp
It now contains information I gathered using our "xmas edition" of ntpd for
Windows.
The page contains more information, and the graphs show a very good
behaviour of the NTP service under Windows.
Unfortunately there have been reports here on configurations where the time
synchronization under Windows has been messed up. As far as I can see, and
what I see from the logs that I've received, this is mostly due to the bad
behaviour of the upstream servers.
Ma...
NTP Leap Second on Windows XPOthers have reported large drift values. My driftfile has been steady
around -70 for over a year, but as soon as the leap second approached,
my values pegged at 500. They have been bouncing around since and today
have climbed to -59 and still climbing slowly. See
http://jerbaker.dhs.org/ntp/
As I understood, leap seconds means the time is adjusted instantly with
one second. This has nothing to do with the drift file! Please see my
responses on yesterday messages to see some graphs on FBSD and Win.
As I observed until today, no Windows system changed the time correctly
at 23:59:60UTC. Am ...
if time = 3 seconds, how do i set the values of the time steps 0,0.1,0.2,0.3,0.5,1.0,1.5,2.0,3.0,5.0 to -9999 from time =3 secondsHi
I have 18 inputs (arrays) which contain certain statistics and if time = 3 seconds, set the values of time step 5.0 to -9999.0.
I was wondering if there is an efficient way to do this without using a lot of case statements?
Thank you.
Hello AdrianT,
it's not really clear to me what you want to do...
I suspect: you have an array containing values and you want to output
them with a fixed timing of 3 seconds: you should use a for loop
autoindexing trough your array and sending the value to your
indicator/output/whatever. Put a "wa...