Skip to main content

Operating systems

Operating systems lists the systems your customers can install in each datacenter. New systems and new versions arrive ready: the platform installs each one in the datacenter, tests it and publishes it as a template. When a customer creates a VM, it is cloned from the published version.

Each datacenter is configured once, in Datacenter settings. After that, the list shows each system, its state and what you can do with it.

Prerequisites​

  • A group with the vm-image:view permission at tenant or platform scope to open the page. Every action has its own key, all of them critical: vm-image:configure (datacenter settings), vm-image:credentials (cluster preparation), vm-image:install (activate, update, try again, cancel), vm-image:lifecycle (version history, legacy templates and the datacenter check) and vm-image:evidence (download the evidence of a failure). vm:* does not grant any of them.
  • The datacenter is linked to your tenant. The page only lists those datacenters; at platform scope it lists all of them.
  • In the datacenter, a bridge (vmbr) with internet access. The installation runs in a temporary VM that downloads packages through that bridge. By default the VM gets its address by DHCP; on a network without DHCP, use the Static installation network (see Installation network).
  • On the build node, SSH login allowed for the user edgex-iso, which the cluster preparation creates. If the node only lets some users log in (AllowUsers or AllowGroups in the SSH server settings), add it before preparing.

Configure the datacenter​

In the Platform Console, open Operating systems, pick the datacenter at the top and click Configure datacenter. Back to operating systems returns to the list.

Datacenter settings, with the node, the template storage, the ISO storage, the bridge, the install mode and the Save profile button highlighted

  1. In Profile, choose the node, the template storage, the ISO storage and the bridge, pick the install mode and click Save profile. The lists come from the datacenter and may take a few seconds to load the first time.
    • Template storage holds every template of the datacenter. A new VM is copied from it, so a slow storage makes every VM creation slow.
    • ISO storage is where the installation media and the official system images are downloaded to, directly on the host. The cluster preparation enables disk images on it; in a datacenter prepared before that, an installation that needs it fails asking you to prepare the cluster again.
    • Bridge needs internet access, and DHCP when the installation network is DHCP.
    • Installation network: DHCP (default) lets the bridge network assign the IP. Static uses a free IP from a range you reserve.
    • Install mode: Automatic (the default) installs new systems and new versions as they arrive. Manual waits for you to activate each one.

The Cluster preparation card, with the state and the Prepare button highlighted

  1. In Cluster preparation, check the state and click Prepare. The platform creates its own restricted access to the datacenter, with permissions only on the storages, the bridge and the node of the profile, and a user without root on the build node (edgex-iso) that can only read the installation media. The installations use only this restricted access, never the host administrator account. It takes a few minutes, and the page lets you know when it ends; you can also leave and come back. The state changes to Ready. Preparing again also renews the access, so it is refused while an installation is running in the datacenter.

Changing the node, a storage or the bridge later sets the state to Needs preparing: prepare the cluster again before the next installation. Changing only the mode or the installation network does not.

Verify checks that the platform access still exists and still has exactly the permissions it needs. Use it after maintenance on the datacenter.

Installation network​

With Static, fill in First IP, Last IP, Prefix, Gateway, DNS and, if you want, Second DNS (optional). Each installation uses a free IP of the range: the platform tests each IP (ping and port 22) and skips the ones that answer. If no IP is left, the installation is refused with "There are no IPs available in the build range of the datacenter (X to Y)". When the installation ends, the template goes back to DHCP, so VMs created from it get their network as usual.

  • Reserve the range for operating system installations only: no other machine can use these IPs, and neither can the DHCP of the network.
  • The gateway needs internet access. It must be in the same subnet as the range and outside it.
  • The range has at most 256 IPs.

Install an operating system​

The Operating systems tab, with a system row, the Activate button, a critical update and the Update button highlighted

Operating systems are grouped by distribution: click a row to open its versions, such as Rocky Linux 9 and Rocky Linux 10. Each published template has a full name, such as Rocky Server 9.8 LTS or Debian Server 13.7 Stable (system, edition, version and support type), and that is the name customers see when they create a VM. A distribution with something that needs attention, like an installation running, a failure or an update, opens by itself.

