How the Windows Time Service Works

 

 

?????. ???? ??? ????? ??????.

??? UNIX??? Windows ??? ????? ???? ?? Time Service? ??? ?? ?????.

????? Windows?? Time Service? NTP Specification? ???? ???????.

NTP? ???? https://tools.ietf.org/html/rfc958 ?? ??? ???? ? ????.

? ??? ??? NTP? ?? ?? ?? ? ?? ??? Windows Time Service? ?? ??? ??? ???????.

??, ??? ? ? ??????

1. Network? ??

??? NTP Protocol? ??? ?? ?? ??? ?? ??? ?? ?? ?? Network ?? ???? ??? Network? ??? ?? ? ?? ????.

??? ??? Network? ??? Media? Media ?? ???? ??? ???? ??? ? ?? ???, Machine ??? Network? ???? CPU? Memory? ?? ??? ???.

 

2. Time.windows.com

????? Workgroup ???? ???? Machine?? time.windows.com? ?? ???? ???.

?? time.windows.com?? ??? ??? ??? ??? ??? ??? ?? ??? Time Server? ????? ???.

 

3. AD Forest ??? ?? ???? ???

Domain ????? Parent Domain? Child Domain ?? ?? ???? ?? ??? ?????.

?? ???? ? ? ??? ???????.

 

????, ? Windows Time Service? ??? Component?? ??? ??? ????

Technet ? ???? ? ??? ????.(?? ?? ?? ?? ?????.)

clip_image001

 

? ???? ??? ? ? ??? Time Service? ?? Time Server?? ??? ?? ???, ???? System Clock? Update ??? Event Log? ????? ??? ???.

? ???? ???? ??? ???? ??? ????.

1. Input Provider? ??? NTP ?? ??????, ??? ?? ??? ??

2. ??? ?? ??? Time Service? ????, ?? ??? ??? ?? Clock Discipline?? ???

3. Clock discipline? ??? ?? ??? ??? ?? ??? ??? NTP ????? ???? ???.

4. ??? Clock discpline? ?? ??? ???? System Clock? ??? ???? ???.

 

?, ??? ?? ?? ???? ??? ?? ??? ?? ? ??? Domain Hierarchy-Based Synchronization? ??? ?? ?????.

Forest? ??? ????? ?? ???? ?? ??? ?? ???? ???.

 

clip_image001[6]

??? ?? ????

1. ??? Domain ? PDC?? ?? ?? ??? ???? ??.

2. ?? Domain? PDC? ?? Domain? PDC? ?? ???? ??.

3. ?? Domain? Member Server? ?? Domain? PDC? ?? ???? ??.

 

??? ?? ??? Point? ??? Domain? ?? ?? ??? ???? ??? ????.

?? ??, PDC? Time Service ???? Type? NTP? ?? ??? ?? ??? PDC? ?? DC? Member Server? ?? NT5DS? ???? ??? ???.

???? Member ???? Query ? ?? ?? ??? ?????. ?? ???, Type? NT5DS? ?? ?? ?? ???? ? ????.

 

image

????, PDC? ?? ?? ??? ??? ??? ???? ?? ??? ??????

?? ??? ?? ? ?? ???? ?????? ???.

w32tm /config /manualpeerlist:time.windows.com,0x1 /syncfromflags:manual /reliable:yes /update  

net stop w32time

net start w32time

w32tm /resync /rediscover

 

?? ??? ??? ?? ?? ??????.

1. ??? ???? PDC ??? ?? DC? ?? ????? ??? ??.

2. PDC? ?? ??? ????? PDC? Time Service Type? NTP?? ??.

3. Member Server? PDC? ????? Time Service Type? NT5DS?? ??.

 

???, ?? ?? ??? ??? ?? ?????.

 

[References]

https://technet.microsoft.com/en-us/library/cc773013(v=ws.10).aspx

https://technet.microsoft.com/en-us/library/cc773263(v=ws.10).aspx