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] Time went backwards

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Time went backwards
From: Andy Smith <andy@xxxxxxxxxxxxxx>
Date: Sat, 6 Oct 2007 19:34:52 +0000
Delivery-date: Sat, 06 Oct 2007 12:35:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20071006102648.dj8jgaq9s0w4o4s8@xxxxxxxxxxxxxxxxx>
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>
Openpgp: id=BF15490B; url=http://strugglers.net/~andy/pubkey.asc
References: <20071006010209.gxcrrfckws04cw00@xxxxxxxxxxxxxxxxx> <4706C78A.8090006@xxxxxxxxx> <20071006102648.dj8jgaq9s0w4o4s8@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)

On Sat, Oct 06, 2007 at 10:26:48AM +0200, h9802641@xxxxxxxxxxxxx wrote:
> I am running this command hourly (cron) within the Dom0.
> ntpdate -s ts1.univie.ac.at at.pool.ntp.org ptbtime1.ptb.de

I would strongly advise not doing this, and instead running an
ntpd.  That goes for both Xen and non-Xen machines.

Not only can ntpdate cause the clock to step backwards, but if one
of the servers you list had its clock set wildly wrong then yours
would get set wildly wrong too if it ever ran ntpdate against it.

> I havent touched the time / date settings of the DomUs anyhow. Should I?

In theory a domU is supposed to keep its clock locked to that of the
dom0, so one only needs to run ntpd in dom0.

However I have never found that to be reliable so have had to set
/proc/sys/xen/independent_wallclock to 1 and run ntpd in every domU


Attachment: signature.asc
Description: Digital signature

Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>