Solved Help - especially Kari - UTC time screws up time on VM's

jimbo45

New Member
VIP Member
Guru
Messages
4,373
Location
Hafnarfjörður IS
Hi there

I'm running a Linux server with the time set via an NTP server -- It's fine - BIOS hardware clock is set OK to correct time too.

Now when I boot up Windows VM's or run my Music / radio streamer system the time settings (on the VM's and the music server client) are always +1 hr out ???. Doesn't seem to matter which Linux distro I use.

I've now set the Windows VM's to get the time via the Internet - shouldn't have to do that - but my music server still records the time as + 1 hr. The client gets the time directly from the music server (it's a hardware client so other than display in 12 / 24 hr format there's no "adjust time" settings on it).

If I run the music server on native windows (tested with a Windows to Go installation) the time is 100% correct.

I can't remember this problem before the latest crop of Linux releases. !!

A server needs the CORRECT time or all sorts of discrepancies in the logs can occur.

Cheers
jimbo
 

My Computer

System One

  • OS
    Linux Centos 7, W8.1, W7, W2K3 Server W10
    Computer type
    PC/Desktop
    Monitor(s) Displays
    1 X LG 40 inch TV
    Hard Drives
    SSD's * 3 (Samsung 840 series) 250 GB
    2 X 3 TB sata
    5 X 1 TB sata
    Internet Speed
    0.12 GB/s (120Mb/s)
Do I understand you correctly:
  • The host has correct time, set via an NTP server
  • Any Windows vm running on that host has time +1 hour
  • All Windows vms are set to get time from the internet
If the above is correct then the most logical reason would be that host is in normal time, virtual machines although same time zone but in daylight saving time (+1).
 

My Computer

System One

  • OS
    Windows 8.1 Pro with Media Center
    Computer type
    Laptop
    System Manufacturer/Model
    HP ENVY 17-1150eg
    CPU
    1.6 GHz Intel Core i7-720QM Processor
    Memory
    6 GB
    Graphics Card(s)
    ATI Mobility Radeon HD 5850 Graphics
    Sound Card
    Beats sound system with integrated subwoofer
    Monitor(s) Displays
    17" laptop display, 22" LED and 32" Full HD TV through HDMI
    Screen Resolution
    1600*900 (1), 1920*1080 (2&3)
    Hard Drives
    Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
    External: 2TB for backups, 3TB USB3 network drive for media
    Cooling
    As Envy runs a bit warm, I have it on a Cooler Master pad
    Keyboard
    Logitech diNovo Media Desktop Laser (bluetooth)
    Mouse
    Logitech MX1000 Laser (Bluetooth)
    Internet Speed
    50 MB VDSL
    Browser
    Maxthon 3.5.2., IE11
    Antivirus
    Windows Defender 4.3.9431.0
    Other Info
    Windows in English, additional user accounts in Finnish, German and Swedish.
Hi there

If I Don't set the VM's to get time from the Internet they are always + 1hr - The host is set via NTP server (seems that it's UTC which is fine)

Where I am we are on standard GMT all year so it's Central European time -2 or BST -1.

The hardware music client gets the time from the music server (Linux). If I run it from a Windows VM (this server works both on Linux and Windows) then it picks up the time from the Windows VM which is + 1hr to what I want it.

So I'm confused as to why WINDOWS should be setting the time +1hr unless it's something to do with "Daylight saving" -- could it be that if I'm using a laptop Windows will adjust the time for daylight saving -- can't seem to find any place to disable that though.

I'm sure it's something with setting for daylight saving -- even on the Linux distros there seems to be no setting to turn that off -- that's the trouble with these "too easy automatic installs".

What I'm trying now is for the Linux Host to set the time via NTP server, then start the music server 30 secs after boot and then bring up the Windows VM's -- could be Windows picked up the time before the NTP server had set it.

What a dogs dinner of a mess for what should be a trivial problem !!!!

Cheers
jimbo
 

My Computer

System One

  • OS
    Linux Centos 7, W8.1, W7, W2K3 Server W10
    Computer type
    PC/Desktop
    Monitor(s) Displays
    1 X LG 40 inch TV
    Hard Drives
    SSD's * 3 (Samsung 840 series) 250 GB
    2 X 3 TB sata
    5 X 1 TB sata
    Internet Speed
    0.12 GB/s (120Mb/s)
I am quite convinced that the daylight saving time is the culprit here. You can disable it in Time Zone settings:

2014-07-15_14h07_05.png

Where I am we are on standard GMT all year
Have you set all Windows virtual machines to use UTC (GMT)? As far as I can think of it this would solve the issue:

2014-07-15_14h01_25.png

Kari
 

My Computer

System One

  • OS
    Windows 8.1 Pro with Media Center
    Computer type
    Laptop
    System Manufacturer/Model
    HP ENVY 17-1150eg
    CPU
    1.6 GHz Intel Core i7-720QM Processor
    Memory
    6 GB
    Graphics Card(s)
    ATI Mobility Radeon HD 5850 Graphics
    Sound Card
    Beats sound system with integrated subwoofer
    Monitor(s) Displays
    17" laptop display, 22" LED and 32" Full HD TV through HDMI
    Screen Resolution
    1600*900 (1), 1920*1080 (2&3)
    Hard Drives
    Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
    External: 2TB for backups, 3TB USB3 network drive for media
    Cooling
    As Envy runs a bit warm, I have it on a Cooler Master pad
    Keyboard
    Logitech diNovo Media Desktop Laser (bluetooth)
    Mouse
    Logitech MX1000 Laser (Bluetooth)
    Internet Speed
    50 MB VDSL
    Browser
    Maxthon 3.5.2., IE11
    Antivirus
    Windows Defender 4.3.9431.0
    Other Info
    Windows in English, additional user accounts in Finnish, German and Swedish.
Hi there

Thanks

Linux server was doing something with it too -- if I was logged on to the internet at boot it would pick up the ISP address of the server and work out if daylight saving operated or not. Since I use several different ISP's at times not all in the same country this caused the problem.

Thanks for putting me on the right lines.

Cheers.
Jimbo
 

My Computer

System One

  • OS
    Linux Centos 7, W8.1, W7, W2K3 Server W10
    Computer type
    PC/Desktop
    Monitor(s) Displays
    1 X LG 40 inch TV
    Hard Drives
    SSD's * 3 (Samsung 840 series) 250 GB
    2 X 3 TB sata
    5 X 1 TB sata
    Internet Speed
    0.12 GB/s (120Mb/s)
Back
Top