How to synchronize time on ESXi Windows virtual machines within one second?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
10
down vote

favorite
2












I'm a developer and we are using Quartz.Net, widely used scheduling library with SQL backing store to run cluster of jobs servers (VMs on ESXI cluster).



Quartz.Net requires that time will be synchronized between job server instances and recommends using NTP for it.




The clocks must be within a second of each other.




Our sysadmins using windows NTP to sync time with domain controller. Synchronization of VMs with ESXI host is off.



They keep insisting that's "within second" is not correct requirement and that cannot be met w/o hardware GPS-syncing devices. Their SLA & monitoring level are "within 3 minutes".



We are experiencing periodic (once in 2-3 months) Quartz instances out-of-sync behavior that consistent with time being out of sync.



  1. Is it correct for us to ask for "within second" or we need to ditch Quartz entirely?

  2. If yes, what changes are recommended for our setup?






share|improve this question









New contributor




Leotsarev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.














  • 9




    Syncing to one second is nothing, even on virtual servers (which have notoriously poor time stability on their own). Three minutes?! Having a laugh. You can't run a network that way.
    – Lightness Races in Orbit
    Sep 5 at 11:02















up vote
10
down vote

favorite
2












I'm a developer and we are using Quartz.Net, widely used scheduling library with SQL backing store to run cluster of jobs servers (VMs on ESXI cluster).



Quartz.Net requires that time will be synchronized between job server instances and recommends using NTP for it.




The clocks must be within a second of each other.




Our sysadmins using windows NTP to sync time with domain controller. Synchronization of VMs with ESXI host is off.



They keep insisting that's "within second" is not correct requirement and that cannot be met w/o hardware GPS-syncing devices. Their SLA & monitoring level are "within 3 minutes".



We are experiencing periodic (once in 2-3 months) Quartz instances out-of-sync behavior that consistent with time being out of sync.



  1. Is it correct for us to ask for "within second" or we need to ditch Quartz entirely?

  2. If yes, what changes are recommended for our setup?






share|improve this question









New contributor




Leotsarev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.














  • 9




    Syncing to one second is nothing, even on virtual servers (which have notoriously poor time stability on their own). Three minutes?! Having a laugh. You can't run a network that way.
    – Lightness Races in Orbit
    Sep 5 at 11:02













up vote
10
down vote

favorite
2









up vote
10
down vote

favorite
2






2





I'm a developer and we are using Quartz.Net, widely used scheduling library with SQL backing store to run cluster of jobs servers (VMs on ESXI cluster).



Quartz.Net requires that time will be synchronized between job server instances and recommends using NTP for it.




The clocks must be within a second of each other.




Our sysadmins using windows NTP to sync time with domain controller. Synchronization of VMs with ESXI host is off.



They keep insisting that's "within second" is not correct requirement and that cannot be met w/o hardware GPS-syncing devices. Their SLA & monitoring level are "within 3 minutes".



We are experiencing periodic (once in 2-3 months) Quartz instances out-of-sync behavior that consistent with time being out of sync.



  1. Is it correct for us to ask for "within second" or we need to ditch Quartz entirely?

  2. If yes, what changes are recommended for our setup?






share|improve this question









New contributor




Leotsarev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.










I'm a developer and we are using Quartz.Net, widely used scheduling library with SQL backing store to run cluster of jobs servers (VMs on ESXI cluster).



Quartz.Net requires that time will be synchronized between job server instances and recommends using NTP for it.




The clocks must be within a second of each other.




Our sysadmins using windows NTP to sync time with domain controller. Synchronization of VMs with ESXI host is off.



They keep insisting that's "within second" is not correct requirement and that cannot be met w/o hardware GPS-syncing devices. Their SLA & monitoring level are "within 3 minutes".



We are experiencing periodic (once in 2-3 months) Quartz instances out-of-sync behavior that consistent with time being out of sync.



  1. Is it correct for us to ask for "within second" or we need to ditch Quartz entirely?

  2. If yes, what changes are recommended for our setup?








share|improve this question









New contributor




Leotsarev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited Sep 5 at 18:19









200_success

4,07011739




4,07011739






New contributor




Leotsarev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Sep 5 at 7:35









Leotsarev

1536




1536




New contributor




Leotsarev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Leotsarev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Leotsarev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







  • 9




    Syncing to one second is nothing, even on virtual servers (which have notoriously poor time stability on their own). Three minutes?! Having a laugh. You can't run a network that way.
    – Lightness Races in Orbit
    Sep 5 at 11:02













  • 9




    Syncing to one second is nothing, even on virtual servers (which have notoriously poor time stability on their own). Three minutes?! Having a laugh. You can't run a network that way.
    – Lightness Races in Orbit
    Sep 5 at 11:02








