Small Mosaic


Categories:

books
career
codinghorrors
comics
events
geekstuff
justdont
languages
languages/bash
linkshot
magazines
meta
misctech
movies
nottech
operatingsystems
operatingsystems/linux
operatingsystems/linux/debian
operatingsystems/solaris
paranoidadmin
perl
python
ruby
security
security/apache
security/tools
serversmells
sites
specifications
sysadmin
tools
tools/commandline
tools/firefox
tools/gui
tools/network
tools/online
tools/online/greasemonkey
unixdaemon

Archives:

October 20085
September 20084
August 200812
July 20089
April 20084
March 20081
February 20081
January 200815
August 20072
June 20079
May 20076
April 20078
March 200731
February 20073
January 200721
December 20061
November 20064
October 20066
September 200632
August 200617
July 200614
June 20069
May 200613
March 200611
February 200616
January 200611
December 20051
November 20056
October 200519
September 200525
August 200516
July 200516
June 200513
May 20052
April 200519
March 200531
February 200520
January 200531
December 200421
November 200430
October 200432
September 200418
August 20047
July 200414
June 20045

Wed, 29 Sep 2004

Round Robin Network Time Protocol
A little bit of online technology I've been using for the last couple of months is the pool.NTP service provided at (surprisingly) pool.ntp.org. NTP is used to keep your local system clocks synchronised by using some of the bigger, more accurate clocks such as atomic or radio clocks.

Traditionally you would add three or four server names/IP addresses to your NTP configuration file and the time would be pulled down and used, the downside to this included the need to ensure the remote servers were still available and the issue of being a burden as the teeming hordes of NTP clients hit the same servers again and again.

The pool.ntp.org servers get around this problem by using round-robin DNS to make both the client configuration easy and reduce the strain on the servers themselves. In the config file instead of adding different servers you add the same entry each time, in my case I add 'uk.pool.ntp.org', if you try pinging this name then each couple of tries you will receive the response from a different IP address. While this may not seem very helpful from the client side (you still have to add the config entries anyway, unless you use Debian :)) from a server operators perspective it helps spread the traffic, instead of the first few listed servers getting hit by everyone the round robin helps distribute the load.

If you've read this far then you probably run your own ntp client or server. If you use a client then change the config to use the pooled NTP, if you run a server then please consider adding yourself to the available servers.

Like this post? - Digg Me! | Add to del.icio.us! | reddit this!

Posted: 2004/09/29 19:49 | /tools/online | Permanent link to this entry | This entry + same date


/etc/release -- Consistency, never heard of it!
If you are working on a modern Unix machine (no, thats not an oxymoron) then it's annoying difficult to determine the operating system name and version running. Where you should just be able to type '/etc/release' and get the relevant details you instead need to either guess or brute-force your way through the possibilities. Debian stores this info in '/etc/debian_version', Redhat in '/etc/redhat_release'. You know the world is going to end when Solaris makes the most sense and puts this information in '/etc/release'. Why is this better? Because it doesn't assume my scripts know where they are running, they can determine that from the contents of the file itself!

A warning to one and all, this is going to become my new crusade ;)

Like this post? - Digg Me! | Add to del.icio.us! | reddit this!

Posted: 2004/09/29 19:30 | /operatingsystems/linux | Permanent link to this entry | This entry + same date


books career codinghorrors events geekstuff justdont languages/bash linkshot magazines meta misctech movies nottech operatingsystems/linux operatingsystems/linux/debian operatingsystems/solaris perl python ruby security security/apache security/tools serversmells sites specifications sysadmin tools/commandline tools/firefox tools/gui tools/network tools/online tools/online/greasemonkey unixdaemon

Copyright © 2000-2005 Dean Wilson XML feed logo