[BlueOnyx:04081] Re: NTP etc

Jason Ozin bluequartz at ozin.com
Sat Mar 20 17:34:47 -05 2010


And to further answer and refine my answer this is what was needed in
crontab
In case anyone is interested, this clock drift is a known issue when
virtualising BlueOnyx/Linux on VMWare or Hyper-V 

# update clock every 30 mins
10,40 * * * * /usr/sbin/ntpdate -s -b -u pool.ntp.org
# sync hardware clock 5 mins later
15,45 * * * * /sbin/hwclock --systohc


Jason Ozin


-----Original Message-----
From: blueonyx-bounces at blueonyx.it [mailto:blueonyx-bounces at blueonyx.it] On
Behalf Of Jason Ozin
Sent: 20 March 2010 22:03
To: 'BlueOnyx General Mailing List'
Subject: [BlueOnyx:04078] Re: NTP etc

To answer my own question I think this will work so I have done it:

Added this to the crontab for root:

   # update clock every 15 mins
   15 * * * * /usr/sbin/ntpdate -s -b pool.ntp.org

Jason Ozin


-----Original Message-----
From: blueonyx-bounces at blueonyx.it [mailto:blueonyx-bounces at blueonyx.it] On
Behalf Of bluequartz at ozin.com
Sent: 18 March 2010 21:27
To: blueonyx at blueonyx.it
Subject: [BlueOnyx:04058] NTP etc

I've just logged in to one of my servers to find that the time is 14 mins
out. Going to System Settings/time and clicking save gives me the correct
time.

I assume that submitting This page obviously restarts one of the services
and thus gets and resets the time.

I also assume that there is a cron job or similar that is supposed to be
doing the same?

So how do I check it is working and if it is, where do I reduce its schedule
so as to cause it to update more often?

Many thanks is advance

Jason


_______________________________________________
Blueonyx mailing list
Blueonyx at blueonyx.it
http://www.blueonyx.it/mailman/listinfo/blueonyx




More information about the Blueonyx mailing list