9




9




Syncing to one second is nothing, even on virtual servers (which have notoriously poor time stability on their own). Three minutes?! Having a laugh. You can't run a network that way.
– Lightness Races in Orbit
Sep 5 at 11:02





Syncing to one second is nothing, even on virtual servers (which have notoriously poor time stability on their own). Three minutes?! Having a laugh. You can't run a network that way.
– Lightness Races in Orbit
Sep 5 at 11:02











3 Answers
3






active

oldest

votes

















up vote
19
down vote



accepted










This is 2018. Windows is capable of keeping servers synchronized within 2 ms or so, as required by MIFID II Regulations. So, your problem is a non-problem.




Our sysadmins using windows NTP to sync time with domain controller. Synchronization of
VMs with ESXI host is off.




Why? The host can handle this a lot better (being hardware) and you have a lot fewer. Your sysadmins shoot themselves in the foot, then complain they are bleeding.




They keep insisting that's "within second" is not correct requirement and that cannot
be met w/o hardware GPS-syncing devices. Their SLA & monitoring level
are "within 3 minutes".




OLD - ancient - Windows synchronized within that timeframe because the Kerberos tickets had a 5 minute validity.



But this is, as I said, 2018. The financial industry has quite brutal requirements these days and MS has handled that for - since 2012, I think. 2016 put it fully into effect. Millisecond accuracy over the internet is a solved problem - solved 50 years ago actually, for a decent connection. NTP can handle it. You may have to put up a cheap hardware box if you want to cut down on traffic (i.e. make your own tier 3 NTP time source), but that again is not even expensive.




Is it correct for us to ask for "within second" or we need to ditch Quartz entirely?




You need to program for occasional time issues - as you would do with hardware. But "within second" is a joke of a requirement - it is trivial to meet under normal circumstances.



Some references:



https://docs.microsoft.com/en-us/windows-server/networking/windows-time-service/accurate-time




Government Regulations like:
50 ms accuracy for FINRA in the US
1 ms ESMA (MiFID II) in the EU.




Lots of detail and instructions there. This is an amazing read actually if you have to solve this problem. You may have to upgrade your hypervisor - they talk all about Hyper-V. VMWare should be able to do the same, but not sure how old your version is.






share|improve this answer






















  • FWIW, MiFID II compliance in the [UK] financial industry is shockingly poor (banks would rather pay the paltry fines than bother with all that hoo-har) but you're technically right of course.
    – Lightness Races in Orbit
    Sep 5 at 11:03











  • Itis not about compliance, it is about th ABILITYY to be compliant. MS solved that long ago. As such, the "3 minute accurate" that OP talks about area joke.
    – TomTom
    Sep 5 at 11:07










  • I agree; this was just an aside.
    – Lightness Races in Orbit
    Sep 5 at 11:08






  • 2




    I'm with you that NTP is more than fast enough, but VMware does not recommend using integration services to sync time, in most (though not all) cases regular NTP does a better and faster job.
    – HoD
    Sep 5 at 13:00










  • As your concern is with relative time between servers, you can use NTP to synchronise them with network switches which in turn synchronise with your ISP - no extra hardware required.
    – grahamj42
    Sep 5 at 16:14

















up vote
6
down vote














Is it correct for us to ask for "within second" or we need to ditch
Quartz entirely?




There are lots of very good reasons for various application stacks to need tight time control and what Quartz are asking for is far from unusual.




If yes, what changes are recommended for our setup?




The best bet is to make every single part of your system use NTP and point them to the same pair of NTP servers. So ESXi hosts and the VMs running on them, all using the same NTP sources, same for anything else involved. This way even if the NTP servers are 'off time' then at least every part of your system is up-to-date with each other.






