Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
howto:windowshowto [2013/05/02 21:42] – [Partition the USB Flash drive as needed] adminhowto:windowshowto [2013/06/18 23:30] – [Export the DHCP reservations, from the Old server which is to be migrated using netsh:] admin
Line 91: Line 91:
  
 Done Done
 +
 +==== Setting up the NTP server on a domain controller ====
 +
 +For USA use timservers from NTP pool project: 
 +
 +    server 0.north-america.pool.ntp.org
 +    server 1.north-america.pool.ntp.org
 +    server 2.north-america.pool.ntp.org
 +    server 3.north-america.pool.ntp.org
 +per http://www.pool.ntp.org/zone/north-america
 +
 +From [[http://social.technet.microsoft.com/wiki/contents/articles/8863.time-service-configuration-on-dc-with-pdc-emulator-fsmo-role.aspx#Configure_External_Time_service_on_DC_holding_PDC_emulator_role|Technet]]:
 +
 +Configure External Time service on DC holding PDC emulator role
 +Here we will have to make use of External Time Source ( Internet). To Accomplish this follow below steps.
 +
 +  - Open a Command Prompt.
 +  - Type the following command to display the time difference between the local computer and a target computer, and then press ENTER:
 +
 +  w32tm /stripchart /computer: target /samples: n /dataonly
 +
 +  * target: Specifies the Domain Name System (DNS) name or IP address of the NTP server that you are comparing the local computer's time against, for example, time.windows.com.
 +  * n: Specifies the number of time samples that will be returned from the target computer to test basic NTP communication.
 +  * eg: w32tm /stripchart /computer:time.windows.com /samples:5 /dataonly
 +  - Open User Datagram Protocol (UDP) port 123 for outgoing traffic if needed.
 +  - Open UDP port 123 (or a different port that you have selected) for incoming NTP traffic.
 +  - Type the following command to configure the PDC emulator, and then press ENTER:
 +
 +  w32tm /config /manualpeerlist: peers /syncfromflags:manual /reliable:yes /update
 +
 +  * where peers specifies the list of DNS names or IP addresses of the NTP time source that the PDC emulator synchronizes from. For example, you can specify time.windows.com. When specifying multiple peers, use a coma as the delimiter and enclose them in quotation marks. 
 +  * For example, to configure your PDC emulator to use the following list of time servers: 
 +  * 0.north-america.pool.ntp.org 1.north-america.pool.ntp.org 2.north-america.pool.ntp.org 3.north-america.pool.ntp.org
 +  * Run the following command:
 +
 +  w32tm /config /manualpeerlist:"0.north-america.pool.ntp.org,1.north-america.pool.ntp.org,2.north-america.pool.ntp.org,3.north-america.pool.ntp.org" /reliable:yes /update
 +
 +Verify the settings in the Windows registry:
 +  * HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters\Type should be NTP
 +  * HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config\AnnounceFlags should be 5
 +    * Note: If an authoritative time server that is configured to use an AnnounceFlag value of 0x5 does not synchronize with an upstream time server, a client server may not correctly synchronize with the authoritative time server when the time synchronization between the authoritative time server and the upstream time server resumes. Therefore, if you have a poor network connection or other concerns that may cause time synchronization failure of the authoritative server to an upstream server, set the AnnounceFlag value to 0xA instead of to 0x5. 
 +  * HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer  Enabled = 1
 +  * HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters NtpServer = 0.north-america.pool.ntp.org 1.north-america.pool.ntp.org 2.north-america.pool.ntp.org 3.north-america.pool.ntp.org
 +  * HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient\SpecialPollInterval SpecialPollInterval = 900
 +  * restart service: 
 +    * net stop w32time && net start w32time
 +  * Verify that UDP Port 123 is open
 +
 +Notes: 
 +  * [[http://social.technet.microsoft.com/wiki/contents/articles/8863.time-service-configuration-on-dc-with-pdc-emulator-fsmo-role.aspx#Configure_External_Time_service_on_DC_holding_PDC_emulator_role|Technet source]]
 +  * Some settings were not saved from the command line
 +  * The priod was not saved correctly, even if the refistry, the resulting value was 512s.
 +  * 
howto/windowshowto.txt · Last modified: 2020/02/11 02:59 by admin
CC Attribution-Noncommercial-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0