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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I set up an ntp server in AIX

Status
Not open for further replies.

LeeHagen

IS-IT--Management
Sep 20, 2002
22
0
0
US
How do I set up an AIX NTP server. I modified my /etc/ntp.conf to add.......

server my_server_ip
fudge my_server_ip stratum 12
driftfile /etc/ntp.drift
tracefile /etc/ntp.trace

then I started xntpd by startsrc -s xntpd


When I tried to get the time from this server from a client I received an error message saying "no server sutiable for sychronization found"

What am I missing here? What makes the server recognizable as a ntp server to other servers?
 
check this thread: thread52-302779
 
Thanks for the info but I believe that I already solved the problems that I was having. This is what I ended up doing...

On NTP server

modify /etc/ntp.conf as follows

broadcastclient no
server 128.46.136.95 #US IN PERDUE
fudge 128.46.136.95 stratum 5
server 140.239.10.5 #US MA CONCORD
fudge 140.239.10.5 stratum 6
server 128.118.25.3 #US PA PENN ST
fudge 128.118.25.3 stratum 7
peer 127.127.1.0 #LOCAL CLOCK
fudge 127.127.1.0 stratum 10
driftfile /etc/ntp.drift
tracefile /etc/ntp.trace

stopsrc -s xntpd
startsrc -s xntpd
ntpq -p

remote refid st t when poll reach delay ffset disp
================================================================
perdue 128.105.39.11 5 u 530 1024 377 45.24 -5.325 7.16
concord 205.188.185.33 6 u 80 1024 377 59.52 -0.794 3.43
pennst 128.118.46.3 10 u 587 1024 377 65.87 -17.935 4.52
LOCAL(0) LOCAL(0) 3 l 36 64 377 0.00 0.000 10.01

ntpq -s numerous times
(wait for * or + to show up in front of server name(s))

remote refid st t when poll reach delay ffset disp
================================================================
*perdue 128.105.39.11 5 u 530 1024 377 45.24 -5.325 7.16
+concord 205.188.185.33 6 u 80 1024 377 59.52 -0.794 3.43
pennst 128.118.46.3 10 u 587 1024 377 65.87 -17.935 4.52
LOCAL(0) LOCAL(0) 3 l 36 64 377 0.00 0.000 10.01



go to client
ntpdate -d my_NTP_server (look for good connection)
ntpdate my_NTP_server (will update time)
modify /etc/ntp.conf (on client)

broadcastclient no
server my_NTP_server
driftfile /etc/ntp.drift
tracefile /etc/ntp.trace

stopsrc -s xntpd
startsrc -s xntpd
ntpq -p

remote refid st t when poll reach delay offset disp
===========================================================
test 128.46.136.95 6 u 2 64 1 0.29 5.078 15875.0

ntpq -p numerous times
(wait for * to show up in front of server name)

remote refid st t when poll reach delay offset disp
===========================================================
*test 128.46.136.95 6 u 2 64 1 0.29 5.078 15875.0

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top