LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: clock constantly out of sync

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: clock constantly out of sync
From: Sebastiaan Veldhuisen <seppo@xxxxxxxxxx>
Date: Wed, 16 Nov 2005 17:55:14 +0100
Joseph Mack NA3T wrote:

On Wed, 16 Nov 2005, Francois JEANMOUGIN wrote:

First of all, you have a very bad hardware as far as it can gain
seconds in an hour.


there can be other problems. I had a machine be OK, and then started to be out by minutes/hr for about a year. I corrected with a Hz setting in the ntp.conf file. Then suddenly it was OK again. This was about 10yrs ago. I didn't change any hardware. I never found the problem.

Joe

Guy (and hopefull girls),

This has nothing to do with LVS and/ or heartbeat. I guess you are running a Linux guest within a Linux host vmware server (or ESX)? If so, there are known problems with clock fluctiations in guests VM's.

We run our Development servers on VMWare ESX and GSX and had large clock fluctuations. The VMWare TID's weren't directly much helpfull in solving the problem.

How we fixed it:

- vmware-linux-tools are not helpfull in solving this problem. You don't need them to fix thr time issue

- On the VMWare Server management console webinterface, go to Options , Advanced Settings, and search fro the option Misc.TimerHardPeriod. Default value is 1000 , adjust it to 333.

On the linux  guest machine:

-For Grub edit: /boot/grub/menu.lst add "clock=pmtmr" to add the end of your current kernel and reboot.

-For Lilo edit: /etc/lilo.conf and add to the append rule of your current kernel "clock=pmtmr". Run lilo and reboot.

-This should fix your problem (run ntpd on both host and guest OS, no vmware-tools)

More info on this issue (not appropriate fix though):

http://www.vmware.com/support/kb/enduser/stdadp.php?pfaqid=1339
http://www.vmware.com/support/kb/enduser/stdadp.php?pfaqid=1420 https://www.vmware.com/community/thread.jspa?forumID21&threadID13498&messageID=138110#138110 H https://www.vmware.com/community/thread.jspa?forumID21&threadID16921&messageID=185408#185408 http://www.vmware.com/support/kb/enduser/stdadp.php?pfaqid=1518

Regards,

Sebastiaan Veldhuisen
Arsenso
Artistic, Sensible and Sound
www.arsenso.nl

<Prev in Thread] Current Thread [Next in Thread>