Monday, April 18, 2011

Sri Lanka launches

This web site will display the Sri Lanka's Standard time. The main objective behind this valuable initiative is to minimize difficulties faced due to contradicting times displayed by organizations in the country.

Lets configure our organizations websites, PC, servers, etc... to sync with ntp server.

Follow the following steps in an windows active directory environment.

  1. First, Locate your Primary Domain Controller (PDC). Open the command prompt and type, netdom /query fsmo (Netdom is a ntreskit tool which can be downloaded FOC)
  2. Log in to your PDC Server.
  3. Check time difference between your server and the NTP server w32tm /stripchart / /samples:5 /dataonly
  4. Stop the W32Time service: net stop w32time
  5. Configure the external time source/s, type w32tm /config    /syncfromflags:manual / /Update
  6. Make the PDC a reliable time source, type w32tm /config /reliable:yes
  7. Start the w32time service, type net start w32time
    The windows time service will begin synchronizing the time. You could query the details trough w32tm /query /peers, w32tm /query /status commands.
  8. Optionaly execute w32tm /resync to do an immediate sync
  9. Check the Event Viewer for any errors.

Note: You might have to add/modify firewall rule/s to allow ntp access to from your network.

Congratulations !!! You are now in sync with the ntp server.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.