On server
Verify that you have a suitable NTP server. Enter:
Code: Select all
# lssrc -ls xntpd
If the server is "insane", you will need to correct it by adding a server line to /etc/ntp.conf and restarting xntpd. This can be done by following these steps:
Code: Select all
# vi /etc/ntp.conf
server 127.127.1.0
Double check that "broadcast client" is commented out.
Code: Select all
# stopsrc -s xntpd
# startsrc -s xntpd
Code: Select all
# startsrc -s xntpd -a "-x"
On client
Verify that you have a server suitable for synchronization. Enter:
Code: Select all
# ntpdate -d ip.address.of.server
If you get the message, "no server suitable for synchronization found", verify xntpd is running on the server (see above) and that no firewalls are blocking port 123.
Specify your xntp server in /etc/ntp.conf, enter:
Code: Select all
# vi /etc/ntp.conf
Leave the driftfile and tracefile at their defaults.
Start the xntpd daemon:
Code: Select all
# startsrc -s xntpd
Uncomment xntpd from /etc/rc.tcpip so it will start on a reboot.
Code: Select all
# vi /etc/rc.tcpip
Code: Select all
start /usr/sbin/xntpd "$src_running"
Verify that the client is synched.
Code: Select all
# lssrc -ls xntpd