WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] domU time out of sync, ntpdate won't update it

To: Madison Kelly <linux@xxxxxxxxxxx>, Tait Clarridge <tait@xxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] domU time out of sync, ntpdate won't update it
From: Madison Kelly <linux@xxxxxxxxxxx>
Date: Tue, 08 Dec 2009 14:15:41 -0500
Cc:
Delivery-date: Tue, 08 Dec 2009 11:16:22 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20091208185340.GA9760@xxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4B1E94E0.2020601@xxxxxxxxxxx> <1260297255.2457.0.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <4B1E9E44.8060403@xxxxxxxxxxx> <20091208185340.GA9760@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.23 (X11/20090817)
Iustin Pop wrote:
On Tue, Dec 08, 2009 at 01:43:16PM -0500, Madison Kelly wrote:
Tait Clarridge wrote:
On Tue, 2009-12-08 at 13:03 -0500, Madison Kelly wrote:
Hi all,

  For some reason probably obvious that I am missing, my domU's
aren't updating their time properly. On dom0 I can run 'ntpdate
tick.redhat.com' and it properly changes the clock:

root@vsh02:~# ntpdate tick.redhat.com
 8 Dec 12:59:44 ntpdate[27362]: step time server 66.187.233.4
offset -186.959214 sec
root@vsh02:~# ntpdate tick.redhat.com
 8 Dec 12:59:51 ntpdate[27365]: adjust time server 66.187.233.4
offset 0.000176 sec

  When I run the same on a given domU though, it *looks* like
it's updating, but doesn't actually:

root@sql01:~# ntpdate tick.redhat.com
 8 Dec 13:10:08 ntpdate[1148]: step time server 66.187.233.4
offset -655.452750 sec
root@sql01:~# ntpdate tick.redhat.com
 8 Dec 13:10:43 ntpdate[1373]: step time server 66.187.233.4
offset -655.457543 sec

  Notice that it doesn't seem to relate to dom0's skew.

  Any tips?

Thanks!!

Madi
I ran into this problem as well. Once I updated dom0 and
shutdown/started the domU it worked again.
Hrm, I need a way to keep the domUs update without a reboot... Did
you come across any clues as to what/where the problem was?

Are you using xen.independent_wallclock = 1 here?

regards,
iustin

I wasn't, however, from the docs I found on this it looks like the domU's should match dom0... If that is the case, why am I seeing a 10+ minute skew?

Anyway, I enabled it, undated the time and then disabled it. Maybe it'll stay in sync with dom0 now?

Thanks!

Madi

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users