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/
Home Products Support Community News


Re: [Xen-users] Re: NTP on fully virtualized domUs

To: James Treleaven <j.treleaven@xxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Re: NTP on fully virtualized domUs
From: Peter Mueller <peter.mueller@xxxxxxxxxxx>
Date: Wed, 12 Nov 2008 12:32:34 +0100
Authentication-results: mail.servator.de; sender-id=softfail header.from=peter.mueller@xxxxxxxxxxx; auth=pass (PLAIN); spf=softfail smtp.mfrom=peter.mueller@xxxxxxxxxxx
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 12 Nov 2008 03:33:44 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <gfcrt7$e14$1@xxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: Servator Consulting GmbH
References: <B41F1254D4818341A67879FB24319B6804CA7B0D@xxxxxxxxxxxxxxxxxxxxxxx> <491954E7.8030707@xxxxxxxxxxx> <gfcrt7$e14$1@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird (Windows/20080914)
Hash: SHA1

Hello James,

James Treleaven schrieb:
> Peter Mueller wrote:
>> Hi James,
>> first you have to run ntpd in Dom0 and let him sync to some
>> timeservers on the web. This ntpd can sync the hardware clock, which
>> your DomUs are not allowed to do. They have to sync with your Dom0. It
>> shouldn't be necessary to install another ntpd in your DomUs. If it's
>> not getting better, install ntpd in your DomUs and let him sync to
>> your Dom0.
>> Kind Regards
>> Peter Mueller
> Hi Peter,
> OK - I have been running ntpd in Dom0 and it is keeping the time on the
> Dom0 machine correct.  That is certainly not a problem.
> However, my DomUs do not have the correct time (one of my DomUs had the
> same time as the Dom0 24 hours ago, but its time is now off by about an
> hour relative to both the Dom0 and the correct time).
Did you set the correct timezone? If it's almost exact an hour, wrong
timezone could be part of the time problem.
> I have tried running ntpd on the DomUs in the past and that did not work
> for me either.  One other person who was having the same problem as me,
> with whom I have corresponded by email, told me she ended up setting up
> a cron job which did an ntpdate - to reset the time - every 15 minutes.
> That seems a bit heavy handed, but I suspect that I will end up having
> to do the same thing.
Well, if you don't need the ntpd in your DomUs as service for the
network, ntpdate would be the easiest solution. Many Distributions
only use ntpdate or rdate to sync their time to several timeservers in
the www. I personally sync to 0/1/2/3.de.pool.ntp.org (take a look
into the serverlist of ntp.org to get the correct hosts for your country).
> James
- --

Mit freundlichen Grüßen/Kind Regards
Peter Müller

Servator Support
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

Xen-users mailing list