<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results for 'app:weblogs' matching tags 'troubleshooting', 'tip', and 'Time'</title><link>http://msmvps.com/search/SearchResults.aspx?q=app:weblogs&amp;tag=troubleshooting,tip,Time&amp;orTags=0&amp;o=DateDescending</link><description>Search results for 'app:weblogs' matching tags 'troubleshooting', 'tip', and 'Time'</description><dc:language>en-US</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>Fixing Time Errors on VMware vSphere and ESX Hosts</title><link>http://msmvps.com/blogs/expta/archive/2011/07/19/fixing-time-errors-on-vmware-vsphere-and-esx-hosts.aspx</link><pubDate>Tue, 19 Jul 2011 05:00:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1796451</guid><dc:creator>Anonymous</dc:creator><description>&lt;div class="separator" style="clear:both;text-align:left;"&gt;
&lt;a href="http://4.bp.blogspot.com/-ACnxKTI0PEU/TiZJd0pwXUI/AAAAAAAAGWk/9HnD6rwr3X8/s1600/time-warp.jpg" style="clear:left;float:left;margin-bottom:1em;margin-right:1em;"&gt;&lt;img border="0" height="195" src="http://4.bp.blogspot.com/-ACnxKTI0PEU/TiZJd0pwXUI/AAAAAAAAGWk/9HnD6rwr3X8/s200/time-warp.jpg" width="200" alt="" /&gt;&lt;/a&gt;Time synchronization across a Windows domain is very important.&amp;nbsp; If a member server&amp;#39;s clock varies more than 5 minutes from other domain servers, Kerberos tickets will fail.&amp;nbsp; This causes random&amp;nbsp;authentication errors for users and/or applications which are sometimes difficult to troubleshoot.&lt;/div&gt;
&lt;br /&gt;
Normally, time is synchronized in a Windows domain using the domain hierarchy.&amp;nbsp; The domain controller holding the PDC Emulator FSMO role is normally configured to get time from an authoritative NTP time source, and syncs time with all the other DCs in the domain.&amp;nbsp; The domain clients in each site sync time from the DCs in their local site, maintaining a relatively close synchronization of time across the domain.&lt;br /&gt;
&lt;br /&gt;
Virtual machines are no different than physical computers and normally sync time using the same domain hierarchy.&amp;nbsp; Lately, however,&amp;nbsp;I&amp;#39;ve seen VMs running on VMware vSphere boot up with random time differences from the domain.&amp;nbsp; I&amp;#39;ve seen this problem with three different clients lately, so I figured this might be a pervasive enough issue to blog about.&lt;br /&gt;
&lt;br /&gt;
The trouble happens when the VMware vSphere, ESX or ESXi host does not have an accurate source of time, or time &amp;quot;drifts&amp;quot; due to an inaccurate system clock module.&amp;nbsp; vSphere and ESX hosts run a proprietary operating system and are not domain member servers, therefore they do not participate in domain hierarchy time synchronization.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
Most companies that use VMware hosts use vCenter to manage these hosts and their VMs.&amp;nbsp; Often, the servers that run vCenter are domain member computers and administrators think that since the vCenter syncs time with the domain, the hosts and VMs do, too.&amp;nbsp; Not true.&amp;nbsp; You need to configure the vSphere or ESX hosts to sync time from an accurate time source, otherwise the VM guests may&amp;nbsp;start up with the wrong time - &lt;em&gt;this can happen even if &lt;strong&gt;time synchronization between the virtual machine and the ESX server&lt;/strong&gt; in VMware Tools is not enabled&lt;/em&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear:both;text-align:center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-Q-SvvlPuiyM/TiZNaoE-0gI/AAAAAAAAGWo/31RJvxRVV-I/s1600/VMware+Tools+Time.png" style="margin-left:1em;margin-right:1em;"&gt;&lt;img border="0" height="347" src="http://4.bp.blogspot.com/-Q-SvvlPuiyM/TiZNaoE-0gI/AAAAAAAAGWo/31RJvxRVV-I/s400/VMware+Tools+Time.png" width="400" alt="" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear:both;text-align:center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align="left" class="separator" style="clear:both;text-align:center;"&gt;
&lt;/div&gt;
Here&amp;#39;s how to configure your vSphere or ESX hosts to get time from an authoritative source.&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Logon to&amp;nbsp;vCenter and select your vSphere or ESX host.&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;Configuration&lt;/strong&gt; tab and then &lt;strong&gt;Time Configuration&lt;/strong&gt; under the &lt;strong&gt;Software&lt;/strong&gt; heading.&amp;nbsp; Notice that the time on the vSphere host does not match the domain time shown on the Windows client running vCenter .&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="separator" style="clear:both;text-align:center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-_7ndSWfU23Y/TiZV1BQTP6I/AAAAAAAAGW8/CxJCIQvoWzw/s1600/VMware+Host+Bad+Time.png" style="margin-left:1em;margin-right:1em;"&gt;&lt;img border="0" height="458" src="http://3.bp.blogspot.com/-_7ndSWfU23Y/TiZV1BQTP6I/AAAAAAAAGW8/CxJCIQvoWzw/s640/VMware+Host+Bad+Time.png" width="640" alt="" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Click &lt;strong&gt;Properties&lt;/strong&gt; in the top left of the Configuration tab.&amp;nbsp; This opens the &lt;strong&gt;Time Configuration&lt;/strong&gt; window.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="separator" style="clear:both;text-align:center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-nWht5S4ZXcI/TiZWzt7oTOI/AAAAAAAAGXA/Px5ntLsQou8/s1600/VMware+Host+Configure+Time.png" style="margin-left:1em;margin-right:1em;"&gt;&lt;img border="0" height="458" src="http://1.bp.blogspot.com/-nWht5S4ZXcI/TiZWzt7oTOI/AAAAAAAAGXA/Px5ntLsQou8/s640/VMware+Host+Configure+Time.png" width="640" alt="" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear:both;text-align:center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;div class="separator" style="clear:both;text-align:left;"&gt;
Click the &lt;strong&gt;Options&lt;/strong&gt; button and add a new NTP server that is the accurate source of time.&amp;nbsp; I recommend using the PDC emulator, since it should already be configured as an authoritative time source.&amp;nbsp;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="separator" style="clear:both;text-align:center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-I5QHbAJzCn0/TiZXJggXudI/AAAAAAAAGXE/hwaIpIJstgA/s1600/VMware+Host+Configure+Time+Servers.png" style="margin-left:1em;margin-right:1em;"&gt;&lt;img border="0" height="458" src="http://2.bp.blogspot.com/-I5QHbAJzCn0/TiZXJggXudI/AAAAAAAAGXE/hwaIpIJstgA/s640/VMware+Host+Configure+Time+Servers.png" width="640" alt="" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear:both;text-align:left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&amp;nbsp;Select the checkbox to &lt;strong&gt;Restart NTP service to apply changes&lt;/strong&gt; and click &lt;strong&gt;OK&lt;/strong&gt; twice to close the Time Configuration window.&amp;nbsp; You will see that the vSphere/ESX host now has the correct time and is configured to use &lt;strong&gt;dc01.companyabc.com&lt;/strong&gt; as its time server.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="separator" style="clear:both;text-align:center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-2bi25FoOySE/TiZYUmMrylI/AAAAAAAAGXI/vL5giYHMQJ4/s1600/VMware+Host+Correct+Time.png" style="margin-left:1em;margin-right:1em;"&gt;&lt;img border="0" height="458" src="http://2.bp.blogspot.com/-2bi25FoOySE/TiZYUmMrylI/AAAAAAAAGXI/vL5giYHMQJ4/s640/VMware+Host+Correct+Time.png" width="640" alt="" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear:both;text-align:center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear:both;text-align:left;"&gt;
&lt;/div&gt;
You may need to restart the VM guests running on that VMware host to have them sync time with the domain.&amp;nbsp; The Windows Time service will not correct the time on the VMs&amp;nbsp;if it varies too much from domain time.&amp;nbsp; All domain computers sync time when they start up on the domain, regardless of how far out of sync they were.&lt;br /&gt;
&lt;br /&gt;
I have not seen this type of behavior with Hyper-V, only vSphere, ESX and ESXi hosts.&lt;div class="blogger-post-footer"&gt;Did you find this information useful? Post a comment and share it with others!&lt;img width="1" height="1" src="https://blogger.googleusercontent.com/tracker/798194812750898417-574122613249098497?l=www.expta.com" alt="" /&gt;&lt;/div&gt;</description></item></channel></rss>