Skip to main content

Posts

Showing posts from March, 2019

KVM - Headless Server setup with Bonding, Bridging and LVM on CentOS 7

There's a newer version covering EL8 I'll be using a plain CentOS 7 minimal install with the latest updates for this installation. First up, let's install the packages we need to make the Host a hypervisor: [archy@hyv01 ~]$ sudo yum install qemu-kvm libvirt libvirt-python libguestfs-tools virt-install tuned [archy@hyv01 ~]$ sudo systemctl enable libvirtd.service [archy@hyv01 ~]$ sudo systemctl start libvirtd.service [archy@hyv01 ~]$ sudo tuned-adm profile virtual-host NOTE: Tuned is optional but might squeeze out a little bit more performance and optimize the host for virtualization workloads. More info can be found by using 'man tuned-profiles'. Next, the network Configuratin. I'll use 4 Interfaces for the bond itself which will then again be a slave interface to the bridge which the VMs on this host will connect to. The Network Interfaces for the Bond will be: - ens2f0 - ens2f1 - ens2f2 - ens2f3 [archy@hyv01 ~]$ sudo nmcli connecti