VPSie home
Move and grow

Migrate from KVM with libvirt

Move virtual machines from a KVM host managed with libvirt to VPSie by following the guide in the console, with the source host left untouched.

KVM with libvirt to VPSie at a glance

The facts that decide how the first server moves.

TopicDetail
What movesVirtual machines on a KVM host managed with libvirt.
How VPSie reads itFollowing the step-by-step guide in the console, which is turned on for your account by ticket.
StatusAvailable by ticket
CutoverCold migration: shut the guest down while its disks are copied.
The sourceRead, never changed. A failed or canceled migration removes everything it created.

Four steps, the same for every source

Follow every phase and the bytes copied on the Migrations page, and cancel at any time.

  1. 1Add the sourceChoose the VPSie data center and the source type. For KVM with libvirt, use the method on this page.
  2. 2Power off and startPower the machine off, then choose the plan, network options and an SSH key or password.
  3. 3Watch the copyVPSie copies the disks, checks them block by block, installs drivers and the agent, and sets up the network.
  4. 4Test, then switchStart the new server beside the original, test it, then move users and DNS. Delete the source when you are done.

Before you start

What to prepare for KVM with libvirt, and what changes on the other side.

Prepare

  • Ask VPSie Support to turn the KVM source on for your account. It is available by ticket.
  • Open the guide in the console and follow it for your host.
  • Shut the guest down cleanly and note its disks.
  • Choose the VPSie data center, plan and network for each server.

What changes after the move

  • VPSie is itself KVM-based, so QCOW2 and raw disks are familiar. Check disk controller and network card names inside the guest after the import.
  • VPSie installs the drivers and the VPSie agent on the new server and sets up its network.
  • The new server gets a new address unless you plan otherwise: lower your DNS time-to-live before the switch.

Limits for KVM with libvirt servers

The same limits the migration tool enforces.

Limit

Secure Boot and virtual TPM contents are not carried over.

Limit

Guests must be Linux with systemd, or Windows with a VPSie driver set.

Plan the move in waves

A short plan keeps the first move small and the next ones fast.

Start with one server that is easy to roll back, such as a test or staging machine from KVM with libvirt. Run the full path once: add the source, copy, start the new server beside the original, test it and switch. Note how long the copy takes for your disk size and network, because that time sets the length of the cutover window for the larger servers.

Then group the remaining servers by application, so that a web tier, its database and its jobs move in the same window. Keep the source powered off but intact until the new server has run a full business cycle. Lower the DNS time to live a day before the switch, and agree who checks the application after the move. If something looks wrong, the original is still there, and you can stop and go back.

If the list is long or the downtime allowance is short, ask for migration help. We plan the waves with you, run the first one beside your team and hand over a checklist for the rest.

Questions about moving from KVM with libvirt

Is there a connector for KVM?

The console has a step-by-step guide for KVM hosts with libvirt. The source is turned on by ticket.

Can I also use a disk image?

Yes. Any QCOW2 or raw image can be uploaded or fetched from an https address, up to 1 TiB per file.

Can I go back?

Yes. Stop any VPSie server and export it as RAW, QCOW2 or OVA, to a download or a bucket in the same data center. Export is charged per exported GB, once.

Can I use the server while it migrates?

The new server cannot be powered, resized, deleted or restored until the migration finishes.

Moving from KVM with libvirt?

Tell us how many servers and how much data. We will help plan the waves.