There are certain steps to configure NTP on Solaris, and it’s really easy and simple. Just follow the following steps
For Starting NTP on Solaris:
- Logon to the server using root.
- Now go to /etc/inet/
- Rename ntp.client to ntp.conf
- Now edit ntp.conf and replace multicastclient 224.0.1.1 with server ip-of-your-winntp-server
1 2 3 4 5 6 7 8 9 10 11 | # ident "@(#)ntp.client 1.3 00/07/17 SMI" # # /etc/inet/ntp.client # # An example file that could be copied over to /etc/inet/ntp.conf; it # provides a configuration for a host that passively waits for a server # to provide NTP packets on the ntp multicast net. # server ip-of-your-winntp-server #multicastclient 224.0.1.1 |
- Search for the NTP service using svcs -a | grep ntp
1 2 | root@SVR # svcs -a | grep ntp disabled Apr_21 svc:/network/ntp:default |
- Start NTP Server if Disabled using svcadm enable svc:/network/ntp:default and check the service status again.
1 2 | root@SVR # svcs -a | grep ntp online 14:25:19 svc:/network/ntp:default |
- Now check NTP status using ntpq –p
1 2 3 4 | root@SVR # ntpq –p remote refid st t when poll reach delay offset disp ============================================================================== 192.168.1.7 192.168.38.220 2 u 10 64 1 0.69 10.177 15875.0 |
Disclaimer: All posts and opinions on this site are provided AS IS with no warranties. These are our own personal opinions and do not represent our employer’s view in any way.
This article currently have 8,915 views
Latest posts by Saugata (see all)
This work is licensed under a Creative Commons Attribution-NoDerivatives 4.0 International License.