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

xen-devel

[Top] [All Lists]

Re: [Xen-devel] Dom0 <> DomU clock sync

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Dom0 <> DomU clock sync
From: Sébastien RICCIO <sr@xxxxxxxxxxxxxxx>
Date: 2007年9月03日 16:07:13 +0200
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: 2007年9月03日 07:08:35 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C301CEEB.15201%Keir.Fraser@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: OpenBusiness SA / SwissCenter
References: <C301CEEB.15201%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)
Hi Keir,
Thank you for your answer.
Ntpd is not running in dom0. I am updating the dom0 time with ntpdate (crontab every hour).
Should ntpd be running on dom0 ?
Dom0
[root@xen01 /]# date
Mon Sep 3 15:59:37 CEST 2007
DomU (started 5 hours ago)
ns1 bin # date
Mon Sep 3 15:58:05 CEST 2007
ns1 bin # uptime
15:58:10 up 5:21, 3 users, load average: 0.00, 0.00, 0.11
But this is strange... I just rebooted the vm:
Dom0:
[root@xen01 /]# date
Mon Sep 3 16:04:13 CEST 2007
DomU:
ns1 ~ # date
Mon Sep 3 16:02:41 CEST 2007
There is already a difference when the vm is freshly rebooted.
Same after a shutdown/xm create....
Weird... Any idea ?
Thanks again!
--
Sébastien Riccio
SwissCenter / OpenBusiness SA
sr@xxxxxxxxxxxxxxxx
Keir Fraser a écrit :
You're not running ntpd in the domU as well, right? Just worth checking...
Apart from that I don't think you can be doing anything wrong. Any weirdness
after long uptime is of course interesting, as it's something that's hard
for developers to test.
If you create a new domU (doesn't need to be from scratch installation -
e.g., just restarting a domU, or starting an existing dormant domU, would
do) then is its time behind dom0, or in sync?
 -- Keir
On 3/9/07 08:45, "Sébastien RICCIO" <sr@xxxxxxxxxxxxxxx> wrote:
Hello !
Just a quick question about time synchronization between xen dom0 and
domUs...
We're running Xen 3.1 64-bit, with 32 and 64 bits linux guests.
It's up since 89 days and the domU's time is around 5 minutes behind the
dom0,
which is updated via ntpdate...
Any idea why it doesn't sync the guests even that
/proc/sys/xen/independent_wallclock is 0 ?
Could it be an option that I missed in dom0/domU kernel ?
Thanks for your help !
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] [PATCH 3/3] continuable destroy domain: ia64 part , Isaku Yamahata
Next by Date: Re: [Xen-devel] Dom0 <> DomU clock sync , Keir Fraser
Previous by Thread: Re: [Xen-devel] Dom0 <> DomU clock sync , Keir Fraser
Next by Thread: Re: [Xen-devel] Dom0 <> DomU clock sync , Keir Fraser
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /