NTP master setup:
1) Choose external time server e.g. External StratumOne Time Servers: http://support.ntp.org/bin/view/servers/StratumOneTimeServers -->try resolve/ping form master server
2) #cp /etc/inet/ntp.server /etc/inet/ntp.conf
3) # vi ntp.conf
--> comment out: server 127.127.XType.0
fudge 127.127.XType.0 Stratum 0
-->insert: server
i.e. server ntp.tbpl.com.au
save!
4) # touch /var/ntp/ntp.drift; ls -la /var/ntp/ntp.drift
5) # svcadm enable ntp --> enable ntp deamon
6)# ps -ef | grep -i xntpd
7)# ntpq
-->ntpq>peers
> ouput
***optional: #snoop | grep -i ntp
CLIENT NTP
1) #cp /etc/inet/ntp.client /etc/inet/ntp.conf
2) # vi ntp.conf
--> comment out: multicast 224.0.1.1
-->insert: server
save!
3)#scvadm enable ntp
4) #ps -ef | grep -i xntpd
5)#ntpq
ntpq>peers
> output
0 comments:
Post a Comment