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] 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 2.0.0.17 (Windows/20080914)
-----BEGIN PGP SIGNED MESSAGE-----
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iQEcBAEBAgAGBQJJGr7SAAoJEIZStxVutoo8qFYH/18fHZEnVYCUrTdV/dws1rjr
UxE2Cj53B3kp6fZnF/QAAPAvWl79jbeQcicLBnG2pFmF5d5hb7+I0D0uX9vz6yGe
DNJBayDMxwU7sriSDF3UZde/cKFU8e0Ux9GeXKWUooxoqrJ87LnWY3OSTUme/mQ9
8HUVFbC9Nv8TH3+ge4LtRgNvjOA4ZUyeni1Ju5K4uDmABpwJrEgvbrgCJBMWjkq8
LkaoLWsHFNrWv64QbkgIQALduAmUJyDjoneZhLTlk8XoiAgocUVCfMaAaIcrq6D/
G+5x6PUJmUld0orBpCuo+O1HIHT7qRDO9GwreV9FzONzXhvOofA51MvAIbd3wEI=
=YxJk
-----END PGP SIGNATURE-----


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