LFS462: Open Source Virtualization

2,995.00  excl. VAT

Course Code: LFS462

Duration: 4 days;

Delivery dates: TBA;

Instructor: TBA;

Certificate: Yes, upon completion;

Location: TBA.



Learn KVM from the ground up with a focus on QEMU and libvirt, as well as Xen. By the end of this course, you will understand how these and other related open source components can be assembled to create a virtual IT infrastructure. There is a focus on practical deployment skills, securing the virtual infrastructure, and administering solutions. There will also be detailed material about using containers. There are low-level lab exercises focused on virtual images and snapshots, deployment, VM creation and maintenance, integration with networking infrastructure, device pass-through and more.


This course is for technical IT professionals interested in building a reliable, efficient and open virtualization infrastructure with KVM. Students are expected to have mastered the skills covered in the lower level Linux Foundation System Administration courses. Students are expected to be well­ versed in Linux command line usage, shell scripting and text file editing.

Course Materials

Authorized printed training materials from The Linux Foundation. As part of your registration, a printed copy of the course manual will be course manual will be provided. If you are attending in person the material will be available onsite on the day the class begins.

Course Description

Open Source Virtualization takes a deep dive into KVM (Kernel-based Virtual Machine) and Xen, the most popular hypervisor virtualization technologies in the open source ecosystem, as well as the deployment and use of containers. Built by experts in the field of virtualization, this course provides the technical background to understand the components required to build and administer a modern virtual IT infrastructure.

This course is focused on problems typically faced in the enterprise world. The lectures are filled with examples of how KVM, Xen and containers can be used in business environments as well as practical lab sessions that let participants gain a real­-world perspective of common virtualization problems and how to address them.

At the end of the training, attendees will have acquired the skills needed to:

  • Understand the role KVM and Xen play in the virtualization ecosystem
  • Know how to assemble KVM and other components into a robust and efficient virtual IT infrastructure

This course is designed to work with a wide range of Linux distributions, so you will be able to apply these concepts regardless of your distro.

Course Outline

  • Introduction
    • linux Foundation
    • linux Foundation Training
    • Laboratory Exercises, Solutions and Resources
    • Distribution Details
    • Registration
    • Labs
  • Virtualization Overview
    • Virtualization Terminology
    • Host versus Guest
    • Virtual Machine Monitor
    • Emulation
    • Software versus Hardware Virtualization
    • Hypervisor Types
    • Instruction Translation and Caching
    • Paravirtualization
    • Virtual Machine Image File
    • linux Containers
    • Xen Hypervisor
    • Labs
  • KVM Quick-Start
    • Verifying your linux Kernel has KVM
    • Validating your Hardware for KVM
    • Obtaining and Installing KVM and QEMU
    • Verifying libvirt installation
    • Building Upstream QEMU
    • libvirt
    • qemu-img and Virtual Disk Files
    • virt-install
    • Pausing and Restoring the Guest
    • Managing VMs with GUIs
    • The QEMU Command line
    • The QEMU Monitor
    • virt-manager
    • Labs
  • KVM Architecture and Relationship with linux
    • Brief History of KVM
    • Controlling KVM Using linux Commands
    • Obtaining KVM
    • Labs
  • Running KVM Using QEMU
    • What is QEMU?
    • Running KVM Using QEMU
    • Machine Commands
    • Starting Guest Networking
    • Dumping Network Traffic with QEMU
    • Guest-to-Host Communication using Virtio
    • QEMU Tracing
    • Managing Storage With QEMU
    • Managing Virtual Storage with libguestfs
    • Using Host Physical Storage
    • Using Host Physical Networking
    • Graphics
    • BIOS
    • USB Pass-through
    • Labs
  • libvirt
    • Architecture
    • libvirt Access Control
    • virsh
    • libvirt XML
    • Open vSwitch
    • Labs
  • Hardware Support
    • I/O Provisioning
    • Labs
  • Tuning for Performance
    • Measuring Performance
    • netperf
    • fio
    • Memory Testing with Stream
    • SPECVirt Tuning
    • Labs
  • KVM Security
    • Review – libvirt Access Control
    • Host Security Concerns
    • libvirt-sandbox
    • sVirt
    • Security Updates
    • Labs
  • Xen Hypervisor Architecture
    • Domain Types
    • Toolstack Choices
    • Virtualization Modes
    • Labs
  • Installing and Configuring Xen
    • Preparing the Host
    • Getting the Software
    • Verifying dom0
    • Toolstack Selection
    • Installing domU
    • Persistent Xen Configuration
    • Connections to domU
    • Labs
  • Administration of Xen domains
    • Debugging Xen Issues
    • Backup and Restore
    • live Migration
    • NUMA Features
    • PCI Pass-through
    • USB Device Pass-through
    • Troubleshooting
    • Labs
  • Xen Performance and Tuning
    • Domain Resource Usage
    • Xen Scheduler Options
    • I/O Benchmark Testing
    • Boot Options for dom0
    • Labs
  • Xen Security
    • Domain Type Considerations
    • Xen Security Modules
    • FLASK
    • Virtual Trusted Platform Module
    • pvgrub
    • Network Security
    • Labs
  • Working with linux Containers
    • Container Basics
    • Docker
    • Rocket
    • Kubernetes
    • LXD Container Hypervisor
    • OCI
    • lxc command line tools
    • Labs

Why train with The Linux Foundation

The Linux Foundation is the go-to source for training on virtually every aspect of Linux and many other open source technologies. Here are a few things that make The Linux Foundation the right choice for training:

  1. The Linux Foundation is the non-profit organization that hosts Linux and many other open source projects, employs Linux creator Linus Torvalds and hosts kernel.org (where all Linux kernel updates are released).
  2. Being so close to the kernel The Linux Foundation is constantly updating training to ensure that the most up-to-date information is being thought. Linux Foundation Training is unique in that all our training courses are designed to work on all major Linux distributions (including RedHat, Ubuntu and SUSE).
  3. The Linux Foundation does not sell any software or support services so there’s no hidden sales agenda in the training material. The only goal is to help students learn the material.
  4. When you train with The Linux Foundation, you’re learning from instructors who are comfortable across all major Linux distributions and can answer student questions regardless of the distribution you’re using for the class. You are truly learning from the experts.