Have you thought about using xntp rather than timed? I use that on my unix systems. The master clock I use to sync to is one that is out on the internet which has the universal time.
My PC Windows 2000 is use as a time server. It's broadcasting NTP. Is there any config file that i have to setup on AIX in order to "listen" to NTP and then resync my RS/6000 clock ???
I've started xntpd using startsrc -s xntpd, but date and time does not syncronize !!
You need to create an /etc/ntp.conf and point it to the Win2K machine. There might be a /etc/ntp.conf file already. If so, change the server IP address to your win2K machine, stop and restart xntpd, and you are ready to go.
broadcastclient yes
driftfile /etc/ntp.drift
tracefile /etc/ntp.trace
server mercury.whatever.com
the master server (which would be your NT server) is mercury.whatever.com. Be sure you can ping the NT server from your Unix server. Or specify the IP address of the NT server. Be sure to stop and restart the xntp daemon after creating the ntp.conf file.
I've set the time 2 hours behind on my AIX box,
When does the AIX get sync. Is it only a the startup of RS/6000 or it will get slowly sync by increasing speed of clock on RS/6000 ???
The time seems to be sync only when I stop and restart the XNTPD services....Is it normal....do i have to schedule in crontab a stop and restart service ????
at the command line, type ntpq and Enter. You should get a prompt like this: ntpq>
Type peer and Enter. You should get some information about the system that is the master.
FYI, if you set the local time too far away from the time server's time (more that six minutes, I think) the xntpd will freak out until it manages to drift back to "proper" time. Someone explained all this to me a month or two ago so I cannot remember specific commands. Just try to get the time as close as possible and the daemon will probably take care of itself.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.