Documentation menu
Docs / Quickstart

Quickstart: from bare metal to a protected VM

This page is the whole first-run path, in the order SimpleVirt-Command's own setup guide follows. Each step says what to do and what to check before moving on. The installation guide has the detail behind each step.

Pick a shape

SimpleVirt supports two starting shapes. Pick one before you install anything; the hardware rules below depend on it.

Single host Three-host cluster with SimpleVirt HCI
Hosts 1 3
Where VM disks live The host's own disk (local datastore), or an NFS export Pooled from the hosts' data disks (SimpleVirt HCI), or an NFS export every host mounts
Live migration No (nowhere to move to) Yes on SimpleVirt HCI; an NFS VM moves powered off (cold)
HA (restart on another host) No Yes
Network ports per host 2, or 1 tagged trunk (see below) 2, or 1 tagged trunk; a third for storage is recommended
Data disks per host none extra at least one, besides the install disk

Two hosts with an NFS export is also supported; it follows the cluster path with NFS as the storage step. A VM on NFS carries SimpleVirt's storage lease, so by default it cannot be live-migrated: it is moved powered off (a cold migration), and entering maintenance on its host means shutting it down or moving it cold first. Live migration of NFS VMs is a Tech Preview you can turn on per cluster (known limitation 3). HA on two hosts needs a witness, on any NFS version (see Known limitations, sections 14 and 15).

The rules that matter on day one

Network ports. The port a host is installed and managed on carries its management address, and SimpleVirt never bridges it: bridging it would take the host off the network, so the product refuses. A host with one network port therefore installs, joins SimpleVirt-Command and is managed normally, but its VMs cannot reach the LAN through that port untagged. A VM network needs one of:

  • a second network port, cabled to the network the VMs belong on (the usual answer), or
  • the one port plugged into a switch port that carries the VM networks as tagged VLANs (a trunk). Then each VM network is a VLAN network on the host's management switch (the host's New network action, with a VLAN tag).

The installer warns when it finds one port. This also applies to the host that will run the SimpleVirt-Command VM: it needs a VM network too.

Hostnames. Every host needs its own hostname. The installer suggests one that ends with the last four hex digits of the management port's MAC address (simplevirt-3fa2, and controller-3fa2 for the controller); keep it or type your own. SimpleVirt HCI names its storage daemons and failure domains after the short hostname, so two hosts with one name would count as one, and SimpleVirt-Command refuses to build HCI storage on them.

Time. The installer's time servers are filled in (pool.ntp.org time.cloudflare.com), so pressing Enter keeps the clock in sync. On a network with no internet access, replace them with your own time servers. Clearing the field turns time sync off, which clustering, HA and certificates do not tolerate.

NFS exports. An NFS datastore must be exported read-write with no_root_squash to every host's address, for example:

/exports/vm  10.0.0.0/24(rw,no_root_squash)

For HA, export it over NFS 4.1 or later; NFS 3 works for HA only through SimpleVirt's heartbeat lease, which needs each host's watchdog. The New datastore dialog prints the line for your hosts' addresses, and checks the datastore right after it is mounted.

1. Install the hosts

Boot simplevirt-hypervisor.iso on each host and follow the installer: target disk, management network (a static address is best), time, then the account screen (hostname and the admin password). The finish screen shows the address the host will be at, and the next step. A host installed with DHCP shows its address on its own console after the restart.

Check: browsing to https://<host address> shows the host's sign-in page.

2. Install SimpleVirt-Command in a VM on the first host

SimpleVirt-Command runs as a VM. The usual place is the first host. On that host's own web page (https://<host address>, signed in as admin):

  1. Networking → Add logical switch. Choose the host's second network port as the uplink. Then Add port group on that switch, untagged unless your network uses VLANs. (One port only: add a VLAN port group on the management switch, if the port is a trunk.)
  2. Storage → ISO images → Upload ISO. Upload simplevirt-command.iso.
  3. Virtual Machines → Create VM. Size it for the controller: 2 vCPUs, 4 GiB of memory (the installer blocks below 1.75 GiB and recommends 3.5 GiB or more), one 32 GiB disk (blocked below 12 GiB), its network adapter on the port group from step 1, and the ISO as its CD.
  4. Start the VM, open its console, and run the installer there: a static address, the suggested controller-… hostname, the time servers, and the first operator account.

