KVM hypervisor install on virtualization server: BIOS, VT-x, VT-d, Debian bootable USB

Subscribers:
39,000
Published on ● Video Link: https://www.youtube.com/watch?v=zivVaY-Giik



Duration: 10:52
9,792 views
71


A video series on installing the KVM (Kernel Virtual Machine) hypervisor based on Debian Linux to a cheap virtualization server made out of gamer and PC components. Here we look at the setup what I currently have put together, so it is more easy to follow the steps I am taking.

First one should activate and enable the Intel® VT-x (AMD-v) and VT-d (AMD IOMMU) support from the BIOS of the motherboard. Each BIOS will look different, so here I just present the settings for a Gigabyte 990FXA-UD5 and for an ASrock 970 Extreme 3 motherboard for AMD® CPUs.
To boot from USB stick, also the boot device priority need to be set up (forgot to mention it in the video) and the 'Boot Mode' set to Legacy, since most hypervisors running on virtualization servers are not using UEFI. To initialize the third party boot ROMs (for example on RAID cards, InfiniBand or other network cards) one need to set up the boot ROM also to Legacy mode. Even so, my motherboard does not allow me to boot from iSCSI or even via PXE from the network if I am not using the onboard Realtek RTL8111 Gigabit network card for PXE. The gamer oriented motherboards also do not have SR-IOV support. For such advanced feautures one must buy a server grade motherboard.

Due to the lack of IPMI the software installation will be performed over a serial console. I connect to the serial port of the server through a null-modem cable and a Raspberry Pi via Minicom.

The storage for the virtual machines will be a ZFS RAIDZ-1 array from four mechanical disks, and two SSDs as ZIL and L2ARC, this is why I have to save one SATA port and use a USB stick for the system disk for the underlying Debian 8.7 Jessy I will be using a 32GB USB stick.
Also, as installation media, here a bootable USB stick is being prepared using the Debian netinstall ISO, and the MD5 sum of the ISO checked to make sure that the file was intact.

Link and command line history for bootable USB stick
================
https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/


mkdir DEBIAN

cd DEBIAN

wget -c https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-8.7.1-amd64-netinst.iso

wget -c https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/MD5SUMS

grep debian-8.7.1-amd64-netinst.iso MD5SUMS RightBacketHere debian-8.7.1-amd64-netinst.md5
YT does not allow actual brackets in the description, annoying...

md5sum -c debian-8.7.1-amd64-netinst.md5

Transform into the root user

lsblk

Plug in the USB stick

lsblk

Make sure that you get the RIGHT device name for your USB!!!

dd if=debian-8.7.1-amd64-netinst.iso of=/dev/sdb bs=1M

sync


The actual software installation and KVM setup will be presented in the next videos.




Other Videos By Donkey Learning IT


2018-11-14Switch mode power supply repair #8: Pulse Width Modulation explained (PWM)
2018-01-16Switch mode power supply repair #7: Basics of Pulse Width Modulation (PWM)
2017-07-24Howto repair switch mode power supplies #6: Basics of Linear Regulators and voltage references
2017-06-25Howto repair switch mode power supplies #5: Magnetic core materials, ferrite vs steel
2017-06-11Howto repair switch mode power supplies #4: Inductor in electronic circuits P2
2017-06-04Howto repair switch mode power supplies #3: Inductor in electronic circuits P1
2017-05-30Repair Cisco ASA5505 firewall not powering on: video reply to subscriber question
2017-05-04Howto repair switch mode power supplies #2: Stand-by circuit and its functionality
2017-04-02Howto repair switch mode power supplies #1: basics, and block diagram of a PSU
2017-02-25RAID arrays: RAID0 striping, mean time between failure, tracks, sectors, onsite and offsite backup
2017-02-05KVM hypervisor install on virtualization server: BIOS, VT-x, VT-d, Debian bootable USB
2017-02-02Type 1 bare metal vs Type 2 hosted hypervisors, and the VT-x extension: Basics of virtualization
2017-01-21Setting up APC7920 PDU power distribution unit: IP address, web management HTTP, HTTPS, SSL, SSH
2017-01-07Building an IKEA table-rack mounted lab for virtualization, CCNA-CCNP studies, and ZFS
2017-01-06Cheap home lab build: virtualization server, GNS3 for CCNA-CCNP rack, and ZFS
2016-12-25Building an IKEA Lack Rack on wheels for Cisco CCNA and virtualization home lab
2016-09-24Introduction to RAID arrays, basic concepts, sequential vs. random I/O, mechanical vs. SSD drives
2016-09-10Repair of a Cisco 2960G switch with amber LED via RAM chip replacement (FAIL/defect)
2016-09-03How to reflow a GPU from start to finish #2 reflow process and testing the repaired card
2016-09-02How to reflow a GPU from start to finish #1 preparing the card for BGA reflow
2016-08-30Tools for BGA and SMD rework #2 reballing, IR rework station, flux and profile development



Tags:
KVM
KVM hypervisor
Kernel Virtual Machine
Debian
Debian Jessy
Raspberry Pi
serial console
BIOS
VT-x
AMD-v
VT-d
IOMMU
bootable USB
Linux