« January 2002 | Main | November 2005 »

October 30, 2005

ADMIN: Falling Back - date and time updates

Admin duties, remember to always update date/time and make sure all the systems you admin are correct to location and ntp date/time. A good rule is to run ntpdate in cron so the systems will always be correct. But twice a year, I use the daylight savings time change, you should run netdate to update the system clock, also use this to check ntp servers you are using to insure you always have at least 3 working servers in your list, using the pool names helps in this. I guess you could write a script to check that the ntp servers you are using are still responding to that name. Then run hwclock to update the Hardware Clock. Pool based ntp servers netdate us.pool.ntp.org pool.ntp.org 0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org Static ntp servers netdate timex.usg.edu clock-1.cs.cmu.edu clock.psu.edu cuckoo.nevada.edu You can get a current list of ntp servers from http://ntp.isc.org/bin/view/Servers/StratumTwoTimeServers If your Hardware Clock is in UTC then use otherwise swap --localtime for --utc hwclock --systohc --utc