OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • [SOLVED] Hyper-V and time sync
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] Hyper-V and time sync  (Read 5154 times)

weust

  • Hero Member
  • *****
  • Posts: 650
  • Karma: 57
    • View Profile
[SOLVED] Hyper-V and time sync
« on: February 28, 2016, 03:17:56 pm »
I'm reading through some documentation to optimize my home virtual environment.
Running a Hyper-V 2012 R2 Free server which holds several VM's.
One is running OPNsense, another is a Windows Server 2012 R2 Domain Controller.

There is also a physical Windows Server 2012 R2 Domain Controller.
This one is my current Time Server for the domain and other devices to sync their time against.

It is recommended to have virtual Domain Controllers (DC) sync their time to the DC running the "PDC Emulator" role, while other VM's get their time through the "Time synchronization" from the Integration Services provided by Hyper-V host to the Guest VM.
On Linux and FreeBSD VM's this simply means not installing a NTP daemon so the Integration Service keeps the virtual clock in sync with the clock from the host.

One exception it OPNsense. It's config does not allow a blank entry for the "NTP Time Server" option in "General | Settings | System".

Is there a way to work around this, or does a patch need to be made to allow not setting a NTP Time Server?
« Last Edit: February 28, 2016, 04:02:55 pm by franco »
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17704
  • Karma: 1617
    • View Profile
Re: Hyper-V and time sync
« Reply #1 on: February 28, 2016, 04:02:41 pm »
You can set an unresolvable host name or wait for this commit in 16.1.5...

https://github.com/opnsense/core/commit/0d70b4a9dbde2889063fba177a06f5fb139d87f4

;)
Logged

weust

  • Hero Member
  • *****
  • Posts: 650
  • Karma: 57
    • View Profile
Re: [SOLVED] Hyper-V and time sync
« Reply #2 on: February 28, 2016, 04:34:38 pm »
Awesome :-) Like the description in GitHub too haha
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • [SOLVED] Hyper-V and time sync
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2