The controller's finish screen shows its address. Its own VM is an ordinary VM on that host; to protect it with HA later, its disk has to move to shared storage like any other VM.

3. Sign in, and trust the controller's certificate

Browse to https://<controller address>. The browser warns once: the controller uses a certificate signed by its own local authority. On the sign-in page, Download certificate and How to trust it give the file and the steps for Windows, macOS, Linux and Firefox. Trust it once on each computer you sign in from. The authority can vouch for this controller only (its hostname and the networks it sits on), so trusting it does not let it stand in for any other site. The controller renews its certificate when its address changes, and a browser that trusts the file keeps trusting it. If the controller is renamed or moves to another network, it makes a new authority; the sign-in page then says so, and you trust the new file the same way.

Sign in with the operator account. Home shows the setup guide. The guide follows the rest of this page, ticks each step the moment it is done, and stays until your first VM exists. Skip setup or Go to the console records that you are done for every operator; Setup guide in the account menu brings it back.

4. Add the hosts

Hosts → Datacenter → Add hosts… Enter each host's address; the username is already admin, and the password is the one set in that host's installer. Leave the name blank to use the host's own hostname. Each row pairs on its own.

  • A host that is already registered is refused, with the record it matches, instead of being paired a second time (a second pairing would cut the first record off).
  • A host that reports the same hostname as another is added with a warning on its row.

5. Make a cluster

With two or more hosts: New cluster…, give it a name. The standalone hosts are listed, ticked, and join it in the same step; the cluster page opens next. An empty cluster's Hosts tab offers Add existing hosts… for hosts that are already registered.

If a host that joins still lacks something compared with the other members, Finish adding opens and lists it: the cluster's Logical Distributed Switches (with a free port to attach) and the shared NFS datastores they mount. Apply attaches and mounts them. If nothing is missing, you see only the confirmation. The same panel is on each member's menu as Finish adding to cluster….

A host is refused when it is moved out of a cluster while it still owns HCI storage disks, runs VMs that HA protects, or would leave an HA cluster with fewer than two hosts. A cluster is refused when it is removed while HA, two-site, HCI storage, switches, File Services or Kubernetes depend on it; the dialog lists what would be lost first.

Single host: skip this step.

6. Give every host a VM network

Hosts → Datacenter → Networks → New VM network… Pick a free port (never the management port); the network is untagged unless you tick Tag this network with a VLAN. With a cluster, a Logical Distributed Switch keeps the same networks on every member. A host with one port is told what it needs instead (see the rules above).

Check: every host in the guide's Networking step has a VM network.

7. Add storage

  • NFS: Hosts → Datacenter → Datastores → New datastore…, type NFS, with the export from the rules above. After mounting, the dialog says whether VM disks and HA can use it.
  • SimpleVirt HCI (three hosts): the cluster's SimpleVirt HCI tab. Choose each host's data disks; for a flat network the storage network is filled in with the hosts' management network. Preflight checks every host before anything is built: its disks, storage address, peers, clock (a clock whose sync state cannot be read fails), and the storage network's path MTU to each peer; a storage link below 10 Gb/s and RAID logical drives are flagged as warnings (see known limitation 114).
  • Local only (single host): every host already has a local datastore. The guide notes that live migration and HA need shared storage; Local is enough tells it that is your plan.

8. Create the first VM

New VM… on the host or cluster. The guide's First VM step waits until a VM network and a datastore exist, and says which one is missing.

When the first VM exists, the guide shows what is still open and hands over to the console.

9. Protect your VMs with HA

On the cluster: Settings → High availability → Set up high availability… The readiness checks run first. Each failing check says what was observed and links to the fix. A VM whose disks sit on one host's local storage does not stop HA: it is listed as not protected, with a Move storage action, and HA protects the VMs on shared storage. The checks that keep data safe (hosts online, shared storage mounted the same everywhere, disk locking, storage health) stay all-or-nothing.

Check: the guide's last step reads "HA is on for ".


Next: the user guide for day-to-day work.

This page is part of the SimpleVirt 1.1.0 documentation set. The same guides ship inside the appliance images at /usr/share/doc/simplevirt.