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

[Xen-users] Re: Time synchronization issue

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: Time synchronization issue
From: Diego Molina <diegoaugustomolina@xxxxxxxxx>
Date: Tue, 12 Jul 2011 13:12:31 -0300
Delivery-date: Tue, 12 Jul 2011 09:13:49 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=dHMh6U0Gl4MQohOq669UTlSt6NHr+ElLvsT8ZKBKbLA=; b=eDDaBfybgVTWMVpNRebEPuXacoo3mBcLtpyChwjIP8HrBJv1UN2o/7448FEF5GDaf2 86g4nSmgMhR7Ta+auFBA2ZmF1bHM16QhuJ3xy6+72uI7SSqtJiq7YkpzTsB3+FkrLX63 Zzuk2dGrhYkplxQe9/NrFIMpiwwz6ZPjPZYuw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CAGOxLdEqnwkO8SistOkeT-RZthdio2rgQua1u13PDe0ef0qcBg@xxxxxxxxxxxxxx>
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: <CAGOxLdEqnwkO8SistOkeT-RZthdio2rgQua1u13PDe0ef0qcBg@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
2011/7/7, Diego Molina <diegoaugustomolina@xxxxxxxxx>:
> Hi, I have Gentoo Linux dom0 and paravirtual domUs with Xen 3.4.2 all
> of them with `/proc/sys/xen/independent_wallclock' set to 0 (dom0 and
> domUs) but domUs aren't in sync with dom0.
> I've noticed this after a while, because I saw a recent line in a log
> file with the time in the future. Then I went to the dom0, set time
> quickly with ntpdate and started ntpd. After this I noticed that all
> domUs still had the same time so I waited... and waited to see the
> changes take effect. Nothing happened. It's been a day since then, and
> I can see dom0 and domUs are all acting as if they were configured to
> use the independent wall clock. I was able to change the time of one
> of the domUs and still see it differs both from dom0 and the other
> domUs. I googled and searched the archives but couldn't find a way
> out. It would really mean a lot to me not to have to maintain ntp in
> all domUs...
>
> Thanks a lot for your job!
>

Even stranger:
1) I Shut down one domU and created it again. Not even at start up the
clock was correct. It keeps wrong. I've noticed that after a while of
changing the system time it rolls back to the wrong state again in a
consistent manner, so that all domUs end up with a similar (not equal)
wrong time. One may think it may be due to a /etc/localtime (or
similar) misconfig, but the drift is given within minutes, not *exact*
hours (that's an easy way to discard that option).

2) Not even ntp could keep the time correct in the domUs!!!! Ok, this
is serious. Once in a while the time was correct (after a sync), then
it went wrong as much as it could.

3) This morning we had to shut the whole rack down due to a general
upgrade and mantainance. When I booted all machines the time was
correct again everywhere! This is straaaange, and I have the
impression that this can be caused by a continuous process of drifting
during the dom0 uptime. Even with an obscure explanation like this it
is still strange.

I started to think about a hardware failure, even been a new server
(about five months old) but couldn't find anything bad with standard
tools. Also, time was well kept in dom0 so that may mean hw is ok too.

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

<Prev in Thread] Current Thread [Next in Thread>