Educational ICT Virtualisation Specialist

Twitter LinkedIn E-mail
Precedence Technologies Ltd
Technology House, 36a Union Lane
Cambridge, CB4 1QB, United Kingdom
T: +44 (0)8456 446 800 / +44 (0)1223 359900
E: enquiries@precedence.co.uk
NTP-Server

Jump To: Support > KB > NetManager > NTP > Server

Configuring other machines to set their time from the NetManager

Windows

On all versions of Windows up until 2008R2 and Windows 7, you can use the net use command:

net use /setsntp:netmanager

Alternatively, you can use the w32tm command from (at least) XP onwards. You must use w32tm on 2008R2 and later. Add ,0x08 to the end of the hostname or IP address as described here.

w32tm /config /update /manualpeerlist:netmanager,0x08 /syncfromflags:manual

On a Domain Controller, add /reliable:YES to the end.

w32tm /config /update /manualpeerlist:netmanager,0x08 /syncfromflags:manual /reliable:YES

Generally machines which are members of an Active Directory domain will get their time from a Domain Controller, therefore you do not need to do this on each computer, just your Domain Controller.

After setting the NTP server(s), run the following to immediately sync the time:

w32tm /resync

Debug logging

Time change events are logged from the source 'Kernel-General' but will not state why the change occurred. To get more information enable debug logging:

w32tm /debug /enable /file:c:\w32time\w32time.log /size:10000000 /entries:0-300

To disable debug logging:

w32tm /debug /disable

XenServer

  1. Log onto console as root (or from XenCenter, go to server console and type xsconsole)
  2. Choose Network and Management Interface and press RETURN
  3. Choose Network Time (NTP) and press RETURN
  4. Login as root if prompted
  5. Use the Add an NTP Server, Remove a Single NTP Server and Remove All NTP Servers options to alter the addresses of the NTP servers to use
© Copyright Precedence Technologies 1999-2024
Page last modified on December 11, 2023, at 11:03 AM by sborrill