Cheap home lab build: virtualization server, GNS3 for CCNA-CCNP rack, and ZFS

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



Duration: 19:35
24,296 views
176


Here I build a virtualization server which can be rack mounted inside an IKEA Lack table converted to host a Cisco CCNA-CCNP home lab (with GNS3 for Cisco router emulation) and virtualization lab for studying. This video is a shorter, updated and compressed version of a video which I uploaded half a year ago about building a cheap virtualization host for home use, i.e. not involving expensive industry grade server components. The VT-x (AMD-v) virtualization extension and VT-d (IOMMU) feature for direct PCI-e device direct bypass/passthrough to VMs are discussed. I also focus on features which you will miss if you do not invest into a server-grade motherboard. In particular, SR-IOv for single-root I/O virtualization is only supported on newer server-grade motherboards, which are still very expensive. The HP NC364T quad gigabit network cards are a good choice to start your labs. However, these cards do not support VMD-q, which is nowadays becoming more frequently used. The cards work fine for GNS3 as breakout cards to real Cisco 3750 switches. Other quirk of these quad cards is, that they have a PCI-e switcher chip on the board, so you need to bypass both NICs from an island, and you need to turn on "unsafe-bypass" support in your hypervisor. For storage, I had very good success with ZoL (ZFS on Linux), where mechanical disks are used in RAIDZ, and an SSD partitioned in two. The first SSD partition is used for ZIL (ZFS intention log) and the larger partition for L2ARC (Level 2 Adjustable Replacement Cache) as a read cache, which really helps when you have little RAM in your server (mine so far only has 16GB of RAM). Thus, ZoL and ZFS turned out to be so good, that I would no longer spend money for a RAID controller card. Furthermore, the motherboard I use has plenty of native SATA ports, so I was able to save money not having to buy an HBA (Host Bus Adapter for ZFS). Running ZFS without ECC RAM for home lab is totally fine, since the data has no real value. The hands on experience with a home lab is PRICELESS!!!

I have successfully tested this rig working with Linux KVM (Kernel based Virtual Machine) hypervisor and also with ESXi 5.5. With ESXi 5.5 the only issue I have bumped into was, that the driver for the Realtek onboard NIC had to be baked into the installation ISO.


COMPONENTS I HAVE USED:
==========================
CPU: AMD FX8350 (has AMD-v, IOMMU and ECC support, and 8 corelets)
CPU cooler: Alpenföhn Brocken with 12cm fan (very quiet, fits into the small case)
MoBo: Gigabyte 990FXA-UD5 Rev. 3 (IOMMU support and AMD-v work fine)
MoBo also has lots of PCI-e lanes routed to the PCI-e slots, so VM passthrough is working
MoBo does not support SR-IOv, so you cannot share a PCI-e card among multiple VMs
RAM: 2* 8GB of Crucial Ballistix Sport DDR3 (no ECC, should extend it to 32GB)
Video: old 32-bit PCI VGA (Gigabyte MoBo does not boot without video!!!)
Network: 3* Quad Gigabit HP NC364T + onboard Realtek GbE LAN
Storage: 32GB USB stick for hypervisor + 4 mechanical disks in RAIDZ-1
Storage read/write cache: 128GB SSD partitioned for ZIL and for L2ARC
Case: cheap ATX chassis, bought used, converted to be mountable in an IKEA "Lack" table rack
PSU: Corsair VS550
IPMI substitute: native serial console
InfiniBand: still hunting for cheap Mellanox full-height QDR cards with VPI and cables




Other Videos By Donkey Learning IT


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
2016-08-24Tools for BGA and SMD rework #1 soldering station, multimeter, screw drivers, microscope
2016-08-16500W Be Quiet! ATX power supply teardown, detailed overview and repair
2016-08-14Corsair VS550 vs Be Quiet! 500W power supply side-by-side comparison and overview
2016-08-02APC PDU #3 Howto reset the password under linux and windows step-by-step



Tags:
virtualization
GNS3
home lab
ZFS
VT-x
AMD-v
VT-d
IOMMU
SR-IOv
VMD-q
howto
Linux KVM
KVM
ESXi
VMware
Cisco CCNA