[CentOS] NTP and virtual guests

Akemi Yagi amyagi at gmail.com
Mon May 28 12:59:20 UTC 2012


On Mon, May 28, 2012 at 5:41 AM, James B. Byrne <byrnejb at harte-lyne.ca> wrote:
> We encountered a problem with respect to KVM virtual host restore and
> NTP. Specifically, our VM test host was shutdown by an extended power
> outage and when power returned all of the restored guests were
> immediately shutdown by ntp because the time differential between the
> restored systems and that of the ntpd sync servers exceeded the panic
> threshold.
>
> This is not an acceptable situation so in the absence of something
> more elegant we are contemplating shutting down ntpd on virtual hosts
> and scheduling regular ntpd -q from cron instead.
>
> Is there an alternative to this?  If not then what would be a
> recommended scheduling interval?

The issue has been reported here:

http://bugs.centos.org/view.php?id=5726

You might want to try the workaround in note 15092, that is, to add
'tinker panic 0'
to the *top* of the /etc/ntp.conf file.

Akemi



More information about the CentOS mailing list