Comments on: Time Sync on VMWare Based Linux https://sheepguardingllama.com/2009/02/time-sync-on-vmware-based-linux/ Scott Alan Miller :: A Life Online Tue, 27 Jul 2010 23:19:55 +0000 hourly 1 https://wordpress.org/?v=6.9.1 By: Saman Behnam https://sheepguardingllama.com/2009/02/time-sync-on-vmware-based-linux/comment-page-1/#comment-23163 Tue, 27 Jul 2010 23:19:55 +0000 http://www.sheepguardingllama.com/?p=3586#comment-23163 Hi all,

Its right to say KVM or XEN is much much better than most VMware products. I would never ever recommend any Virtualization software over KVM or XEN. But for this problem of VMware server and host/guest time synchronization I can tell you that disabling any guest site time synchronization like ntp or chrony (although chrony could be the better choice when it comes to big time drifts) could solve your problem. You have also to make sure that “vmware-tools” are compiled against the actual guest kernel and running correctly (just check dmesg) and that “cat /proc/cmdline” should give you something like “clock=pit”. Further “tools.syncTime = true” should also be set in the vmx guest file like mentioned above.

]]>
By: Anonymous https://sheepguardingllama.com/2009/02/time-sync-on-vmware-based-linux/comment-page-1/#comment-22597 Fri, 18 Dec 2009 18:48:48 +0000 http://www.sheepguardingllama.com/?p=3586#comment-22597 Started having the issue with 1.0.8 on 5.2. We updated to the 2 series (big mistake as almost everyone has noted) as it just isn’t as robust or reliable as the 1.0.x series.

We have migrated all that we can to Xen and will be leaving VMWare’s silly toys behind to go to enterprise level from here on out. We started with VMWare when Xen wasn’t enterprise ready yet years ago so we don’t regret the decision but they just aren’t in the game anymore. They are driven by marketing, not engineering, and it really shows in their products.

]]>
By: Anonymous https://sheepguardingllama.com/2009/02/time-sync-on-vmware-based-linux/comment-page-1/#comment-22596 Fri, 18 Dec 2009 18:45:18 +0000 http://www.sheepguardingllama.com/?p=3586#comment-22596 The very latest version of both VMWare Server and CentOS/RHEL (5.4). VMWare Server 2.0.2.

]]>
By: anon https://sheepguardingllama.com/2009/02/time-sync-on-vmware-based-linux/comment-page-1/#comment-22589 Mon, 14 Dec 2009 11:32:56 +0000 http://www.sheepguardingllama.com/?p=3586#comment-22589 Hi Scott,

I read your article (I had to read it in order to reply!)

Your article suggests that ntpdate doesn’t handle issues – this is completley right – it doesn’t handle anything all, it just changes the system time by making it leap forwards or backwards. Any big leap in time, particularly backwards will subtely break running applications.

Rather than use ntpdate (which is a workaround) you need to fix your clock skew problem and then use ntpd. Using ntpdate is a poor solution which puts unnecessary strain on the public ntp servers.

All recent versions of VMware and Linux do not have any clock skew issues. Which versions are you running?

]]>
By: Scott Alan Miller https://sheepguardingllama.com/2009/02/time-sync-on-vmware-based-linux/comment-page-1/#comment-22556 Wed, 02 Dec 2009 21:26:16 +0000 http://www.sheepguardingllama.com/?p=3586#comment-22556 Anon – If you read the article you would see that everything that you state is already stated there with information about why it doesn’t matter. NTPD cannot handle the drift level we are experiencing and even when synced one minute it will lose the ability to maintain sync after less than two minutes. So your obvious recommendation of syncing at boot time is obvious not going to work.

NTPDATE is NOT subject to the skew issues that NTPD is, it simply matches the time without trying to bring the time into line gently. This is required when the drift is too great as it is here.

Please read the article before you make statements that don’t even relate to the subject matter at hand. This entire article was about dealing with time drift when your suggestions (the starting point of the article) don’t work. You’ve apparently missed the entire point.

]]>
By: anon https://sheepguardingllama.com/2009/02/time-sync-on-vmware-based-linux/comment-page-1/#comment-22555 Wed, 02 Dec 2009 09:38:18 +0000 http://www.sheepguardingllama.com/?p=3586#comment-22555 ntpdate puts unnecessary strain on the public time servers. it also causes problems with clock jump which will confuse all programs which do not handle time jumping backwards (i.e. 99.9% of all programs ever written)

> Ntpdate is not subject to the skew and offset issues that ntpd is.

I don’t see where you get this idea from. This is wrong: if you configure ntpd correctly (i.e. you use sync at boot and correct from then on) you will see no such issues with ntpd.

]]>
By: maarten https://sheepguardingllama.com/2009/02/time-sync-on-vmware-based-linux/comment-page-1/#comment-21970 Thu, 19 Feb 2009 21:33:26 +0000 http://www.sheepguardingllama.com/?p=3586#comment-21970 http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1006427

]]>