Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

npt/xntpd time sync from AIX to Win2k 1

Status
Not open for further replies.

dwcasey

MIS
Oct 31, 2002
179
US
Anyone done this? I have my ntp.conf setup:

server xx.xx.xx.xx prefer # server01.domain.com
#
logfile /var/adm/ntp.log
statsdir /var/ntp/ntpstats/
driftfile /etc/ntp.drift
tracefile /etc/ntp.trace

And xntpdc -s shows:

server02:/var/adm # xntpdc -s
remote local st poll reach delay offset disp
=======================================================================
server01.domain xx.xx.xx.xx 2 64 17 0.00060 3593.4264 1.87503

But my time on AIX is not changing...xntpdc -s shows:

server02:/var/adm # xntpdc -c "pstats xx.xx.xx.xx"
remote host: server01.domain.com
local interface: xx.xx.xx.xx
time last received: 55s
time until next send: 9s
reachability change: 247s
packets sent: 4
packets received: 4
bad authentication: 0
bogus origin: 0
duplicate: 0
bad dispersion: 4
bad reference time: 0
candidate order: 0
 
I should also add that manually executing the ntpdate command works fine against the Win2k NTP server. Date/time gets set fine that way.

But what I'm seeing with xntpd is that after a minute or, it goes away...the subsystem stops running. Do I have to specify any additional options to have it get updated AND to keep running? Thanks again.
 
Take a look at this long thread. Another user had problems keeping xntpd running and this thread gives tips on that:

thread52-302779
 
Will do, thanks.

I did find one thing, though. Appears that if there is too much of a diff between the two machines, AIX does not want to set the time??? Anyway, thanks for the link.
 
xntp uses slewing (I think that's the name) so the time change will be gradual. Older variations of time sync used slamming (again, I think that's the name): the time would be changed immediately ("slammed"). This could cause problems with databases (especially if the time went back, rather than forward).

If you don't see a gradual decline in the difference in the time between the two servers in about an hour, post back and we'll work it out.

Thanks for the star!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top