Solaris 10 NTP Setup

The config file is in
/etc/inet/ntp.conf

Setup the file based on instructions here http://www.itworld.com/Comp/3380/nls_unixntp3041028/

————————————————————
The top 50 lines or so of this prototype file are comments that provide information on the syntax of the operative lines. The most important line of this file is the server line. The initial server line will look like this:

server 127.127.XType.0 prefer

If you want to set up NTP for synchronization purposes only and are unconcerned with whether or not the system clocks are accurate with respect to the atomic clocks, you can configure this line to look like this:

server 127.127.1.0 prefer

The third octet in this IP address, the “1″, indicates that you are electing to use a reference clock driver of type “undisciplined local clock”. This simply means your system clock. This setting is intended for isolated networks where no external source of synchronization is available. The 127.127.1.0 IP address is a type of loopback (as are all IP addresses in the 127.127.x.x range), indicating that this NTP server will use its own clock as a time reference and will make no requests to external time sources. NTP clients using this server for time information should use the multicastclient keyword as shown below. The 127.127.1.0 loopback can also be used on networks where real time is unimportant, but synchronization is critical.

multicastclient 224.0.1.1

If you want your NTP server to obtain time updates from external servers, add server lines like these (the same as those shown earlier in the column):

server 129.6.15.28 prefer
server 216.200.93.8
server 64.236.96.53
————————————————————

Check what dependencies xntp relies on:
svcs -l svc:/network/ntp:default

If all dependencies exist then:
svcadm enable svc:/network/ntp
svcadm refresh svc:/network/ntp
svcadm restart svc:/network/ntp

This should start xntpd.

Check to see if the ntp daemon is running:
svcs | grep ntp

should give something like:
online Nov_10 svc:/network/ntp:default

Leave a Comment

You must be logged in to post a comment.