Operating System - HP-UX
1835114 Members
3737 Online
110076 Solutions
New Discussion

NTP configuration question

 
vz7r1x
Regular Advisor

NTP configuration question

I wanted to find out where to look for info on how to determine the synchronization and operating mode (ntp.conf does not show it).

Since DST is near, I want to make sure time is syncronized. If time synchronization does not work properly, how to disable it?

Here is a little info from my server (9000/800/SD32000--HP-UX 11i):

grep ntp /var/adm/syslog/syslog.log

Feb 26 15:08:05 ods xntpd[1163]: synchronisation lost Feb 26 15:13:24 ods xntpd[1163]: synchronized to {IP_Address}, stratum=2

ps -ef|grep -i ntp
root 1163 1 0 Dec 15 ? 3:18 /usr/sbin/xntpd

/etc/ntp/ does not exist

/etc/ntp.conf has only one line:
server {IP_Address} version 3 prefer

Thanks a lot.
4 REPLIES 4
Sunny Jaisinghani
Trusted Contributor

Re: NTP configuration question

Hi,

to find the standard time sources and synchronize the system with it use the ntpdate command. here is the man page for it.

http://docs.hp.com/en/B2355-90129/ntpdate.1M.html


sunny
James R. Ferguson
Acclaimed Contributor

Re: NTP configuration question

Hi:

To assess whether or not synchronization has occured and to assess how good your time sources are, use 'ntpq -pn'. See:

http://docs.hp.com/en/B2355-90774/ch04.html

Regards!

...JRF...
Sunny Jaisinghani
Trusted Contributor

Re: NTP configuration question

Hi,

this will give you the complete details for configuring NTP.


http://docs.hp.com/en/B2355-90147/ch07.html
James R. Ferguson
Acclaimed Contributor

Re: NTP configuration question

Hi (again):

> Since DST is near, I want to make sure time is syncronized. If time synchronization does not work properly, how to disable it?

Let me be very clear. NTP works in UTC (GMT). The Network Time Protocol doesn't know *anything* about daylight time transitions. The notion of localtime is governed by a 'timezone' as an offset (+-) from UTC.

Again, use 'ntpq -pn' to assess your synchronization and the appropriateness of your chosen time servers.

Regards!

...JRF...