Skip to content

Add hosts to QvDC ​

Adding a QHCI host to QvDC lets you manage its virtual machines, storage and networks from the dashboard, and lets a cluster move virtual machines between hosts. The host proves it is yours with a one-time registration token that you generate on the host.

Prerequisites ​

  • A QHCI host installed and reachable (see Install a QHCI host).
  • QvDC installed (see Install QvDC).
  • The network allows the traffic between QvDC and the host listed in Management network and DNS, and your browser can reach the host on TCP 8443 at the same address QvDC uses. During enrollment your browser talks to the host directly, so use an address that works from both.
  • The host's clock and QvDC's clock agree. A difference of more than two minutes is reported as a warning; more than an hour blocks the enrollment. See Time synchronization.
  • A dashboard user allowed to add hosts, such as the administrator.

Step 1: create a cluster ​

Hosts are always added into a cluster, so create one first.

  1. In the dashboard, open Inventory → Clusters and click New Cluster (or Create Cluster while the list is empty).
  2. Basic information — enter a Cluster Name (required) and an optional Description. Keep Cluster Zone on Standard Zone. Click Next.
  3. Select hosts — while no host is registered, the list shows No Available Hosts. That is expected; click Next.
  4. High Availability settings — leave Enable High Availability off for now, or turn it on (see High availability). Click Next.
  5. DRS settings and review — leave Enable DRS off, or turn it on and choose an Automation Level: Manual - Recommendations only, Partially Automated - Apply low-impact or Fully Automated - Apply all. Check the Summary and click Create Cluster.

The cluster appears on the Clusters page as Healthy, with 0 hosts.

The Create Cluster wizard, Basic information step

Step 2: generate a registration token on the host ​

Use one of these:

  • Host UI. Sign in to https://<host-address>:8443/ as admin. On a new host, Welcome to Quantix-OS offers Connect to an existing Quantix-vDC: choose it, optionally enter the Quantix-vDC address and click Test, then click Generate registration token. On a host whose welcome screen is already done, click Join Cluster on the Dashboard's cluster card, or open Admin Panel → Cluster, and click Generate Registration Token (the first visit to the Host UI's Admin Panel asks you to set up a passkey or an authenticator app).
  • Direct Console on the host's screen: sign in, choose Join / Manage Cluster, then Generate Registration Token.

A registration token in the Host UI's Connect to an existing Quantix-vDC screen

The token looks like QUANTIX-ABCD-EFGH-JKLM (the Host UI adds a fourth group).

  • It is valid for 1 hour; the Host UI shows Valid until with the exact time. (The Direct Console screen asks you to use it within 15 minutes.)
  • It can be used once.
  • A host holds only its most recent token. Generating a new one — on the console or in the Host UI — makes the previous one stop working. Restarting the host's management service, changing its IP address or rebooting it also clears the token.

A registration token on the Direct Console

Step 3: trust the host's certificate in your browser ​

A new host uses a self-signed certificate. Open https://<host-address>:8443/ in the same browser you use for the dashboard, at the same address you will type in Step 4, and accept the certificate warning. (If you signed in to the Host UI in Step 2 at that address, this is already done.) QvDC cannot check this for you: if you skip it, enrollment fails at Connect & Discover Resources.

Step 4: add the host ​

  1. In the dashboard, open Inventory → Hosts and click Add Host. The Add Host to Cluster dialog opens.

  2. In Host IP Address or URL, enter the host's address, for example 192.0.2.20. The https prefix and port 8443 are added for you.

  3. Click Test connection. The Connection test lists five checks:

    CheckWhat it means
    Host answers on its management portQvDC reached the host on TCP 8443.
    Certificate is valid for this addressThe host's certificate names the address you typed.
    Host clock agrees with QvDCThe clocks differ by less than two minutes (a warning above that, an error above one hour).
    Node daemon supports token registrationThe host runs a Quantix-OS version QvDC can enroll.
    Certificate is trusted by this browserA reminder that your browser must accept the host's certificate (Step 3). For a new host, whose certificate is self-signed, it always shows the notice Certificate is self-signed, whether or not you did Step 3.

    Warnings and notices do not stop you. An error does: fix it and click Re-check.

  4. Paste the token into Registration Token.

  5. Under Target Cluster, click the cluster the host joins.

  6. Click Connect & Discover Resources.

    The Add Host to Cluster dialog after a connection test

  7. Discovery Complete — Review & Confirm shows the host's CPU, memory, storage and, where present, network interfaces and GPUs. An NFS mount the host could not measure (for example because its server is not responding) reads Size unknown (the host could not read it) instead of a size; it is not counted in the host's capacity. The host has not been added yet. Click Add Host to Cluster.

    Discovery Complete — Review & Confirm

