Book Image

Mastering KVM Virtualization - Second Edition

By : Vedran Dakic, Humble Devassy Chirammal, Prasad Mukhedkar, Anil Vettathu
5 (1)
Book Image

Mastering KVM Virtualization - Second Edition

5 (1)
By: Vedran Dakic, Humble Devassy Chirammal, Prasad Mukhedkar, Anil Vettathu

Overview of this book

Kernel-based Virtual Machine (KVM) enables you to virtualize your data center by transforming your Linux operating system into a powerful hypervisor that allows you to manage multiple operating systems with minimal fuss. With this book, you'll gain insights into configuring, troubleshooting, and fixing bugs in KVM virtualization and related software. This second edition of Mastering KVM Virtualization is updated to cover the latest developments in the core KVM components - libvirt and QEMU. Starting with the basics of Linux virtualization, you'll explore VM lifecycle management and migration techniques. You’ll then learn how to use SPICE and VNC protocols while creating VMs and discover best practices for using snapshots. As you progress, you'll integrate third-party tools with Ansible for automation and orchestration. You’ll also learn to scale out and monitor your environments, and will cover oVirt, OpenStack, Eucalyptus, AWS, and ELK stack. Throughout the book, you’ll find out more about tools such as Cloud-Init and Cloudbase-Init. Finally, you'll be taken through the performance tuning and troubleshooting guidelines for KVM-based virtual machines and a hypervisor. By the end of this book, you'll be well-versed with KVM virtualization and the tools and technologies needed to build and manage diverse virtualization environments.
Table of Contents (22 chapters)
1
Section 1: KVM Virtualization Basics
4
Section 2: libvirt and ovirt for Virtual Machine Management
11
Section 3: Automation, Customization, and Orchestration for KVM VMs
15
Section 4: Scalability, Monitoring, Performance Tuning, and Troubleshooting

Questions

  1. What do we need to check before deploying the KVM stack?
  2. What do we need to configure after deploying the KVM stack in terms of making sure that virtual machines are going to run after reboot?
  3. How do we check KVM guest log files?
  4. How can we turn on and configure KVM debug logging permanently?
  5. How can we turn on and configure KVM debug logging at runtime?
  6. What's the best way to solve oVirt's installation problems?
  7. What's the best way to solve oVirt's minor and major version upgrade problems?
  8. What's the best way to manage the oVirt Engine and host updates?
  9. Why do we need to be careful with snapshots?
  10. What are the common problems with templates and cloudbase-init?
  11. What should be our first step when installing Eucalyptus?
  12. What kind of advanced capabilities for monitoring and reporting can we use with the ELK stack?
  13. What are some of the best practices when troubleshooting KVM-based environments?
...