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] dom0 and domU differs after ntpdate

To: "Nico Kadel-Garcia" <nkadel@xxxxxxxxx>
Subject: Re: [Xen-users] dom0 and domU differs after ntpdate
From: "Marco Strullato" <marco.strullato@xxxxxxxxx>
Date: Tue, 6 Nov 2007 13:51:01 +0100
Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 06 Nov 2007 04:51:48 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=dIkG+n4AYFvBQwwGTf1ad0nn7/cDXlE7ThAi9oEQpbg=; b=nD32kIT0PjU6NYsExwHoTkoiWn+vDVnQMpB0QEk549IpGvk/cc1HcOpVRNMUuWS7Q+jtxEk15+WgyKa+BVTIMYGCbfDbFXuQc0SFqjN1Cia6fJue/hYGlE2YerHv1B4BD0wqAEUKt4rByZo9s67c8LmQcQogTZnhe59pofSikKE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=dBkD1GgItYVv9V3GGIaLIAZfZa1bkK2twICKer3cAOMbSKN2P3WRklIjVR+Euv4mlGZUXkqoxiT/Zbzs6DXk8LX+2AVP4td1Am0qtataClFmgqT4AyJnDJV360ZQB+/Vy41CTWO7UoRwE6kgSlvXqVDhk2unew9fXVSMEdJoff8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <47306168.5080104@xxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <b9f669850711060316w1fc9fb75t57698af9c9feff26@xxxxxxxxxxxxxx> <47304FF7.6060803@xxxxxxxxx> <b9f669850711060335y5f110100o9a48b6d6b012d462@xxxxxxxxxxxxxx> <47306168.5080104@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
After echo 1 > /proc/sys/xen/independent_wallclock
and an ntpdate on each server the time is right.

Thanks

Marco

2007/11/6, Nico Kadel-Garcia < nkadel@xxxxxxxxx>:
Marco Strullato wrote:
> I'm sorry, I think I don't well understand what you wrote. could you
> be more clear?
> why you suggest me not to run ntp on domUs? Maybe I don't know how xen
> works with ntp....
>
> Thanks
>
> Marco
All NTP daemons work by manipulating a time offset, an offset between
the clock time reported by the hardware clock and the actual time as
deduced from NTP servers. And they also have a second offset, one that
allows them to retain a record over some period of the amount of drift
that consistently happens and adjust for it. It's described here:

    http://en.wikipedia.org/wiki/Network_Time_Protocol

OK? Now imagine that you're a surveyor doing careful work, and you put
some markers down in a convenient place, and you measure how long things
are, and where they are, and you make a nice map, and you record where
your markers very carefully so you can rely on them.

Now imagine some other surveyor starts taking and using your marker, and
*keeps moving it* when you're not looking. You can never hope to get all
your maps done accurately while this is going on.

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