Re: [ntp:questions] service w32tm for client put into MS domain

2010-07-27 Thread Maarten Wiltink
"RICCARDO"  wrote in message
news:cc308ec7-ac80-4bcd-ae55-b0d8c527b...@u11g2000vbd.googlegroups.com...

> If I put my Win XP client into Microsoft domain, it will synchronize
> to my domai controller ? Where I can verify this configuration to be
> sure it will take time from DC and not external source ?

"w32tm /?" told me in ten seconds about the options /query /source.

It may not be exactly what you want. I suggest you read the rest of
the help text. You might have started with that, you know.

Groetjes,
Maarten Wiltink


___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] API for step time server notification

2010-07-27 Thread David J Taylor
"Rob Neal"  wrote in message 
news:20100726231053.ga78...@coyote.localhost.org...

[]

The 'trap' configuration file command may provide something useful.
It's not an API, but it notifies a listener of various ntpd events.


Sounds like one for SNMP .

David 


___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] Trouble with PPS and NTP

2010-07-27 Thread Ulrich Windl
Jared Peterson  writes:

> Hi. I have a Red Hat distribution running with a PPS Garmin input. The NTP
> server recognizes the Garmin input, but it's not adjusting to it's time. I'll
> post some diagnostic information. Thanks for the help.

[...]

> [r...@ntpps1 root]# ntpq -p
>  remote   refid  st t when poll reach   delay   offset  jitter
> ==
>  
>
>  GPS_NMEA(0) .GPS.0 l   13   6470.000   -4.149   0.276

If you rechecked while writing this, your "reach" should have gone to
something like "377", and ntpd should shave synchronized (I
guess). Impatient the youth these days is ;-)

Ulrich

___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] API for step time server notification

2010-07-27 Thread Thierry MARTIN
Hello,

Thank you for this debate :-).

Well, to my mind, it is a matter of fact that time stepping can occur
on a server having time managed with ntpd.
(My running ntp configuration leads the service to stop in such
conditions, and I have already seen that.)
I agree, it's probably with some special configuration and under
specific circumstances.
By the way, time step is the solution that suits my need (so chrony is
probably not the answer :-)).

Still, the need to be notified is here (at least, for me).

Also, as far as I could see in the source code (version ntp-4.2.2p1),
there's "only" a log message when a time step event occurs (cf
ntpdate.c:1427).
Unless someone points me to another "handler", I think I will have to
use some home-made workaround to detect this event (CLOCK_MONOTONIC vs
CLOCK_REALTIME may be my friends for this).

Once again, thank you all!

And have a nice day.

___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] service w32tm for client put into MS domain

2010-07-27 Thread RICCARDO
On 27 Lug, 09:07, "Maarten Wiltink" 
wrote:
> "RICCARDO"  wrote in message
>
> news:cc308ec7-ac80-4bcd-ae55-b0d8c527b...@u11g2000vbd.googlegroups.com...
>
> > If I put my Win XP client into Microsoft domain, it will synchronize
> > to my domai controller ? Where I can verify this configuration to be
> > sure it will take time from DC and not external source ?
>
> "w32tm /?" told me in ten seconds about the options /query /source.
>
> It may not be exactly what you want. I suggest you read the rest of
> the help text. You might have started with that, you know.
>
> Groetjes,
> Maarten Wiltink

I verified it takes time from DC, but I'm not able to verified it into
registry

___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] API for step time server notification

2010-07-27 Thread Thierry MARTIN
Oups, sorry, I have just seen that the messages I am interested in are
not "step time server" but rather:
"(...) ntpd[4569]: time reset +0.638100 s"

So please forget about "my" ntpdate.c:1427.




___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] API for step time server notification

2010-07-27 Thread Thierry MARTIN
Oups, sorry, I have just seen that the messages I am interested in are
not "step time server" but rather:
"(...) ntpd[4569]: time reset +0.638100 s"

So please forget about "my" ntpdate.c:1427.




___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] service w32tm for client put into MS domain

2010-07-27 Thread Rob
RICCARDO  wrote:
> If I put my Win XP client into Microsoft domain, it will synchronize
> to my domai controller ? Where I can verify this configuration to be
> sure it will take time from DC and not external source ?

Look on MS Technet for the documentation of w32time.

___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] API for step time server notification

2010-07-27 Thread Thierry MARTIN
Oups, sorry, I have just seen that the messages I am interested in are
not "step time server" but rather:
"(...) ntpd[4569]: time reset +0.638100 s"

So please forget about "my" ntpdate.c:1427.




___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] API for step time server notification

2010-07-27 Thread unruh
On 2010-07-27, Thierry MARTIN  wrote:
> Hello,
>
> Thank you for this debate :-).
>
> Well, to my mind, it is a matter of fact that time stepping can occur
> on a server having time managed with ntpd.
> (My running ntp configuration leads the service to stop in such
> conditions, and I have already seen that.)

Uh, manybe you should tell us what the special config is. No it should
NOT step. Something is very wrong if it is stepping.

> I agree, it's probably with some special configuration and under
> specific circumstances.
> By the way, time step is the solution that suits my need (so chrony is
> probably not the answer :-)).

How in the world is stepping ever the answer except on initial startup (
and chrony can be told to step then as well)? Note that chrony also
converges to the right time many times faster than does ntp and keeps
time 2-3 times better than does ntp (Lichvar as reported cases where
chrony was 20 times better than ntp).
. 
>
> Still, the need to be notified is here (at least, for me).
>
> Also, as far as I could see in the source code (version ntp-4.2.2p1),
> there's "only" a log message when a time step event occurs (cf
> ntpdate.c:1427).
> Unless someone points me to another "handler", I think I will have to
> use some home-made workaround to detect this event (CLOCK_MONOTONIC vs
> CLOCK_REALTIME may be my friends for this).

I suspect that your time would be better spent finding out why your
server is stepping.

>
> Once again, thank you all!
>
> And have a nice day.
>

___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions