by Ras
6. May 2012 18:21
### NTP ##
Hierarchical in design - 1 through 16 strata
Lower stratum values are more accurate time source
Stratum 1 servers are connected to external, more accurate time sources such as GPS
Obtaining clock from Stratum 1 time source will make us an Stratum 2 server for others.
Config file locaiton: /etc/inet
There are templates that can be copied on ntp.conf to use it in client or server mode
ls /etc/inet/ntp.*
ntp.conf
ntp.client (need to specify "server a.b.c.d" in config file)
ntp.server
ntpq -p #will reveal the ntp peers
svcadm enable ntp
ntpdate ntp_server # will do one time update with the ntp server(you can put the above command in cron to update the clock regulary, ntp daemon has to be off)
ntptrace - traces path to external time source
ntpq -queries local or remote time source
Refer to www.ntp.org for more info about ntp.