Linux Open Source Virtualization (LFS462)

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.

Who should attend?

This course is for technical IT professionals interested in building a reliable, efficient and open virtualization infrastructure with KVM.

Previous knowledge

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.

Details anzeigen

Course Outline

1. Introduction

  • linux Foundation
  • linux Foundation Training
  • Laboratory Exercises, Solutions and Resources
  • Distribution Details
  • Registration
  • Labs

2. 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

3. 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

4. KVM Architecture and Relationship with linux

  • Brief History of KVM
  • Controlling KVM Using linux Commands
  • Obtaining KVM
  • Labs

5. 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

6. libvirt

  • Architecture
  • libvirt Access Control
  • virsh
  • libvirt XML
  • Open vSwitch
  • Labs

7.Hardware Support

  • I/O Provisioning
  • Labs

8. Tuning for Performance

  • Measuring Performance
  • netperf
  • fio
  • Memory Testing with Stream
  • SPECVirt Tuning
  • Labs

9. KVM Security

  • Review - libvirt Access Control
  • Host Security Concerns
  • libvirt-sandbox
  • sVirt
  • Security Updates
  • Labs

10. Xen Hypervisor Architecture

  • Domain Types
  • Toolstack Choices
  • Virtualization Modes
  • Labs

11. Installing and Configuring Xen

  • Preparing the Host
  • Getting the Software
  • Verifying dom0
  • Toolstack Selection
  • Installing domU
  • Persistent Xen Configuration
  • Connections to domU
  • Labs

12. Administration of Xen domains

  • Debugging Xen Issues
  • Backup and Restore
  • live Migration
  • NUMA Features
  • PCI Pass-through
  • USB Device Pass-through
  • Troubleshooting
  • Labs

13. Xen Performance and Tuning

  • Domain Resource Usage
  • Xen Scheduler Options
  • I/O Benchmark Testing
  • Boot Options for dom0
  • Labs

14. Xen Security

  • Domain Type Considerations
  • Xen Security Modules
  • Virtual Trusted Platform Module
  • pvgrub
  • Network Security
  • Labs

15. Working with linux Containers

  • Container Basics
  • Docker
  • Rocket
  • Kubernetes
  • LXD Container Hypervisor
  • OCI
  • lxc command line tools
  • Labs