Answered NTP Server

  • Wednesday, August 22, 2012 12:13 AM
     
     

    I have 15 DC's and 1 DC is the PDC.

    I configured the DC's as follows:

    1. Click [START] | [RUN]
    2. Type CMD then press [ENTER]
    3. Type W32TM /CONFIG /SYNCFROMFLAGS:DOMHIER /RELIABLE:NO /UPDATE then press [ENTER]
    4. Type NET STOP W32TIME && NET START W32TIME then press [ENTER]
    5. Type NET TIME then press [ENTER]

    The PDS communictates to an external source.

    The time is configured fine. Doing a w32tm /monitor shows the correct server as the PDC.

    However, when doing a "net time", it displays \\<DC name> which is NOT the PDC. Why when doing a net time it does not return the PDC name, but some random DC's?

All Replies

  • Wednesday, August 22, 2012 12:37 AM
     
     
    • Proposed As Answer by Yagmoth555 Wednesday, August 22, 2012 2:16 AM
    • Unproposed As Answer by anon1m0us Wednesday, August 22, 2012 2:23 AM
    •  
  • Wednesday, August 22, 2012 2:22 AM
     
     
    I checked these logs to configure the NTP and it works. My question is why when doing net time a DC comes up, but not the PDC?
  • Wednesday, August 22, 2012 2:33 AM
     
     
    That DC really got the PDC Emulator's roles ? (http://technet.microsoft.com/en-us/library/cc794937(WS.10).aspx)

    MCP | MCTS 70-236: Exchange Server 2007, Configuring

    Want to follow me ?  |  Blog: http://www.jabea.net | http://blogs.technet.com/b/wikininjas/

  • Wednesday, August 22, 2012 2:44 AM
     
     
    That DC does not have the PDC role. When I do a DSQUERY for the PDC role, the right PDC shows up. But again, when I do a net time, the wrong DC shows up.
  • Wednesday, August 22, 2012 6:49 AM
    Moderator
     
     Answered

    Hi,

     “net time” command synchronizes the computer’s clock with that of another computer or domain. Used without parameters, net time displays the time for another computer or domain.

    What’s your AD structure? Is the DC (show in “net time”) in parent domain?

    Time synchronize is based on a domain hierarchy use the AD DS domain hierarchy to find a reliable source with which to synchronize time.

    In the hierarchy, workstation or member server can sync time with any domain controller in its own domain.

    A Domain Controller in child domain can sync time with PDC from its own domain or any domain controller from parent domain.

    A PDC in child domain can sync time with PDC or any domain controller from parent domain.

    So if the DC (display in “net time” result”) is a domain controller from parent domain, this is by design. Check that and give us feedback for further troubleshooting.

    For more information please refer to this figure, Time Synchronization in an AD DS Hierarchy:

    Time Synchronization in Active Directory Hierarchy

    How the Windows Time Service Works
    http://technet.microsoft.com/en-us/library/cc773013(v=ws.10).aspx
    Net time
    http://technet.microsoft.com/en-us/library/bb490716.aspx



    Lawrence

    TechNet Community Support

  • Wednesday, August 22, 2012 12:16 PM
     
     
    I have 1 domain. In that domain i have 15 DC's spread across the country. I want all my DC's in this parent domain to communicate to the PDC emulator, per the diagram above. However, doing a net time it displays different DC's. Is there anyway for me to "force" all the DC's to ONLY communicate to the PDC for time and no other DC?
  • Wednesday, August 22, 2012 12:44 PM
     
     
    Like Lawrence told, if you use only "net time", it only display the time of another computer/DC. It does not sync with it.

    MCP | MCTS 70-236: Exchange Server 2007, Configuring

    Want to follow me ?  |  Blog: http://www.jabea.net | http://blogs.technet.com/b/wikininjas/

  • Thursday, August 23, 2012 7:14 AM
    Moderator
     
     Answered

    Hi,

    Net time command displays the time for another computer or domain not the time source.

    If you want to check time source, you may run below command:

    w32tm /query /source or w32tm /query /status

    By default, server or client sync time follow Time Synchronization hierarchy, if you want to configure a manual time source for a client compute, please refer to following steps:

    1. Open a Command Prompt.
    2. Type the following command to the time difference between the local computer and a target computer, and then press ENTER:

    w32tm /stripchart /computer:target/samples:n/dataonly

    Value  

    Definition  

    target

    Specifies the DNS name or IP address of the NTP server that you comparing the local computer's time against.

    n

    Specifies the number of time samples that will be returned from the target computer to test basic NTP communication.

    1. Open UDP port 123 for outgoing traffic on firewall if needed.
    2. Open UDP port 123 (or a different port you have selected) for incoming NTP traffic.
    3. Type the following command to configure a manual time source for the selected computer and then press ENTER:

    w32tm /config /manualpeerlist:peers /syncfromflags:manual /update

    where peers specifies the list of DNS names or IP addresses of the NTP time source(s) that the selected computer will synchronize from. When specifying multiple peers, use a space as the delimiter and enclose them in quotation marks

    For more information please refer to following MS articles:

    W32tm Command
    http://technet.microsoft.com/en-us/library/bb491016.aspx
    Configure a manual time source for a selected client computer
    http://technet.microsoft.com/en-us/library/cc757721(v=ws.10)




    Lawrence

    TechNet Community Support