Add yor new server IP to /etc/ntp.conf:
server XX.XX.XX.XX
Start xntpd subsystem:
startsrc -s xntpd
Add ntp to yor inittab:
mkitab ntp:2nce:'/usr/sbin/startsrc -s xntpd'
NTP has a lot of configuration options, have a look at:
I forgot, if the difference beetween the ntp server date and hour and the ntp client is too large, it won't synchronize, so it's better to sync the hour before starting the xntpd subsystem.
On the ntp client:
ntpdate XX.XX.XX.XX
Replace XX.XX.XX.XX with your ntp server address.
Well, in my case we've got the ntp servers on Solaris, and with the conf I've said above it's working great, no need to specify stratum, drift or anything else, but as I've said, and as you can see in Khalidas's links, ntp.conf has a lot more options you may need, and you may have to tune both the server and the clients.
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.