Verify Time is Synchronized

Overview #

Many network services are dependent on time synchronization.

This is a short Cheat Sheet to Verify Time is Synchronized

Verify Time Windows#

You can manually synchronize a computer with the time on the domain. To force synchronize the computer's time manually with the current time on the domain
  • Click Start
  • click Run.
  • net time /domain /set
  • click OK.

You can also monitor the time by using:

w32tm /monitor
    ICMP: 40ms delay
    NTP: -0.0151674s offset from SERVER1.yourdomain.com
        RefID: server.yourroot.com []
        Stratum: 3
    ICMP: 20ms delay
    NTP: +0.0074253s offset from SERVER2.yourdomain.com
        RefID: server.yourroot.com []
        Stratum: 3
SERVER3.yourdomain.com *** PDC ***[]:
    ICMP: 3ms delay
    NTP: +0.0000000s offset from SERVER3.yourdomain.com
        RefID: server.yourroot.com []
        Stratum: 3
        <!-- Remaining Content suppressed for brevity -->

Verify Time Linux#

For most Linux and UNIX hosts:
ntpq -p
     remote           refid      st t when poll reach   delay   offset  jitter
 LOCAL(0)        .LOCL.          10 l   30   64  377    0.000    0.000   0.000
+ntpserver1.yourdoamin .GPS.            1 u  193 1024  377    1.990   -0.627   0.201
+ntpserver2.yourdoamin .GPS.            1 u  316 1024  377    1.851   -0.590   0.049
-ntpserver1.yourdoamin .GPS.            1 u   22 1024  377    0.610   -0.531   0.046
*ntpserver1.yourdoamin .GPS.            1 u   11 1024  377    0.496   -0.589   0.022

EDirectory Tree#

You should regularly check that Time sync is correct within your EDirectory Tree

We use the following command:

/opt/novell/eDirectory/bin/ndsrepair -T 

Typical output is:

                              DS      Replica   Time        Time is     Time
Server name                 Version   Depth     Source      in sync      +/-
Processing server: .bratton.srv.willeke.com
.bratton.srv.willeke.com    20601.18    0       Non-NetWare Yes            0
Processing server: .sa.svr.willeke.com
.sa.svr.willeke.com         20601.18    0       Non-NetWare Yes            0

All servers shown in the time sync screen should show as YES

NOTE: vmware servers or servers on wan link may be shown as not in (quite) sync.

Many people use NTP however, we have been using SNTP to maintain Time sync.

More Information#

There might be more information for this subject on one of the following: