QuicksearchDisclaimerThe individual owning this blog works for Oracle in Germany. The opinions expressed here are his own, are not necessarily reviewed in advance by anyone but the individual author, and neither Oracle nor any other party necessarily agrees with them.
|
Configuring an NTP client in Solaris 11Tuesday, April 3. 2012Trackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
I couple of comments. The version of NTP delivered with with Solaris 11 is NTP v4, while Solaris 10 ships with both. To allow them to go exist on S10, the v4 service is ntp4. Doing "svcadm enable ntp" on S10 will enable the v3 service. Which is okay, since the ntp.conf you created will work for either of them.
However, since v4 is available, you might as well use it, since it has had 15 years more development in it. So, I suggest you add the "iburst" keyword to the end of the server lines: "server 0.pool.ntp.org iburst" Normally NTP takes 5 poll periods to accept a server. The iburst keyword tell it to shorten the poll period from 64 seconds to 1 second for the first 5 polls after it starts up. This means that it synchronizes the clock immediately instead of after 5 minutes. You don't need to run ntpdate. In S10, ntpdate is run automatically whenever the ntp service is started. In S11 the first time NTP is started after a reboot, it will accept a single clock step regardless of size. If you can, you should specify your country code on the server line when you are using the pool servers: 0.us.pool.ntp.org. Unlike most Internet services, the accuracy of NTP is dependent on the number of hops away the server is from the client. It is best to use the closest servers you can, so the pool maintainers try to fill up the country code aliases with servers from that or a nearby country. Another suggestion is is you are using NTP v4 and the pool servers, you can use the "pool" keyword instead of "server". This tells NTP to configure all of the IP addresses returned from the DNS lookup, not just the first one. Then you only need one pool line instead of several server lines.
Thank you for the hints ... i didn't knew that about after-reboot behaviour as i do this first ntpdate ... well ... since i use ntp ...
Obviously you are right with the ntp4 stuff in Solaris 10. However i thought a moment if i should to elaborate more on this. However as far as know we have ntp4 in Solaris 10 only since U8 and the patch bundles doesn't contain the ntpv4 stuff. Given the legion of systems on a level sub U8 thought i keep it simple before elaborating on the Solaris pre u8 and u8 and later difference in a Solaris 11 article. Your comment with the country pools is really important. That's the reason why i've linked to the pool webpage. I just can give several +1 to your suggestion. |
+1The LKSF bookThe book with the consolidated Less known Solaris Tutorials is available for download here
Web 2.0Contact
Networking xing.com My photos Comments about Ulrich Gräf
Mon, 17.06.2013 09:02
about Thank you!
Wed, 05.06.2013 16:58
additional thanx a lot for joi
ning us in vienna at Solaris d
ay !
about Lieber SPON, ...
Fri, 17.05.2013 08:09
Du solltest auch noch JS ausch
alten, dann bekommst du auch n
icht diese lustige Nachricht ü
ber AdBlocker
Buttons![]() This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Germany License
![]() ![]() ![]() Blog Administration |