Time synchronization on Virtual Windows 2003 domain

Discussion in 'Software' started by dmarsh, Sep 20, 2011.

  1. dmarsh
    Honorary Member 500 Likes Award

    dmarsh Petabyte Poster

    4,305
    503
    259
    I have created a virtual domain with an XP client and a Windows 2003 server.

    Unfortunately I keep getting kerberos ticket errors complaining the time is out by more than 5 seconds.

    The machines are both VM's in VirtualBox and the client is joined to the domain.

    I've tried various stuff but still having same issue of clocks drifting.

    Can anyone help ?
     
  2. dales

    dales Terabyte Poster

    2,005
    51
    142
    Have you installed the vm additions into each of the gues OS's, what about have you tried sync both vm's with an external time source uk.pool.ntp.org for example. When you shut them down you do actually shut them down and not suspend the vm's I take it.
     
    Certifications: vExpert 2014+2015+2016,VCP-DT,CCE-V, CCE-AD, CCP-AD, CCEE, CCAA XenApp, CCA Netscaler, XenApp 6.5, XenDesktop 5 & Xenserver 6,VCP3+5,VTSP,MCSA MCDST MCP A+ ITIL F
    WIP: Nothing
  3. derkit

    derkit Gigabyte Poster

    1,480
    58
    112
    What happens when you force a time sync?
    How long does it take to drift out of the 5 seconds slot?

    Is the Windows Time service set to Automatic and is started on the XP box?
     
    Certifications: MBCS, BSc(Hons), Cert(Maths), A+, Net+, MCDST, ITIL-F v3, MCSA
    WIP: 70-293
  4. dmarsh
    Honorary Member 500 Likes Award

    dmarsh Petabyte Poster

    4,305
    503
    259
    Yes client has Time service started and it is automatic.

    Time drift appears random, has been seen after a w32tm /resync in anything between 5 hours or a week.

    Have tried to set server to sync against external time source, was expecting client to sync against PDC automatically.

    Its a test environment, not sure what other people have been doing with the boxes, it is possible they are not being shut down tidily sometimes.
     
    Last edited: Sep 20, 2011
  5. craigie

    craigie Terabyte Poster

    3,020
    174
    155
    Certifications: CCA | CCENT | CCNA | CCNA:S | HP APC | HP ASE | ITILv3 | MCP | MCDST | MCITP: EA | MCTS:Vista | MCTS:Exch '07 | MCSA 2003 | MCSA:M 2003 | MCSA 2008 | MCSE | VCP5-DT | VCP4-DCV | VCP5-DCV | VCAP5-DCA | VCAP5-DCD | VMTSP | VTSP 4 | VTSP 5
  6. derkit

    derkit Gigabyte Poster

    1,480
    58
    112
    Yay! A random anomoly that floats around with no discernable predictablity - gotta love these problems :)

    AFAIK the client should automatically update the time from the DC with the PDC Emulator role (obviously the only server in your environment) but I can't remember ever seeing anything in the logs to say it has corrected itself - I only remember seeing it in the DC once it's updated itself to a remote online time source or an offline external GPS clock.

    Would be interesting to know if craigie's fix sorts it.
     
    Certifications: MBCS, BSc(Hons), Cert(Maths), A+, Net+, MCDST, ITIL-F v3, MCSA
    WIP: 70-293
  7. Sparky
    Highly Decorated Member Award 500 Likes Award

    Sparky Zettabyte Poster Moderator

    10,718
    543
    364
    I've had similar problems with some servers running in a hyper-v environment. I run a scheduled task once a day to resync the time from an external time server. Its a bit of "Windows NT" style fix but it does the job. :biggrin
     
    Certifications: MSc MCSE MCSA:M MCSA:S MCITP:EA MCTS(x5) MS-900 AZ-900 Security+ Network+ A+
    WIP: Microsoft Certs
  8. dales

    dales Terabyte Poster

    2,005
    51
    142
    Now you mention it sparky I remember doing that for an old linux server in esx 3.5, as you say a bit "A Team" style but it did the trick.
     
    Certifications: vExpert 2014+2015+2016,VCP-DT,CCE-V, CCE-AD, CCP-AD, CCEE, CCAA XenApp, CCA Netscaler, XenApp 6.5, XenDesktop 5 & Xenserver 6,VCP3+5,VTSP,MCSA MCDST MCP A+ ITIL F
    WIP: Nothing
  9. dmarsh
    Honorary Member 500 Likes Award

    dmarsh Petabyte Poster

    4,305
    503
    259
    So essentially what I need is a bunch of guys to build a tank from an old combine that fires cauliflowers ? :oops:
     
  10. ThomasMc

    ThomasMc Gigabyte Poster

    1,507
    49
    111
    We had HP servers that drifted all the time until we upgraded the BIOS
     
    Certifications: MCDST|FtOCC
    WIP: MCSA(70-270|70-290|70-291)
  11. dales

    dales Terabyte Poster

    2,005
    51
    142
    essentially yes dont forget the AK47's that they left in the crate in the old shed you were not tied up properly in.

    I seem to remember in the dim and distant past an article in esx 3.5 where vm's essentially are suspended when they have no work or traffic going too/from them, hence random time skew on occasion and thats also why windows perfmon is not a good performance indicator when within a vm, or summint like that, possibly a similar situation with virtualbox.

    (Runs off to google)
     
    Certifications: vExpert 2014+2015+2016,VCP-DT,CCE-V, CCE-AD, CCP-AD, CCEE, CCAA XenApp, CCA Netscaler, XenApp 6.5, XenDesktop 5 & Xenserver 6,VCP3+5,VTSP,MCSA MCDST MCP A+ ITIL F
    WIP: Nothing
  12. dales

    dales Terabyte Poster

    2,005
    51
    142
    Certifications: vExpert 2014+2015+2016,VCP-DT,CCE-V, CCE-AD, CCP-AD, CCEE, CCAA XenApp, CCA Netscaler, XenApp 6.5, XenDesktop 5 & Xenserver 6,VCP3+5,VTSP,MCSA MCDST MCP A+ ITIL F
    WIP: Nothing
  13. dmarsh
    Honorary Member 500 Likes Award

    dmarsh Petabyte Poster

    4,305
    503
    259
    Yes, the host has been struggling a lot recently, its due an upgrade. New memory had been added to the server this week, hopefully this might fix.

    Opps no still got same issue..
     
    Last edited: Sep 21, 2011
  14. dales

    dales Terabyte Poster

    2,005
    51
    142
    Ok have you tried ticking the "Hardware clock in UTC time" under settings\system\motherboard of each VM.
     
    Certifications: vExpert 2014+2015+2016,VCP-DT,CCE-V, CCE-AD, CCP-AD, CCEE, CCAA XenApp, CCA Netscaler, XenApp 6.5, XenDesktop 5 & Xenserver 6,VCP3+5,VTSP,MCSA MCDST MCP A+ ITIL F
    WIP: Nothing

Share This Page

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.