[Cialug] xen and ntp on centos

David Champion dchamp1337 at gmail.com
Thu Aug 4 15:53:38 CDT 2011


I assume the time on dom0 is good?

Is domU running ntpd or the silly ntp cron script that Redhat is so fond of?
Maybe just un-install ntpd on domU?

-dc

On Thu, Aug 4, 2011 at 3:33 PM, Barry Von Ahsen <barry at vonahsen.com> wrote:

> yes, this again :)
>
> every document in the world says run ntpd on dom0, and domU will
> automatically update, except it doesn't on centos.  in the last 24 hours
> (when I manually fixed it), domU is nearly 40 minutes fast.
>
> several sources said to check /proc/sys/xen/independent_**wallclock on the
> guest, but I don't have a /proc/sys/xen there, am I missing a package?
>
>
> simul-date:
> [barry at xen ~]# date
> Thu Aug  4 15:25:45 CDT 2011
> [barry at domU ~]$ date
> Thu Aug  4 16:04:40 CDT 2011
>
>
> dom0:
> [barry at xen ~]$ cat /etc/issue
> CentOS release 5.6 (Final)
> Kernel \r on an \m
>
> [barry at xen ~]$ uname -a
> Linux 2.6.18-238.19.1.el5xen #1 SMP Fri Jul 15 08:16:59 EDT 2011 x86_64
> x86_64 x86_64 GNU/Linux
>
> [barry at xen ~]$ cat /proc/sys/xen/independent_**wallclock
> 0
>
> [barry at xen ~]# grep ntpd /var/log/messages
> (snip)
> Aug  3 11:04:27 xen ntpd[4008]: synchronized to 208.94.240.2, stratum 2
> Aug  3 12:11:07 xen ntpd[4008]: synchronized to 209.114.111.1, stratum 2
> Aug  4 03:50:07 xen ntpd[4008]: synchronized to 208.94.240.2, stratum 2
> Aug  4 07:44:59 xen ntpd[4008]: synchronized to 209.114.111.1, stratum 2
> Aug  4 09:49:03 xen ntpd[4008]: synchronized to 208.94.240.2, stratum 2
> Aug  4 14:35:21 xen ntpd[4008]: synchronized to 209.114.111.1, stratum 2
>
> [barry at xen ~]# rpm -qa | grep xen
> xen-libs-3.0.3-120.el5_6.3
> kernel-xen-2.6.18-238.19.1.el5
> kernel-xen-2.6.18-238.9.1.el5
> xen-3.0.3-120.el5_6.3
>
>
>
> domU:
> [barry at domU ~]$ cat /etc/issue
> CentOS release 5.6 (Final)
> Kernel \r on an \m
>
> [barry at domU ~]$ uname -a
> Linux 2.6.18-238.19.1.el5 #1 SMP Fri Jul 15 07:31:24 EDT 2011 x86_64 x86_64
> x86_64 GNU/Linux
>
> [barry at domU ~]$ cat /proc/sys/xen/independent_**wallclock
> cat: /proc/sys/xen/independent_**wallclock: No such file or directory
>
> [barry at domU ~]$ rpm -qa | grep xen
> (nothing)
> ______________________________**_________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/**listinfo/cialug<http://cialug.org/mailman/listinfo/cialug>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cialug.org/pipermail/cialug/attachments/20110804/f7b52295/attachment.html>


More information about the Cialug mailing list