Skip to content

Time synchronization ​

Every host and QvDC must agree on the time. Registration tokens, certificates, sign-in sessions and licence checks all compare clocks:

  • Add Host warns when a host's clock differs from QvDC's by more than two minutes, and refuses to continue above one hour.
  • The licence changes to Clock suspect when QvDC's clock moves backwards by more than five minutes.

How the clocks are set ​

MachineDefault time sourceWhere you change it
QvDCpool.ntp.orgNo setting in the dashboard
QHCI host, before it is added to QvDCpool.ntp.orgThe host's Host UI: Admin Panel → Time
QHCI host, managed by QvDCThe list set in QvDC, or pool.ntp.org while none is setQvDC: Admin Panel → System → Time synchronisation, for all hosts at once

Out of the box, QvDC and the hosts all use public NTP servers, so they need outbound NTP (UDP 123) to the internet. If they have it, their clocks agree without any setup, and you only need the steps below to use your own NTP servers.

Prerequisites ​

  • One or more NTP servers the hosts can reach, by name or IP address.
  • An administrator who can open the Admin Panel (QvDC) or the host's Admin Panel (Host UI). Both ask you to set up a second factor on the first visit.

Before you add a host ​

If the host cannot reach pool.ntp.org, give it time sources before you add it to QvDC, so that it passes the clock check:

  1. Sign in to the host's Host UI and open Admin Panel → Time.
  2. Under Time sources, click Add source, enter an NTP server's host name or IP address, and click Save and apply.
  3. Under Clock status, wait until Synchronised shows Yes.

Set the time sources for every managed host ​

  1. In the QvDC dashboard, open Admin Panel → System → Time synchronisation.
  2. Under Time sources, click Add source and enter an NTP server's host name or IP address, for example ntp1.example.com. Add up to 8 sources.
  3. Click Save and apply.

QvDC pushes the list to every host it manages (Applied to 1 host, for example). A host that is offline gets it when it reconnects, and a host you add later gets it when it joins. If some hosts could not be updated, Hosts not updated lists them; they apply the new sources the next time they reconnect. A host that did not answer in time is listed under Outcome unknown, because it may have applied them. To return every host to pool.ntp.org, remove all the sources and click Save and apply. A managed host takes QvDC's list again whenever it reconnects, so change the sources of managed hosts here rather than on the host.

Check the clocks ​

Host clocks on the same page lists every managed host with its Status, Host clock, Source, Stratum and Last update, refreshed every 30 seconds. Host clock ticks in your browser's time zone, so you can read it against the date and time at the top right of the page. A healthy host shows In sync (or In sync — 0.004 s fast, for example). Not synchronised means the host has not synchronized yet or cannot reach its time sources; right after you save, it can take a minute to change to In sync.

Time synchronisation with one host in sync

Troubleshooting ​

SymptomWhat to do
Not a valid host name or IP address under a sourceRemove spaces and check the spelling. Enter one server per field.
A host stays Not synchronisedCheck that the host can reach the NTP servers on UDP 123 (firewall, and DNS for server names).
Add Host reports The host's clock disagrees with QvDCSet the host's time sources in its Host UI (Admin Panel → Time) and wait until Clock status shows it synchronised, then click Re-check in Add Host. If QvDC's own clock is wrong, check that QvDC can reach pool.ntp.org on UDP 123.
A host's Summary shows a Host clock conditionThe host's clock differs from QvDC's by 2 seconds or more. Its VMs are not affected. Check that the host and QvDC both reach their NTP servers on UDP 123, and that the host shows In sync under Host clocks. The condition clears by itself once the clocks agree.
The licence shows Clock suspectQvDC's clock went backwards. Check that QvDC can reach pool.ntp.org on UDP 123; if it cannot, contact support.