|
|
|
|
|
|
|
|
|
|
xen-users
RE: [Xen-users] time synchronization problem (using NTP)
Have you tried chrony ?
We use chrony on our Xen-3.0.2-2 servers and it is happily running on both
Dom-0 and the Dom-Us.
If you are running (K)Ubuntu and have "universe" repositories enabled,
installation is as simple as "apt-get install chrony". A
quick change to "/etc/chrony/chrony.conf" to set the NTP servers you want to
use and (if you are reliably connected to the Internet)
removing the "offline" parameter for them will have you ready to (re-)start the
chrony daemon and sync the clocks.
FWIW, we have "/proc/sys/xen/independent_wallclock" set to 0 on the Dom0 and
the DomU's.
Regards,
Roger
> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On
> Behalf Of Thomas Schneider
> Sent: 11 October 2006 11:17
> Cc: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-users] time synchronization problem (using NTP)
>
> Hi!
>
> --On 11. Oktober 2006 05:55:44 -0400 Thomas Harold <tgh@xxxxxxxxxxxx> wrote:
>
> > Ulrich Windl wrote:
> >> Hi,
> >>
> >> using SLES10 I'm unable to synchronize the time of DomU with that of
> >> Dom0. There is a persistent offset of about 3 seconds!
> >
> > (laughs) I just happen to be working on this myself. All of my DomUs are
> > about 15 seconds fast compared to the Dom0 and I've been searching the
> > archives to figure out why this happens.
> >
>
> As far as my experience shows, none of the ntp / independent_wallclock
> combinations work. We got the same problem here with xen 3.0.2 and kernel
> 2.6.16. It looks like ntpd can't set the time in DomUs with
> independent_wallclock set to 1 but the DomUs aren't using the exact time of
> Dom0 with independent_wallclock set to 0.
>
> With knowing that we decided to wait for kernel release 2.6.18 because some
> stuff regarding hwclock und system-clock was changed.
>
> Maybe someone else can give us a better answer what to do with that?
>
> Thanks,
>
> Tom
>
> --
> -- So Long, and Thanks for all the Fish
> - Douglas Adams, Hitchhikers Guide to the Galaxy --
>
>
> _______________________________________________
> 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
|
|
|
|
|