Re: Xen virtual machines and ntp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have set the param and the time at 12:29 and now I have a difference of
more than 7 min.

So it didn´t help me. :-(

ESG





2009/5/13 ESGLinux <esggrupos@xxxxxxxxx>

> Hello,
>
> I have set as you say.
>
> I´ll be looking if I have problems with the time,
>
> Thanks for your answer
>
> ESG
>
> 2009/5/13 Schaffrath, Rene <Rene.Schaffrath@xxxxxxxxxxxxxx>
>
> Hello,
>>
>> have you tried to set "xen.independent_wallclock=1" in
>> /etc/sysctl.conf (activate with sysctl -p).
>>
>> No time drifting in our domUs - even under very high cpu load...
>>
>> Hope this helps,
>> René
>>
>>
>> > -----Original Message-----
>> > From: redhat-list-bounces@xxxxxxxxxx
>> > [mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of ESGLinux
>> > Sent: Wednesday, May 13, 2009 9:14 AM
>> > To: General Red Hat Linux discussion list
>> > Subject: Xen virtual machines and ntp
>> >
>> > Hi,
>> >
>> > I´m running a  Xen server with several virtual machines on
>> > it. I have a
>> > problem with the time of the machines.
>> > They unsynchronize very fast (in an hour several seconds). I
>> > try to use ntpd
>> > to syncronize them but It doesn´t work.
>> >
>> > I have set up a local ntp server with this ntp.conf:
>> >
>> > #grep  ^[^#] /etc/ntp.conf
>> > restrict default kod nomodify notrap
>> > restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap
>> > server 1.rhel.pool.ntp.org
>> > server 2.rhel.pool.ntp.org
>> > server 127.127.1.0
>> > fudge   127.127.1.0 stratum 10
>> > driftfile /var/lib/ntp/drift
>> > keys /etc/ntp/keys
>> > restrict 1.rhel.pool.ntp.org mask 255.255.255.255 nomodify
>> > notrap noquery
>> > restrict 2.rhel.pool.ntp.org mask 255.255.255.255 nomodify
>> > notrap noquery
>> > server hora.roa.es
>> > restrict hora.roa.es mask 255.255.255.255 nomodify notrap noquery
>> >
>> > and the clients like this:
>> >
>> > restrict default kod nomodify notrap nopeer noquery
>> > tinker step 0
>> > restrict 127.0.0.1
>> > restrict -6 ::1
>> > server 192.168.1.1
>> > server 0.rhel.pool.ntp.org
>> > server 1.rhel.pool.ntp.org
>> > server 2.rhel.pool.ntp.org
>> > driftfile /var/lib/ntp/drift
>> > keys /etc/ntp/keys
>> > restrict 0.rhel.pool.ntp.org mask 255.255.255.255 nomodify
>> > notrap noquery
>> > restrict 1.rhel.pool.ntp.org mask 255.255.255.255 nomodify
>> > notrap noquery
>> > restrict 2.rhel.pool.ntp.org mask 255.255.255.255 nomodify
>> > notrap noquery
>> > restrict 192.168.1.1 mask 255.255.255.255 nomodify notrap noquery
>> >
>> > 192.168.1.1 is the first machine, the one I want to be the
>> > ntp local server.
>> >
>> > the param tinker step 0 I get from this
>> > http://wiki.dovecot.org/TimeMovedBackwards
>> > My real problem began with dovecot, because if the machine is not well
>> > syncronized the dovecot kills itself ( dovecot: Time just
>> > moved backwards by
>> > 8 seconds. This might cause a lot of problems, so I'll just
>> > kill myself now.
>> > http://wiki.dovecot.org/TimeMovedBackwards)
>> >
>> >
>> > so, I have two questions:
>> >
>> > 1 - Why my virtual machines unsynchronize so quickly?
>> > 2 - What am I doing wrong with ntpd?
>> >
>> > thanks in advance
>> >
>> > ESG
>> > --
>> > redhat-list mailing list
>> > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=subscribe
>> > https://www.redhat.com/mailman/listinfo/redhat-list
>> >
>> ----------------------------------------------------------------
>> Mundipharma Vertriebsgesellschaft mbH & Co. KG
>> Mundipharma Straße 6
>> 65549 Limburg (Lahn)
>> Tel: +49 (0)6431 701 0
>> Amtsgericht Limburg (Lahn) HRA 624
>>
>> Persönlich haftende Gesellschafterin:
>> Mundipharma Verwaltungsgesellschaft mbH, Sitz in Limburg (Lahn),
>> Registergericht Limburg (Lahn) HRB 462
>> Geschäftsführer:
>> Mortimer D. Sackler M.D., Raymond R. Sackler M.D.,
>> Richard S. Sackler M.D., Kathe A. Sackler M.D.,
>> Jonathan D. Sackler M.D., Mortimer David A. Sackler,
>> Samantha S. Sackler-Hunt, Peter Boer, Åke Wikström,
>> Gunther Niederheide, Jürgen Feld (stellvertretend)
>> ----------------------------------------------------------------
>>
>>
>>
>> --
>> redhat-list mailing list
>> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
>> https://www.redhat.com/mailman/listinfo/redhat-list
>>
>
>
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subjecthttps://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux