Scripts for managing KVM hypervisors used with DRBD and LVM.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Alexis Ben Miloud--Josselin 20cecaa77a Fix line print il y a 3 semaines
docs Add doc for Debian packaging il y a 1 mois
.gitignore Add a gitignore for .swp files il y a 6 mois
LICENSE Add GPLv3 license il y a 1 mois Fixes to markdown links in il y a 4 semaines
add-vm A path to an ISO image can be configured to boot the VM on it. il y a 4 mois
kvmstats Fix line print il y a 3 semaines
vm-migrate Add vm-migrate script il y a 4 mois

KVM tools

This repository contains scripts for managing KVM hypervisors using DRBD and LVM.

It contains the following scripts.

  • add-vm: create DRBD volumes and virtual machines.
  • vm-migrate: migrate a DRBD based virtual machine
  • kvmstats: gives informations about defined virtual machines.


Copy the scripts to /usr/local/sbin:

install -m 0755 add-vm /usr/local/sbin/add-vm
install -m 0755 kvmstats /usr/local/sbin/kvmstats

Edit the configuration in /etc/evolinux/add-vm.cnf:


Script add-vm assumes you have two LVM Volume Groups named “ssd” and “hdd”.

You can override this by adding a bash(1) array in /etc/evolinux/add-vm.cnf, eg:

disks=("VG1" "VG2")

Dry-run mode

You can use the dry-run mode by setting the doDryRun variable in /etc/evolinux/add-vm.cnf::


This is specific to add-vm.


This is an Evolix project and is licensed under the GPLv3, see the LICENSE file for details.