Add the following to vi /etc/inet/ntp.conf
Then run following commands
svcadm enable svc:/network/ntp
svcadm refresh svc:/network/ntp
svcadm restart svc:/network/ntp
To make sure the ntp daemon is started run the following command “svcs | grep ntp” if the service is running you should see something like the output below.
online 20:42:57 svc:/network/ntp:default
Also the output of “ntpq -pn” will show what time server you are using by the * next to it.
bash-3.2# ntpq -pn
remote refid st t when poll reach delay offset disp
+18.104.22.168 22.214.171.124 2 u 10 128 377 61.31 -0.120 1.08
*126.96.36.199 188.8.131.52 2 u 78 128 377 61.33 0.359 0.50
-184.108.40.206 220.127.116.11 2 u 90 512 377 62.55 8.937 1.10
+18.104.22.168 192.168.1.114 3 u 71 128 377 75.55 4.623 0.12
Link to the ntp pool group http://www.pool.ntp.org/
Not really much to say just wanted to post this little snippet so I can do a ZFS writeup latter on.
To enable the nsmcwebserver to listen to remote connections with out having to run “netservices open” and turn on all services to accept remote connection. The following three commands will
svccfg -s svc:/system/webconsole \ setprop options/tcp_listen = true
svcadm refresh svc:/system/webconsole/usr/sbin/smcwebserver restart
Official Sun docs here
Hope this little tidbit helps someone else if they are lucky enough to stumble upon it.