Expected result ​

The dialog shows Host Enrollment Started — the host becomes ready once its management service reconnects to the cluster. Click Close.

Host Enrollment Started

Within a minute the host shows Ready on the Hosts page. On the host itself, the Direct Console shows connected to QvDC next to Join / Manage Cluster, and the Host UI dashboard shows Cluster Mode — Connected to Quantix-vDC.

The Hosts page with the new host Ready

Reading the Hosts page ​

Two columns describe each host's CPU, and they answer different questions:

  • CPU Usage is the load the host measures right now. This is the figure to watch: a host that stays near 100 % is short of CPU.
  • vCPU Committed is how many vCPUs the host's virtual machines have been given, against how many QvDC will place on it. Giving virtual machines more vCPUs than the host has threads is normal: QvDC places up to 3 vCPUs per host thread, keeping one thread for the host itself — an empty 4-thread host shows 0 / 9 vCPU, a 20-thread host 0 / 57 vCPU. 100 % means that limit is reached, not that the host is busy. QvDC does not place a new virtual machine on a host that it would take past the limit, and load balancing and high availability use the same limit.

If a check fails ​

MessageWhat to do
Cannot reach the hostCheck the address, that the host is powered on, and that no firewall blocks TCP 8443 between QvDC and the host.
QvDC cannot resolve this nameQvDC cannot look up the host name you typed. Add a DNS record for it, or use the host's IP address.
Certificate does not match this addressThe host's certificate does not name the address you typed. Use the address shown on the host's Direct Console, or the host name the certificate was issued for.
The host's clock disagrees with QvDCSet the host's time sources and wait until its clock is synchronised, then Re-check — see Time synchronization.
Connection Failed after Connect & Discover Resources, with a message that the browser could not fetch from the hostYour browser does not trust the host's certificate at this address. Do Step 3 in this browser, then click Try Again.
This host has no registration code…No token exists on the host (it was never generated, or the host restarted its management service). Generate one and try again.
The host's registration code has expired…Generate a new token on the host and try again.
This registration code is not the host's current one…A newer token was generated after this one. Use the newest token.

When enrollment fails, the dialog shows Connection Failed. Click Try Again to return to the form with your values kept.

Re-adding a host ​

If you reinstall a host that QvDC already knew, QvDC recognizes its hardware and shows Existing Host Identity Found instead of adding a second host:

  • Recover Existing Host keeps the host's existing identity, virtual machine placements, storage assignments and history.
  • Replace Existing Host is for replacement hardware. Tick I confirm the old host is powered off or isolated and cannot reconnect. first — only do this when that is true.

Both are offered only after QvDC has lost contact with the old host (no heartbeat for about 90 seconds).

A reinstalled host has a new SSH identity. If its host SSH console then says the identity changed, accept the new one on the host's Security tab (see Host SSH identity).

QvDC tells you what it knows about the host before you add it. After Connect & Discover Resources, the review step can show one of these notes:

NoteWhat happens when you add the host
QvDC already has a record for this hardware…QvDC asks you to recover that record (see above).
This host left the cluster as … QvDC restores that record … automaticallyThe host comes back under its old identity with its VMs and storage.
This looks like …, which left the cluster on … That record no longer exists, so the host joins as a new host.The host is added as a new host. Its old VMs stay DETACHED; bring each one back with Attach or adopt... (see Detached VMs).

If a host left the cluster and was then reinstalled, its old record is gone: a reinstall gives the host a new identity, so QvDC cannot restore it automatically. A local storage pool that belonged to it shows Unavailable with a message naming the new host. If the pool's data is still on that host, assign the pool to it on the pool's Nodes tab. A reinstall normally re-creates the host's data partition; a local pool on it then has no data left, and you can delete the pool.