share|improve this answer



























    up vote
    4
    down vote













    https://docs.microsoft.com/en-us/windows-server/networking/windows-time-service/support-boundary



    High Accuracy support for Windows 8.1 and 2012 R2 (or Prior)



    Earlier versions of Windows (Prior to Windows 10 1607 or Windows Server 2016 1607) cannot guarantee highly accurate time. The Windows Time service on these systems:



    • Provided the necessary time accuracy to satisfy Kerberos version 5 authentication requirements


    • Provided loosely accurate time for Windows clients and servers joined to a common Active Directory forest


    Tighter accuracy requirements were outside of the design specification of the Windows Time Service on these operating systems and is not supported.



    Windows 10 and Windows Server 2016



    Time accuracy in Windows 10 and Windows Server 2016 has been substantially improved, while maintaining full backwards NTP compatibility with older Windows versions. Under the right operating conditions, systems running Windows 10 or Windows Server 2016 and newer releases can deliver 1 second, 50ms (milliseconds), or 1ms accuracy.



    Target Accuracy: 1 Second (1s)



    To achieve 1s accuracy for a specific target machine when compared to a highly accurate time source:



    • The target system must run Windows 10, Windows Server 2016.


    • The target system must synchronize time from an NTP hierarchy of time servers, culminating in a highly accurate, Windows compatible NTP time source.


    • All Windows operating systems in the NTP hierarchy mentioned above must be configured as documented in the Configuring Systems for High Accuracy documentation.


    • The cumulative one-way network latency between the target and source must not exceed 100ms. The cumulative network delay is measured by adding the individual one-way delays between pairs of NTP client-server nodes in the hierarchy starting with the target and ending at the source. For more information, please review the high accuracy time sync document.


    https://docs.microsoft.com/en-us/windows-server/networking/windows-time-service/configuring-systems-for-high-accuracy






    share|improve this answer




















    • Actually, we are using Windows 2012R2. Seems that is root of problem (along with not-syncing with ESXI host)
      – Leotsarev
      Sep 5 at 12:50






    • 1




      @Leotsarev: if these are domain members, they should not synchronize with the VM host.
      – Greg Askew
      Sep 5 at 15:45










    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "2"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );






    Leotsarev is a new contributor. Be nice, and check out our Code of Conduct.









     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f929510%2fhow-to-synchronize-time-on-esxi-windows-virtual-machines-within-one-second%23new-answer', 'question_page');

    );

    Post as a guest






























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    19
    down vote



    accepted










    This is 2018. Windows is capable of keeping servers synchronized within 2 ms or so, as required by MIFID II Regulations. So, your problem is a non-problem.




    Our sysadmins using windows NTP to sync time with domain controller. Synchronization of
    VMs with ESXI host is off.




    Why? The host can handle this a lot better (being hardware) and you have a lot fewer. Your sysadmins shoot themselves in the foot, then complain they are bleeding.




    They keep insisting that's "within second" is not correct requirement and that cannot
    be met w/o hardware GPS-syncing devices. Their SLA & monitoring level
    are "within 3 minutes".




    OLD - ancient - Windows synchronized within that timeframe because the Kerberos tickets had a 5 minute validity.



    But this is, as I said, 2018. The financial industry has quite brutal requirements these days and MS has handled that for - since 2012, I think. 2016 put it fully into effect. Millisecond accuracy over the internet is a solved problem - solved 50 years ago actually, for a decent connection. NTP can handle it. You may have to put up a cheap hardware box if you want to cut down on traffic (i.e. make your own tier 3 NTP time source), but that again is not even expensive.




    Is it correct for us to ask for "within second" or we need to ditch Quartz entirely?




    You need to program for occasional time issues - as you would do with hardware. But "within second" is a joke of a requirement - it is trivial to meet under normal circumstances.



    Some references:



    https://docs.microsoft.com/en-us/windows-server/networking/windows-time-service/accurate-time




    Government Regulations like:
    50 ms accuracy for FINRA in the US
    1 ms ESMA (MiFID II) in the EU.




    Lots of detail and instructions there. This is an amazing read actually if you have to solve this problem. You may have to upgrade your hypervisor - they talk all about Hyper-V. VMWare should be able to do the same, but not sure how old your version is.






    share|improve this answer






















    • FWIW, MiFID II compliance in the [UK] financial industry is shockingly poor (banks would rather pay the paltry fines than bother with all that hoo-har) but you're technically right of course.
      – Lightness Races in Orbit
      Sep 5 at 11:03











    • Itis not about compliance, it is about th ABILITYY to be compliant. MS solved that long ago. As such, the "3 minute accurate" that OP talks about area joke.
      – TomTom
      Sep 5 at 11:07










    • I agree; this was just an aside.
      – Lightness Races in Orbit
      Sep 5 at 11:08






    • 2




      I'm with you that NTP is more than fast enough, but VMware does not recommend using integration services to sync time, in most (though not all) cases regular NTP does a better and faster job.
      – HoD
      Sep 5 at 13:00










    • As your concern is with relative time between servers, you can use NTP to synchronise them with network switches which in turn synchronise with your ISP - no extra hardware required.
      – grahamj42
      Sep 5 at 16:14














    up vote
    19
    down vote



    accepted










    This is 2018. Windows is capable of keeping servers synchronized within 2 ms or so, as required by MIFID II Regulations. So, your problem is a non-problem.




    Our sysadmins using windows NTP to sync time with domain controller. Synchronization of
    VMs with ESXI host is off.




    Why? The host can handle this a lot better (being hardware) and you have a lot fewer. Your sysadmins shoot themselves in the foot, then complain they are bleeding.




    They keep insisting that's "within second" is not correct requirement and that cannot
    be met w/o hardware GPS-syncing devices. Their SLA & monitoring level
    are "within 3 minutes".




    OLD - ancient - Windows synchronized within that timeframe because the Kerberos tickets had a 5 minute validity.



    But this is, as I said, 2018. The financial industry has quite brutal requirements these days and MS has handled that for - since 2012, I think. 2016 put it fully into effect. Millisecond accuracy over the internet is a solved problem - solved 50 years ago actually, for a decent connection. NTP can handle it. You may have to put up a cheap hardware box if you want to cut down on traffic (i.e. make your own tier 3 NTP time source), but that again is not even expensive.




    Is it correct for us to ask for "within second" or we need to ditch Quartz entirely?




    You need to program for occasional time issues - as you would do with hardware. But "within second" is a joke of a requirement - it is trivial to meet under normal circumstances.



    Some references:



    https://docs.microsoft.com/en-us/windows-server/networking/windows-time-service/accurate-time




    Government Regulations like:
    50 ms accuracy for FINRA in the US
    1 ms ESMA (MiFID II) in the EU.




    Lots of detail and instructions there. This is an amazing read actually if you have to solve this problem. You may have to upgrade your hypervisor - they talk all about Hyper-V. VMWare should be able to do the same, but not sure how old your version is.






    share|improve this answer






















    • FWIW, MiFID II compliance in the [UK] financial industry is shockingly poor (banks would rather pay the paltry fines than bother with all that hoo-har) but you're technically right of course.
      – Lightness Races in Orbit
      Sep 5 at 11:03











    • Itis not about compliance, it is about th ABILITYY to be compliant. MS solved that long ago. As such, the "3 minute accurate" that OP talks about area joke.
      – TomTom
      Sep 5 at 11:07










    • I agree; this was just an aside.
      – Lightness Races in Orbit
      Sep 5 at 11:08






    • 2




      I'm with you that NTP is more than fast enough, but VMware does not recommend using integration services to sync time, in most (though not all) cases regular NTP does a better and faster job.
      – HoD
      Sep 5 at 13:00










    • As your concern is with relative time between servers, you can use NTP to synchronise them with network switches which in turn synchronise with your ISP - no extra hardware required.
      – grahamj42
      Sep 5 at 16:14












    up vote
    19
    down vote



    accepted







    up vote
    19
    down vote



    accepted






    This is 2018. Windows is capable of keeping servers synchronized within 2 ms or so, as required by MIFID II Regulations. So, your problem is a non-problem.




    Our sysadmins using windows NTP to sync time with domain controller. Synchronization of
    VMs with ESXI host is off.




    Why? The host can handle this a lot better (being hardware) and you have a lot fewer. Your sysadmins shoot themselves in the foot, then complain they are bleeding.




    They keep insisting that's "within second" is not correct requirement and that cannot
    be met w/o hardware GPS-syncing devices. Their SLA & monitoring level
    are "within 3 minutes".




    OLD - ancient - Windows synchronized within that timeframe because the Kerberos tickets had a 5 minute validity.



    But this is, as I said, 2018. The financial industry has quite brutal requirements these days and MS has handled that for - since 2012, I think. 2016 put it fully into effect. Millisecond accuracy over the internet is a solved problem - solved 50 years ago actually, for a decent connection. NTP can handle it. You may have to put up a cheap hardware box if you want to cut down on traffic (i.e. make your own tier 3 NTP time source), but that again is not even expensive.




    Is it correct for us to ask for "within second" or we need to ditch Quartz entirely?




    You need to program for occasional time issues - as you would do with hardware. But "within second" is a joke of a requirement - it is trivial to meet under normal circumstances.



    Some references:



    https://docs.microsoft.com/en-us/windows-server/networking/windows-time-service/accurate-time




    Government Regulations like:
    50 ms accuracy for FINRA in the US
    1 ms ESMA (MiFID II) in the EU.




    Lots of detail and instructions there. This is an amazing read actually if you have to solve this problem. You may have to upgrade your hypervisor - they talk all about Hyper-V. VMWare should be able to do the same, but not sure how old your version is.






    share|improve this answer














    This is 2018. Windows is capable of keeping servers synchronized within 2 ms or so, as required by MIFID II Regulations. So, your problem is a non-problem.




    Our sysadmins using windows NTP to sync time with domain controller. Synchronization of
    VMs with ESXI host is off.




    Why? The host can handle this a lot better (being hardware) and you have a lot fewer. Your sysadmins shoot themselves in the foot, then complain they are bleeding.




    They keep insisting that's "within second" is not correct requirement and that cannot
    be met w/o hardware GPS-syncing devices. Their SLA & monitoring level
    are "within 3 minutes".




    OLD - ancient - Windows synchronized within that timeframe because the Kerberos tickets had a 5 minute validity.



    But this is, as I said, 2018. The financial industry has quite brutal requirements these days and MS has handled that for - since 2012, I think. 2016 put it fully into effect. Millisecond accuracy over the internet is a solved problem - solved 50 years ago actually, for a decent connection. NTP can handle it. You may have to put up a cheap hardware box if you want to cut down on traffic (i.e. make your own tier 3 NTP time source), but that again is not even expensive.




    Is it correct for us to ask for "within second" or we need to ditch Quartz entirely?




    You need to program for occasional time issues - as you would do with hardware. But "within second" is a joke of a requirement - it is trivial to meet under normal circumstances.



    Some references:



    https://docs.microsoft.com/en-us/windows-server/networking/windows-time-service/accurate-time




    Government Regulations like:
    50 ms accuracy for FINRA in the US
    1 ms ESMA (MiFID II) in the EU.




    Lots of detail and instructions there. This is an amazing read actually if you have to solve this problem. You may have to upgrade your hypervisor - they talk all about Hyper-V. VMWare should be able to do the same, but not sure how old your version is.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Sep 6 at 1:32









    Booga Roo

    1034




    1034










    answered Sep 5 at 7:58









    TomTom

    45.4k541113




    45.4k541113











    • FWIW, MiFID II compliance in the [UK] financial industry is shockingly poor (banks would rather pay the paltry fines than bother with all that hoo-har) but you're technically right of course.
      – Lightness Races in Orbit
      Sep 5 at 11:03











    • Itis not about compliance, it is about th ABILITYY to be compliant. MS solved that long ago. As such, the "3 minute accurate" that OP talks about area joke.
      – TomTom
      Sep 5 at 11:07










    • I agree; this was just an aside.
      – Lightness Races in Orbit
      Sep 5 at 11:08






    • 2




      I'm with you that NTP is more than fast enough, but VMware does not recommend using integration services to sync time, in most (though not all) cases regular NTP does a better and faster job.
      – HoD
      Sep 5 at 13:00










    • As your concern is with relative time between servers, you can use NTP to synchronise them with network switches which in turn synchronise with your ISP - no extra hardware required.
      – grahamj42
      Sep 5 at 16:14
















    • FWIW, MiFID II compliance in the [UK] financial industry is shockingly poor (banks would rather pay the paltry fines than bother with all that hoo-har) but you're technically right of course.
      – Lightness Races in Orbit
      Sep 5 at 11:03











    • Itis not about compliance, it is about th ABILITYY to be compliant. MS solved that long ago. As such, the "3 minute accurate" that OP talks about area joke.
      – TomTom
      Sep 5 at 11:07










    • I agree; this was just an aside.
      – Lightness Races in Orbit
      Sep 5 at 11:08






    • 2




      I'm with you that NTP is more than fast enough, but VMware does not recommend using integration services to sync time, in most (though not all) cases regular NTP does a better and faster job.
      – HoD
      Sep 5 at 13:00










    • As your concern is with relative time between servers, you can use NTP to synchronise them with network switches which in turn synchronise with your ISP - no extra hardware required.
      – grahamj42
      Sep 5 at 16:14















    FWIW, MiFID II compliance in the [UK] financial industry is shockingly poor (banks would rather pay the paltry fines than bother with all that hoo-har) but you're technically right of course.
    – Lightness Races in Orbit
    Sep 5 at 11:03





    FWIW, MiFID II compliance in the [UK] financial industry is shockingly poor (banks would rather pay the paltry fines than bother with all that hoo-har) but you're technically right of course.
    – Lightness Races in Orbit
    Sep 5 at 11:03













    Itis not about compliance, it is about th ABILITYY to be compliant. MS solved that long ago. As such, the "3 minute accurate" that OP talks about area joke.
    – TomTom
    Sep 5 at 11:07




    Itis not about compliance, it is about th ABILITYY to be compliant. MS solved that long ago. As such, the "3 minute accurate" that OP talks about area joke.
    – TomTom
    Sep 5 at 11:07












    I agree; this was just an aside.
    – Lightness Races in Orbit
    Sep 5 at 11:08




    I agree; this was just an aside.
    – Lightness Races in Orbit
    Sep 5 at 11:08




    2




    2




    I'm with you that NTP is more than fast enough, but VMware does not recommend using integration services to sync time, in most (though not all) cases regular NTP does a better and faster job.
    – HoD
    Sep 5 at 13:00




    I'm with you that NTP is more than fast enough, but VMware does not recommend using integration services to sync time, in most (though not all) cases regular NTP does a better and faster job.
    – HoD
    Sep 5 at 13:00












    As your concern is with relative time between servers, you can use NTP to synchronise them with network switches which in turn synchronise with your ISP - no extra hardware required.
    – grahamj42
    Sep 5 at 16:14




    As your concern is with relative time between servers, you can use NTP to synchronise them with network switches which in turn synchronise with your ISP - no extra hardware required.
    – grahamj42
    Sep 5 at 16:14












    up vote
    6
    down vote














    Is it correct for us to ask for "within second" or we need to ditch
    Quartz entirely?




    There are lots of very good reasons for various application stacks to need tight time control and what Quartz are asking for is far from unusual.




    If yes, what changes are recommended for our setup?




    The best bet is to make every single part of your system use NTP and point them to the same pair of NTP servers. So ESXi hosts and the VMs running on them, all using the same NTP sources, same for anything else involved. This way even if the NTP servers are 'off time' then at least every part of your system is up-to-date with each other.






    share|improve this answer
























      up vote
      6
      down vote














      Is it correct for us to ask for "within second" or we need to ditch
      Quartz entirely?




      There are lots of very good reasons for various application stacks to need tight time control and what Quartz are asking for is far from unusual.




      If yes, what changes are recommended for our setup?




      The best bet is to make every single part of your system use NTP and point them to the same pair of NTP servers. So ESXi hosts and the VMs running on them, all using the same NTP sources, same for anything else involved. This way even if the NTP servers are 'off time' then at least every part of your system is up-to-date with each other.






      share|improve this answer






















        up vote
        6
        down vote










        up vote
        6
        down vote










        Is it correct for us to ask for "within second" or we need to ditch
        Quartz entirely?




        There are lots of very good reasons for various application stacks to need tight time control and what Quartz are asking for is far from unusual.




        If yes, what changes are recommended for our setup?




        The best bet is to make every single part of your system use NTP and point them to the same pair of NTP servers. So ESXi hosts and the VMs running on them, all using the same NTP sources, same for anything else involved. This way even if the NTP servers are 'off time' then at least every part of your system is up-to-date with each other.






        share|improve this answer













        Is it correct for us to ask for "within second" or we need to ditch
        Quartz entirely?




        There are lots of very good reasons for various application stacks to need tight time control and what Quartz are asking for is far from unusual.




        If yes, what changes are recommended for our setup?




        The best bet is to make every single part of your system use NTP and point them to the same pair of NTP servers. So ESXi hosts and the VMs running on them, all using the same NTP sources, same for anything else involved. This way even if the NTP servers are 'off time' then at least every part of your system is up-to-date with each other.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Sep 5 at 7:42









        Chopper3

        93.8k995222




        93.8k995222




















            up vote
            4
            down vote













            https://docs.microsoft.com/en-us/windows-server/networking/windows-time-service/support-boundary



            High Accuracy support for Windows 8.1 and 2012 R2 (or Prior)



            Earlier versions of Windows (Prior to Windows 10 1607 or Windows Server 2016 1607) cannot guarantee highly accurate time. The Windows Time service on these systems:



            • Provided the necessary time accuracy to satisfy Kerberos version 5 authentication requirements


            • Provided loosely accurate time for Windows clients and servers joined to a common Active Directory forest


            Tighter accuracy requirements were outside of the design specification of the Windows Time Service on these operating systems and is not supported.



            Windows 10 and Windows Server 2016



            Time accuracy in Windows 10 and Windows Server 2016 has been substantially improved, while maintaining full backwards NTP compatibility with older Windows versions. Under the right operating conditions, systems running Windows 10 or Windows Server 2016 and newer releases can deliver 1 second, 50ms (milliseconds), or 1ms accuracy.



            Target Accuracy: 1 Second (1s)



            To achieve 1s accuracy for a specific target machine when compared to a highly accurate time source:



            • The target system must run Windows 10, Windows Server 2016.


            • The target system must synchronize time from an NTP hierarchy of time servers, culminating in a highly accurate, Windows compatible NTP time source.


            • All Windows operating systems in the NTP hierarchy mentioned above must be configured as documented in the Configuring Systems for High Accuracy documentation.


            • The cumulative one-way network latency between the target and source must not exceed 100ms. The cumulative network delay is measured by adding the individual one-way delays between pairs of NTP client-server nodes in the hierarchy starting with the target and ending at the source. For more information, please review the high accuracy time sync document.


            https://docs.microsoft.com/en-us/windows-server/networking/windows-time-service/configuring-systems-for-high-accuracy






            share|improve this answer




















            • Actually, we are using Windows 2012R2. Seems that is root of problem (along with not-syncing with ESXI host)
              – Leotsarev
              Sep 5 at 12:50






            • 1




              @Leotsarev: if these are domain members, they should not synchronize with the VM host.
              – Greg Askew
              Sep 5 at 15:45














            up vote
            4
            down vote













            https://docs.microsoft.com/en-us/windows-server/networking/windows-time-service/support-boundary



            High Accuracy support for Windows 8.1 and 2012 R2 (or Prior)



            Earlier versions of Windows (Prior to Windows 10 1607 or Windows Server 2016 1607) cannot guarantee highly accurate time. The Windows Time service on these systems:



            • Provided the necessary time accuracy to satisfy Kerberos version 5 authentication requirements


            • Provided loosely accurate time for Windows clients and servers joined to a common Active Directory forest


            Tighter accuracy requirements were outside of the design specification of the Windows Time Service on these operating systems and is not supported.



            Windows 10 and Windows Server 2016



            Time accuracy in Windows 10 and Windows Server 2016 has been substantially improved, while maintaining full backwards NTP compatibility with older Windows versions. Under the right operating conditions, systems running Windows 10 or Windows Server 2016 and newer releases can deliver 1 second, 50ms (milliseconds), or 1ms accuracy.



            Target Accuracy: 1 Second (1s)



            To achieve 1s accuracy for a specific target machine when compared to a highly accurate time source:



            • The target system must run Windows 10, Windows Server 2016.


            • The target system must synchronize time from an NTP hierarchy of time servers, culminating in a highly accurate, Windows compatible NTP time source.


            • All Windows operating systems in the NTP hierarchy mentioned above must be configured as documented in the Configuring Systems for High Accuracy documentation.


            • The cumulative one-way network latency between the target and source must not exceed 100ms. The cumulative network delay is measured by adding the individual one-way delays between pairs of NTP client-server nodes in the hierarchy starting with the target and ending at the source. For more information, please review the high accuracy time sync document.


            https://docs.microsoft.com/en-us/windows-server/networking/windows-time-service/configuring-systems-for-high-accuracy






            share|improve this answer




















            • Actually, we are using Windows 2012R2. Seems that is root of problem (along with not-syncing with ESXI host)
              – Leotsarev
              Sep 5 at 12:50






            • 1




              @Leotsarev: if these are domain members, they should not synchronize with the VM host.
              – Greg Askew
              Sep 5 at 15:45












            up vote
            4
            down vote










            up vote
            4
            down vote









            https://docs.microsoft.com/en-us/windows-server/networking/windows-time-service/support-boundary



            High Accuracy support for Windows 8.1 and 2012 R2 (or Prior)



            Earlier versions of Windows (Prior to Windows 10 1607 or Windows Server 2016 1607) cannot guarantee highly accurate time. The Windows Time service on these systems:



            • Provided the necessary time accuracy to satisfy Kerberos version 5 authentication requirements


            • Provided loosely accurate time for Windows clients and servers joined to a common Active Directory forest


            Tighter accuracy requirements were outside of the design specification of the Windows Time Service on these operating systems and is not supported.



            Windows 10 and Windows Server 2016



            Time accuracy in Windows 10 and Windows Server 2016 has been substantially improved, while maintaining full backwards NTP compatibility with older Windows versions. Under the right operating conditions, systems running Windows 10 or Windows Server 2016 and newer releases can deliver 1 second, 50ms (milliseconds), or 1ms accuracy.



            Target Accuracy: 1 Second (1s)



            To achieve 1s accuracy for a specific target machine when compared to a highly accurate time source:



            • The target system must run Windows 10, Windows Server 2016.


            • The target system must synchronize time from an NTP hierarchy of time servers, culminating in a highly accurate, Windows compatible NTP time source.


            • All Windows operating systems in the NTP hierarchy mentioned above must be configured as documented in the Configuring Systems for High Accuracy documentation.


            • The cumulative one-way network latency between the target and source must not exceed 100ms. The cumulative network delay is measured by adding the individual one-way delays between pairs of NTP client-server nodes in the hierarchy starting with the target and ending at the source. For more information, please review the high accuracy time sync document.


            https://docs.microsoft.com/en-us/windows-server/networking/windows-time-service/configuring-systems-for-high-accuracy






            share|improve this answer












            https://docs.microsoft.com/en-us/windows-server/networking/windows-time-service/support-boundary



            High Accuracy support for Windows 8.1 and 2012 R2 (or Prior)



            Earlier versions of Windows (Prior to Windows 10 1607 or Windows Server 2016 1607) cannot guarantee highly accurate time. The Windows Time service on these systems:



            • Provided the necessary time accuracy to satisfy Kerberos version 5 authentication requirements


            • Provided loosely accurate time for Windows clients and servers joined to a common Active Directory forest


            Tighter accuracy requirements were outside of the design specification of the Windows Time Service on these operating systems and is not supported.



            Windows 10 and Windows Server 2016



            Time accuracy in Windows 10 and Windows Server 2016 has been substantially improved, while maintaining full backwards NTP compatibility with older Windows versions. Under the right operating conditions, systems running Windows 10 or Windows Server 2016 and newer releases can deliver 1 second, 50ms (milliseconds), or 1ms accuracy.



            Target Accuracy: 1 Second (1s)



            To achieve 1s accuracy for a specific target machine when compared to a highly accurate time source:



            • The target system must run Windows 10, Windows Server 2016.


            • The target system must synchronize time from an NTP hierarchy of time servers, culminating in a highly accurate, Windows compatible NTP time source.


            • All Windows operating systems in the NTP hierarchy mentioned above must be configured as documented in the Configuring Systems for High Accuracy documentation.


            • The cumulative one-way network latency between the target and source must not exceed 100ms. The cumulative network delay is measured by adding the individual one-way delays between pairs of NTP client-server nodes in the hierarchy starting with the target and ending at the source. For more information, please review the high accuracy time sync document.


            https://docs.microsoft.com/en-us/windows-server/networking/windows-time-service/configuring-systems-for-high-accuracy







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Sep 5 at 10:23









            Greg Askew

            27.3k33464




            27.3k33464











            • Actually, we are using Windows 2012R2. Seems that is root of problem (along with not-syncing with ESXI host)
              – Leotsarev
              Sep 5 at 12:50






            • 1




              @Leotsarev: if these are domain members, they should not synchronize with the VM host.
              – Greg Askew
              Sep 5 at 15:45
















            • Actually, we are using Windows 2012R2. Seems that is root of problem (along with not-syncing with ESXI host)
              – Leotsarev
              Sep 5 at 12:50






            • 1




              @Leotsarev: if these are domain members, they should not synchronize with the VM host.
              – Greg Askew
              Sep 5 at 15:45















            Actually, we are using Windows 2012R2. Seems that is root of problem (along with not-syncing with ESXI host)
            – Leotsarev
            Sep 5 at 12:50




            Actually, we are using Windows 2012R2. Seems that is root of problem (along with not-syncing with ESXI host)
            – Leotsarev
            Sep 5 at 12:50




            1




            1




            @Leotsarev: if these are domain members, they should not synchronize with the VM host.
            – Greg Askew
            Sep 5 at 15:45




            @Leotsarev: if these are domain members, they should not synchronize with the VM host.
            – Greg Askew
            Sep 5 at 15:45










            Leotsarev is a new contributor. Be nice, and check out our Code of Conduct.









             

            draft saved


            draft discarded


















            Leotsarev is a new contributor. Be nice, and check out our Code of Conduct.












            Leotsarev is a new contributor. Be nice, and check out our Code of Conduct.











            Leotsarev is a new contributor. Be nice, and check out our Code of Conduct.













             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f929510%2fhow-to-synchronize-time-on-esxi-windows-virtual-machines-within-one-second%23new-answer', 'question_page');

            );

            Post as a guest













































































            Comments

            Popular posts from this blog

            What does second last employer means? [closed]

            List of Gilmore Girls characters

            Confectionery