{"id":603,"date":"2010-10-18T13:35:20","date_gmt":"2010-10-18T18:35:20","guid":{"rendered":"http:\/\/it.thelibrarie.com\/weblog\/?p=603"},"modified":"2015-09-18T10:30:13","modified_gmt":"2015-09-18T15:30:13","slug":"server-2003-ntp-domain-controller","status":"publish","type":"post","link":"https:\/\/it.thelibrarie.com\/weblog\/2010\/10\/server-2003-ntp-domain-controller\/","title":{"rendered":"Server 2003 NTP Domain Controller"},"content":{"rendered":"<p>I was starting to notice that a few of the servers had different times on them.  I only noticed because my desktop clock was different from my phone clock, and the phone system was pointing to my Ubuntu NTP server as it&#8217;s time server (which in turn is pointing to ntp.ubuntu.com I believe).<\/p>\n<p>So, 2 domain controllers had the exact same time, 1 had a different time, and yet another still had another different time:<br \/>\nDC1 10:01:05<br \/>\nDC2 10:01:42<br \/>\nDC3 10:00:00 (PDC)<br \/>\nDC4 10:00:00<\/p>\n<p>Not good. So the PDC was being read only by the newest of the domain controllers.  So the other two were setup incorrectly.  It&#8217;s never a good idea to have multiple domain controllers with different time on the clocks.  That leads to a bunch of issues.  Let&#8217;s find out how to fix and why it is wrong.<\/p>\n<p>Check what NTP each DC is fetching information from:<\/p>\n<blockquote><p>Open a command prompt on any of the domain controllers.<br \/>\n<code>w32tm \/monitor \/domain:DOMAIN_NAME_HERE<\/code><\/p><\/blockquote>\n<p>If on a workgroup, you can use the following:<br \/>\n<code>net time \/querysntp<\/code><\/p>\n<p>If your PDC is not on the correct time, change the what NTP your server is fetching information from:<\/p>\n<blockquote><p><code>w32tm \/config \/manualpeerlist:IP_ADDRESS_OF_NTP_SERVER \/syncfromflags:manual \/reliable:yes \/update<\/code><\/p><\/blockquote>\n<p>Update your other Servers\/DCs to fetch NTP data from your PDC:<\/p>\n<blockquote><p>On your other servers, open a command prompt.<br \/>\n<code>w32tm \/config \/manualpeerlist:IP_OF_PDC,0x8 \/syncfromflags:MANUAL<\/code><br \/>\n<code>net stop w32time<\/code><br \/>\n<code>net start w32time<\/code><br \/>\n<code>w32tm \/resync<\/code><\/p><\/blockquote>\n<p>\/update will allow you to not need to net stop\/start the w32time service.  I put both in here for my personal reference.<\/p>\n<p>0x8 flag &#8211; send request as client mode<br \/>\n0x4 flag &#8211; send request as symmetricactive mode<br \/>\n0x2 flag &#8211; use as fallback only<br \/>\n0x1 flag &#8211; use a special polling interval<\/p>\n<p>** EDIT 9\/18\/2015 **<br \/>\nReplaced my aging Ubuntu 12.04LTS (an upgrade from 8.04 to 10.04) with a CentOS7.x box for the primary NTP. Noticed that the managed phone clocks were about 2 minutes off from our desktop clocks. The phones were set incorrectly and I had our provider fix, but we were still about 60 seconds off from where we wanted to be.<\/p>\n<p>The replacement server had the same IP, but did NOT have the proper restrict (restrict 10.0.0.0 mask 255.0.0.0) appropriate for our environment. Fixed and service ntpd restart.<\/p>\n<p>Still no love. On the PDC I ran<br \/>\n<code>w32tm \/query \/peers<\/code><br \/>\nAnd received a State: Pending<br \/>\nEnded up rewriting the manualpeerlist<br \/>\n<code>w32tm \/config \/manualpeerlist:\"10.0.0.254 0.us.pool.ntp.org\" \/reliable:yes \/update<\/code><br \/>\n<code>w32tm \/resync<\/code><br \/>\n<code>w32tm \/query \/peers<\/code><br \/>\nState: Active<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was starting to notice that a few of the servers had different times on them. I only noticed because my desktop clock was different from my phone clock, and the phone system was pointing to my Ubuntu NTP server as it&#8217;s time server (which in turn is pointing to ntp.ubuntu.com I believe). So, 2 &hellip; <a href=\"https:\/\/it.thelibrarie.com\/weblog\/2010\/10\/server-2003-ntp-domain-controller\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Server 2003 NTP Domain Controller<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-603","post","type-post","status-publish","format-standard","hentry","category-microsoft"],"_links":{"self":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/603","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/comments?post=603"}],"version-history":[{"count":4,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/603\/revisions"}],"predecessor-version":[{"id":1284,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/603\/revisions\/1284"}],"wp:attachment":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/media?parent=603"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/categories?post=603"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/tags?post=603"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}