Domain Controller Vmware and Time Problem

6,830

Solution 1

You may take a look at this paper (VmWare TimeKeeping), also you may setup an ntp server on the host machine and make the guest sync with it.

Here's an article about configuring the Windows Time Service.

The instability of your time is maybe caused by the guest DC who's time is updated both from the PDC emulator and via the vmware tools, if you want only the vmware tools to sync the time there's an NoSync registry key for w32time.

Hope this helps.

Solution 2

I run both my PDC & SDC on VMWare and have never had a problem. I set the guest OSes using NTP.

This is the command I use to setup time on NTP on my PDC (by default all other DCs look to the PDC to sync time with and all member servers and workstations look to their logon server.

w32tm /config /manualpeerlist:"0.us.pool.ntp.org,0x08 1.us.pool.ntp.org,0x08 2.us.pool.ntp.org,0x08 3.us.pool.ntp.org,0x08" /syncfromflags:manual /reliable:yes /update & net stop w32time & net start w32time & w32tm /resync

Share:
6,830

Related videos on Youtube

Fionn
Author by

Fionn

Updated on September 17, 2022

Comments

  • Fionn
    Fionn almost 2 years

    I currently run a Win2k3 Domain controller inside a VMware Server for a small setup, the Vmware runs on a Win2k8 system.

    The problem i have is that the time on the Domain Controller is extremely unstable, is there any way to redirect the authoritative time source from the domain controller to the Host (which is also in the Domain).

    The reason I have the Domain controller not directly running on the Win2k8 box on physical hardware is that it made some problems to install Vmware on the Domain controller box (and I need it because of some stuff which runs on a virtual Linux).

    Or is there a way to get VMware (or any other virtualization solution) running peacefully on the same install (I hade some problem with the virtual network adapters)?

    It is by no way a big domain, more for testing purposes - but wrong time is really annoying.

    Thanks

    • Govindarajulu
      Govindarajulu almost 15 years
      Have you got a proper time source configured for the domain controller? Vmwaretools synctime is not very reliable, so try going native.
  • Fionn
    Fionn almost 15 years
    Is there any way to run a PDC on a machine with a Vmware server on it (for the virtual linux) without having the network adapter problem? Because this is the only reason that the PDC is running inside the VMware. Or is there a possiblity for the PDC to redirect the primary time source to an NTP address?
  • Spence
    Spence almost 15 years
    @Fionn: What is "the network adapter problem"? Are you talking about the server computer registering its VMware virtual adapters in DNS? If so, have a look at my answer here: serverfault.com/questions/33425/…
  • Spence
    Spence almost 15 years
    +1 - It may not be "preferred" to run a DC inside VMware, but I have a Customer who has been doing it with great success. Their PDC Emulator FSMO role-holder in their forest-root domain is running on a VMware ESX instance, sync'ing its hardware clock to the ESX host's hardware clock via VMware tools (with the W32time service disabled in the guest OS), and the host is doing an NTP sync to public NTP server pool. All other computers in the AD forest sync to that server, either directly or through another stratum of machines (the other DCs).