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] NTP time issues DomU's

To: Tim Durack <tdurack@xxxxxxxxx>
Subject: RE: [Xen-users] NTP time issues DomU's
From: andrew mathes <amathes@xxxxxxxxxxxx>
Date: Fri, 13 May 2005 08:31:45 -0700 (PDT)
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 13 May 2005 15:31:20 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <9e246b4d05051307265155975b@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/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: <9e246b4d05051307265155975b@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
any idea why all my DomU's were exactly the same offset wrong from my DomO then?

I agree, it is great if it works ... but if it's off for some reason, i'd like to be able to fix it. (otherwise i may as well use windows ...)

On Fri, 13 May 2005, Tim Durack wrote:

I think it's perfect the way it is.

Run NTP in dom0, all the domU's then have synchronized time.

I can still set timezones on all of these boxes independantly.
Timezone has nothing to do with NTP synchronization.

Tim:>


yeah, i'm already doing that, I was just saying, it *seemed*
like they were getting their time from domain0, and weren't
actually changing their own clocks in accordance with syncing
with the same ntpd server.

especially since they're all off by exactly the same amount
... and running ntpdate doesn't seem to have any effect whatsoever?

If you don't run ntp in the domU's, it should just work.

If you want to run ntp in the domU, try:
echo 1 > /proc/sys/xen/independent_wallclock

I guess we could be smarter about this, and make the wall clock
independent automatically if someone does an adjtimex syscall. Anyone
got any comments on this?

Ian

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


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