1834712 Members
2292 Online
110069 Solutions
New Discussion

Finding ntp sync servers

 
SOLVED
Go to solution
Shivkumar
Super Advisor

Finding ntp sync servers

Dear Sirs,

What are config files i should check to find out the name of the ntp sync server ?
It seems our servers are getting time from some sync servers.

We have the environment of hpux 11/11i.

Thanks,
Shiv
9 REPLIES 9
Jim Mallett
Honored Contributor
Solution

Re: Finding ntp sync servers

Check out /etc/ntp.conf, the line should begin with the word server.

An example of an external sync would be:
server ntp2.usno.navy.mil version 3 prefer


Jim
Hindsight is 20/20
Steven E. Protter
Exalted Contributor

Re: Finding ntp sync servers

ntp works the same everywhere.

ntp.conf

http://www.ntp.org has a link to good timeservers.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Joseph Loo
Honored Contributor

Re: Finding ntp sync servers

hi,

do this to find out where u r getting the NTP source from:

# ntpq -p
remote column identifies the NTP source's host name.


regards.
what you do not see does not mean you should not believe
Devender Khatana
Honored Contributor

Re: Finding ntp sync servers

Hi Shiv,

#ntpq -p

will show you the current servers which your system is polling.

The output should be similar to
mydv101:/home/hp>>ntpq -p
remote refid st t when poll reach delay offset disp
====================================================
*myserdb LOCAL(1) 4 u 428 256 377 0.67 0.721 0.20
+myserci iocserdb 5 u 30 256 377 0.60 0.571 0.20

The one with * in the beginning in current providing synchronization. When it is not available then the one + in beginning will become the one with * in beginning. Also the one with lowest stratum is always used as first time server.

HTH,
Devender
Impossible itself mentions "I m possible"
Mahesh Kumar Malik
Honored Contributor

Re: Finding ntp sync servers

Hi Shiv

File is /etc/ntpconf

Please refer to following link which may be useful

http://docs.hp.com/en/B2355-90147/ch07s02.html?btnNext=next%A0%BB

Regards
Mahesh
H.Merijn Brand (procura
Honored Contributor

Re: Finding ntp sync servers

Use the ntp pools.

# cat /etc/ntp.conf
restrict default noquery notrust nomodify
restrict 127.0.0.1
restrict 192.92.93.0 mask 255.255.255.0
server 0.pool.ntp.org
server 1.pool.ntp.org
server 2.pool.ntp.org
driftfile /var/lib/ntp/drift/ntp.drift
logfile /var/log/ntp
#

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Cem Tugrul
Esteemed Contributor

Re: Finding ntp sync servers

Shiv,

cat /etc/ntp.conf file of your servers
and you have to find out ntp sysnc server
information

Good Luck,
Our greatest duty in this life is to help others. And please, if you can't
Devesh Pant_1
Esteemed Contributor

Re: Finding ntp sync servers

Shiv,
Hope you have connectivity to the internet to use the outside servers for syncing. If not you will have to set up a statum server within yout internal network that will feed all the servers in your network.
Most of the replies above have already pointed out the rest.

thanks
DP
todd glassey
New Member

Re: Finding ntp sync servers

Shiv,

the NIST time servers are listed on this page from NIST.

http://tf.nist.gov/service/time-servers.html

There is a similar list on the ntp.org website. Dr. Mill's has a number of systems in the NTP.ORG pool for use, but generally these are not considered production systems.

For what it is worth, the three listed with my last name on them are located at AboveNET facilities and so have half the number of hops in their paths as the farther-away end-run systems do. if you are on the west coast try the 207.126.98.204 (Nist1-sj.glassey.com) server and if not the other two are listed as well.

have fun and good luck.

Todd Glassey
Time Guy.