Skip to content

Instantly share code, notes, and snippets.

@Wurzelmann
Wurzelmann / Ganet_Xen_install.md
Last active January 19, 2021 12:55 — forked from valentin2105/Ganet_Xen_install.md
Install Xen and Ganeti on a Debian server

HOW-TO Install Ganeti/Xen/DRBD ?

You need a Volum Group on your server (LVM) named "vgganeti" for store VMs.
apt-get update && apt-get dist-upgrade
apt-get install git vim aptitude sudo htop screen curl openssh-server locales
apt-get -y install xen-linux-system xen-tools
dpkg-divert --divert /etc/grub.d/08_linux_xen --rename /etc/grub.d/20_linux_xen
sed -i '/TOOLSTACK/s/=.*/=xl/' /etc/default/xen
echo 'GRUB_CMDLINE_XEN_DEFAULT="dom0_mem=1024M,max:1024M \
  dom0_max_vcpus=1 dom0_vcpus_pin"' > /etc/default/grub