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: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] NTP time issues DomU's
From: Fernando Maior <fernando.souto.maior@xxxxxxxxx>
Date: Thu, 12 May 2005 15:54:22 -0300
Delivery-date: Thu, 12 May 2005 18:53:56 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=WLN0tjCmjPpxUbxdVQ/hux7CsZPMxvd8BO50oWl+O8P6V2tMPCaWAPeyIHHZPVXW3YviAijN+Y2bvO7lPiqSY255CAM9SEKuOfAWuq1RRhvvOG2tdA5UgVVKxs9Tf6fqmxGszGO8pV+ryRpcpEdr74T7GoDJk5F2n5jGOEDC7iU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <Pine.LNX.4.62.0505121051280.25440@xxxxxxxxxxxxxxxxxx>
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: <1f5575df050507145336fd3e67@xxxxxxxxxxxxxx> <200505081338.37770.mark.williamson@xxxxxxxxxxxx> <1f5575df05050902364756051@xxxxxxxxxxxxxx> <200505091319.03861.mark.williamson@xxxxxxxxxxxx> <1f5575df050512102727a857cf@xxxxxxxxxxxxxx> <Pine.LNX.4.62.0505121039450.25440@xxxxxxxxxxxxxxxxxx> <20050512174956.GA24923@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <Pine.LNX.4.62.0505121051280.25440@xxxxxxxxxxxxxxxxxx>
Reply-to: Fernando Maior <fernando.souto.maior@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 5/12/05, andrew mathes <amathes@xxxxxxxxxxxx> wrote:
> don't the DomU's just get their time from DomO?  Ie. ... even if they
> weren't running ntp they'd always be synced with whatever DomO thought
> about system time?
> 
> Maybe i'm way off
> 
> On Thu, 12 May 2005, Alex Tomkins wrote:
> 
> > On Thu, May 12, 2005 at 10:42:53AM -0700, andrew mathes wrote:
> >> So, from what it looks like (on my servers and the docs), all my domains
> >> get their time from DomO.  Which I have setting itself through NTP, and
> >> the dom0 looks good.  However, All of the domains are 1.5 seconds off, and
> >> won't ntp themselves on, also, an identical server, all the domains are
> >> .768 seconds off (off of the server i'm ntping to) , but both domO's are
> >> withing (.02) and seem to narrow in as NTP is supposed to.
> >>
> >> So, question is, 1) what is going on here, and 2) can anything be done
> >> about it?
> > Are you using OpenNTPD by any chance?
> > My machines suffered from inaccurate clocks in DomU's, even though the
> > clock was very accurate in Dom0.  Switching to regular ntpd solved this,
> > DomU immediately used the correct time shortly after starting ntpd.
> > --
> > Alex Tomkins <tomkins@xxxxxxxxxxxx>

Andrew,

Please remember, you allways shoult treat each virtual machine
like a completely separated host! So far, you shoul configure ntpd
to get time from -possibly- the same host as you dom0 is getting
time. Try that. It won't hurt :) And I bet you will feel happy with
the result :)

-- 
Bye,
Fernando Maior
LPIC/1 31908

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

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