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: "andrew mathes" <amathes@xxxxxxxxxxxx>, "Tim Durack" <tdurack@xxxxxxxxx>
Subject: RE: [Xen-users] NTP time issues DomU's
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Fri, 13 May 2005 18:05:38 +0100
Cc: ian.pratt@xxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 13 May 2005 17:05:10 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcVX0PHdYjmF7+NZR12OPECexAey8gADPKfg
Thread-topic: [Xen-users] NTP time issues DomU's
 

> any idea why all my DomU's were exactly the same offset wrong 
> from my DomO then?

You've got two people (dom0 and domU) trying to adjust time at the same
time, which is bound to lead to confusion.

Ian
 
> 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
> 

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