StateWhat it meansAction
Not installedThis version is not available in the datacenter yet.Activate installs it.
InstallingThe installation is running, with its progress. Only one installation of each version runs at a time.Cancel installation, in the … menu.
PublishedCustomers can create VMs from it.
Update availableA newer build of this version arrived. The current one keeps working until the new one is published.Update installs it.
FailedThe last installation did not finish. See When an installation fails.Try again.

In automatic mode you do not need to click anything: one at a time, the platform installs what is missing and what has a new version. It never repeats on its own an installation that failed or that you cancelled; that one waits for Try again.

A red Critical update marks a new build that fixes a serious problem of the published one. In manual mode, update as soon as you can. VMs already created from the old build are not changed: the fix only reaches the VMs created after the update.

A version installing, with its progress and the Cancel installation item of the … menu highlighted

An installation takes a few minutes: the platform downloads the installation media (or the official image of the system, when the vendor publishes one, as with Debian), installs and prepares the system and tests a clone before publishing. When it ends, the new build goes into circulation and the previous one goes out of it. Nothing is deleted: an update always creates a new template, it never changes the one in use. Windows Server takes longer, from 30 to 60 minutes: the Windows installer runs in full and the system is prepared with sysprep before the test.

Every template accepts more memory, vCPUs and disk with the VM on. The test clone gets all three while it runs, and the version is only published if the system recognizes them without a reboot.

If the platform loses contact with the service that installs the systems, after 10 minutes the row says since when. The installation keeps its state and continues when the service is back; until then, new installations are refused.

When an installation fails​

The failure details, with what to do and the Download evidence button highlighted

The row shows the reason in red. Open the … menu and click View failure details to see what to do and the error code. Download evidence saves a package with the logs of the installation for the support team. Try again starts a new installation from scratch.

If some temporary VM of the installation could not be removed, the platform tries to clean it up once by itself.

Once a day, the platform also removes from the datacenter what an interrupted installation left behind: temporary VMs and installation media older than 6 hours. A published template is never touched.

Version history​

The version history, with the list of versions and the Roll back to this version and Remove from the datacenter buttons highlighted

Version history, in the … menu, lists every build of that version made in the datacenter, which one is in circulation and when it was published. Roll back to this version puts an older build back in use for new VMs and takes the current one out.

Remove from the datacenter deletes the template VM of a build out of circulation. VMs already created from it keep working, and the build stays in the history as Removed from the datacenter. A build out of circulation also leaves the datacenter by itself 30 days later; until then you can roll back to it. The build in circulation cannot be removed: roll back to another one first.

When a build is recalled, the platform takes it out of circulation in every datacenter, in either mode, and brings the previous one back. A recalled build cannot be rolled back to. VMs created from it keep running as they are.

Datacenter check​

The Datacenter check tab, with the last check, the Check now button, the templates different from the registry and the Register button highlighted

The Datacenter check tab compares the templates that exist in the datacenter with the ones registered on the platform. The platform checks every day, and Check now checks again on the spot. The tab lists:

  • Different from the registry: someone changed the template directly in the datacenter. On means its VM was turned on, which the platform never does: a red notice appears on every tab until the next check. Turn the VM off in the datacenter. Unprotected, Without the published mark and Another template on the same VMID are fixed in the datacenter too, or by installing that version again.
  • Only in the datacenter: a template made by the platform that is not registered here, for example after a failure while it was being published. Register puts it in circulation, and the current build goes out of it (you can roll back from the history). A template made before the platform wrote this data in it shows Missing the data to register.
  • Gone from the datacenter: registered templates the last check did not find. They go out of circulation and stay in the history. If it was the build in circulation, Activate installs that version again.

Legacy templates​

The Legacy templates tab, with the Matches selector, the destination selector and the Save button highlighted

Templates created before the platform published operating systems appear in the Legacy templates tab. For each one, choose the operating system it Matches and what happens to it When the OS is published, then click Save:

  • Take out of circulation: new VMs stop using it, and it stays in the datacenter.
  • Discard: it goes out of circulation and its VM is deleted from the datacenter. If any VM still depends on it (a linked clone), the deletion is refused and the template only goes out of circulation.
  • Keep published alongside: it keeps being offered next to the new version.

The choice is applied once, when the platform publishes that operating system in the datacenter. If it is already published, it is applied as soon as you save. A template without a match stays as it is.