Platform · Live migration

Move running virtual machines between servers.

A running VM can move to another node without stopping. Where its disks are on shared storage only memory travels; where they are on the node's own disk, the disks are copied while it runs and the originals removed once it runs on the new node. A VM that is off is simply copied and started there.

Highlights

  1. Drain a node

    Put a node in maintenance and move every VM off it: each one goes to the node with the most room, live where it can be.

  2. Balance automatically

    Every five minutes the console looks for a node above its threshold and works out which VM to move where — proposing the moves, or making them one at a time.

  3. Move in from VMware

    List a vCenter or ESXi inventory read-only and convert a powered-off VM onto a node with virt-v2v, followed as a task.

In the console today

What it does, and what it does not.

Each entry below is the product's own documentation, limits included.

Virtual machines

Since 1.0

Create, start, stop, clone and resize KVM guests. Boot from an uploaded ISO or a cloud image, give them several network cards, set CPU topology, and open a console in the browser — including pasting text into guests that have no clipboard.

  • Create one VM or up to fifty in one pass: a batch is named web-01, web-02 … and placed by the scheduler on whichever nodes have room.
  • Templates: save the whole Create VM configuration under a name — from the last step of the wizard, or from an existing VM's tools — and start the next VM from it in one click.
  • Cloud-init for cloud images: a user, a password or SSH key, a host name and one command to run on first boot, delivered on a small seed disk the guest finds by itself.
  • Several network cards per VM, each on its own network and optionally with a fixed address; CPU topology as sockets × cores.
  • UEFI or BIOS chosen from the installer itself: an ISO that cannot boot under UEFI gets BIOS, so an arbitrary installer does not stop at a blank screen.
  • Windows 11 (1.9.8): a virtual TPM 2.0 and Secure Boot with Microsoft's keys, switched on by themselves for a Windows 11 ISO or image. The TPM goes with the VM when it is cloned, exported, moved, backed up or restarted by HA, so BitLocker keeps working.
  • Move to another node without stopping it (1.9.8: also from a node's own disk — the disks are copied while it runs, and the originals removed once it runs there). A VM that is off is copied and started there.
  • Export a VM to one .lexivirt.tar file in the image library and Import it from there; clone a VM; resize CPU, memory and disks while it is off.
  • The image library downloads an image from a URL to every node (with an optional sha256 check) and converts VMware, Hyper-V and VirtualBox disks — VMDK, VHD, VHDX, VDI, OVA — to qcow2.
  • Import from VMware (2.1): list the VMs of a vCenter or an ESXi host (read-only) and convert a powered-off one onto a node with virt-v2v, followed as a task. The password is kept in a file only the conversion can read, and never logged.

LimitsMoving a running VM with its disks sends its memory and disks between the nodes unencrypted, on TCP 49152-49215: keep it on a trusted network. A VM with a TPM runs only on nodes with swtpm installed. Importing from VMware needs virt-v2v on the node and the source VM powered off; in 2.1 it was tested against a simulation, not a real vCenter.

Step by step: Many VMs at once, and templates, First boot of a cloud image (cloud-init), A disk from VMware, Hyper-V or VirtualBox, Moving, exporting and importing a VM

How to use virtual machines in the console

Nodes

Since 1.0

The machines that actually run virtual machines. Each runs a small agent the console talks to over an authenticated channel. A node that refuses the console says which of the three reasons it is — a wrong secret, a secret it generated itself, or one it cannot keep between restarts — because those have different fixes.

  • Maintenance mode: a node in maintenance receives no new VMs.
  • Move every VM off this node: each VM goes to the node with the most room — live where its disks are shared, copied where they are not.

How to use nodes in the console

Clusters

Since 1.7.0

This console's own cluster: which nodes are in it, what they add up to, and where each virtual machine sits. Health is derived from what the nodes report, never asserted.

  • Placement rules (2.1): keep chosen VMs on different nodes, on the same node, or only on chosen nodes — each rule strict (must) or preferred (should). Creating, moving and restarting a VM after a node failure all follow them, and a VM that breaks a rule now is listed with the reason.
  • Load balancing (2.1): every five minutes the console looks for a node above a threshold (85% of memory or CPU by default) and works out which running VM to move where, so that no other node goes over. Recommend mode only proposes the moves; automatic mode makes one at a time, never during another migration, and never moves the same VM twice in an hour.

LimitsBalancing looks at memory and CPU only — not disk or network load — and moves running VMs only.

How to use clusters in the console

Step by step

Guides for this.

Run it on your own servers.

Free, with no licence per VM, socket or core. One command per server.