Mastering KVM Virtualization

Dive in to the cutting edge techniques of Linux KVM virtualization, and build the virtualization solutions your datacentre demands
Preview in Mapt
Code Files

Mastering KVM Virtualization

Humble Devassy Chirammal, Prasad Mukhedkar, Anil Vettathu

6 customer reviews
Dive in to the cutting edge techniques of Linux KVM virtualization, and build the virtualization solutions your datacentre demands

Quick links: > What will you learn?> Table of content> Product reviews

Mapt Subscription
FREE
$29.99/m after trial
eBook
$28.00
RRP $39.99
Save 29%
Print + eBook
$49.99
RRP $49.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$28.00
$49.99
$29.99 p/m after trial
RRP $39.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Mastering KVM Virtualization Book Cover
Mastering KVM Virtualization
$ 39.99
$ 28.00
KVM Virtualization Cookbook Book Cover
KVM Virtualization Cookbook
$ 35.99
$ 25.20
Buy 2 for $35.00
Save $40.98
Add to Cart

Book Details

ISBN 139781784399054
Paperback468 pages

Book Description

A robust datacenter is essential for any organization – but you don’t want to waste resources. With KVM you can virtualize your datacenter, transforming a Linux operating system into a powerful hypervisor that allows you to manage multiple OS with minimal fuss.

This book doesn’t just show you how to virtualize with KVM – it shows you how to do it well. Written to make you an expert on KVM, you’ll learn to manage the three essential pillars of scalability, performance and security – as well as some useful integrations with cloud services such as OpenStack. From the fundamentals of setting up a standalone KVM virtualization platform, and the best tools to harness it effectively, including virt-manager, and kimchi-project, everything you do is built around making KVM work for you in the real-world, helping you to interact and customize it as you need it. With further guidance on performance optimization for Microsoft Windows and RHEL virtual machines, as well as proven strategies for backup and disaster recovery, you’ll can be confident that your virtualized data center is working for your organization – not hampering it. Finally, the book will empower you to unlock the full potential of cloud through KVM. Migrating your physical machines to the cloud can be challenging, but once you’ve mastered KVM, it’s a little easie.

Table of Contents

Chapter 1: Understanding Linux Virtualization
What is virtualization?
Why should I use Linux virtualization?
Types of virtualization
Operating system virtualization/partitioning
Hardware assisted virtualization
Introducing VMM/hypervisor
Open source virtualization projects
What Linux virtualization offers you in the cloud
Summary
Chapter 2: KVM Internals
Getting acquainted with libvirt and its implementation
Internal workings of libvirt
Time to think more about QEMU
KVM in action
Anonymous inodes and file structures
Execution flow of vCPU
Summary
Chapter 3: Setting Up Standalone KVM Virtualization
Getting acquainted with libvirt
Hardware configuration examples
Summary
Chapter 4: Getting Started with libvirt and Creating Your First Virtual Machines
Introducing virt-manager
Creating virtual machines using the Virtual Machine Manager
Introducing virt-install
Automated virtual machine deployment
Summary
Chapter 5: Network and Storage
Virtual networking
Virtual networking using libvirt
MacVTap
passthrough
It's all about storage!
Summary
Chapter 6: Virtual Machine Lifecycle Management
QEMU guest agent
Virtual video cards and graphics
VM migration
Shared storage
Enabling lockd
Live or online migration
Summary
Chapter 7: Templates and Snapshots
Introducing virtual machine templates
Working with templates
Deploying virtual machines from a template
Deploying VMs using the clone provisioning method
Deploying VMs using the thin provisioning method
Snapshots
Summary
Chapter 8: Kimchi – An HTML5-Based Management Tool for KVM/libvirt
Libvirt Web API
Introduction to the Kimchi project
Setting up Kimchi server
Managing KVM virtualization infrastructure using kimchi WebUI
Creating virtual machines through Kimchi WebUI
Managing virtual machine through android phones
Summary
Chapter 9: Software-Defined Networking for KVM Virtualization
Introducing Software Defined Networking
Introducing Open vSwitch
Integrating KVM VMs and OVS
VLANs with Open vSwitch
Applying traffic rate limiting
Overlay networks
Configuring Open vSwitch tunnels with VxLan
Network port mirroring
Managing Open vSwitch using the OpenDaylight SDN controller
Basic Open vSwitch troubleshooting
Summary
Chapter 10: Installing and Configuring the Virtual Datacenter Using oVirt
Introducing oVirt
Installing the oVirt engine
Summary
Chapter 11: Starting Your First Virtual Machine in oVirt
Getting acquainted with oVirt data center and cluster
Creating storage domains
Creating logical networks
Creating and starting a virtual machine
What next?
Summary
Chapter 12: Deploying OpenStack Private Cloud backed by KVM Virtualization
OpenStack architecture
OpenStack deployment
Launching First Instance
Troubleshooting the virtualization layer of OpenStack
Accessing the instance configuration database
QEMU Monitor Protocol
Summary
Chapter 13: Performance Tuning and Best Practices in KVM
VirtIO
CPU tuning
Working with memory
Getting acquainted with Kernel Same Page merging
Tuning CPU and memory with NUMA
Disk and block I/O tuning
Networking tuning in KVM
KVM guest time-keeping best practices
Summary
Chapter 14: V2V and P2V Migration Tools
Introducing the virt-v2v utility
How does virt-v2v work?
VMware guest conversion
Xen guest conversion
Converting standalone KVM guests to an oVirt Virtualization platform and the OpenStack cloud
Troubleshooting virt-v2v related issues
Physical system to virtual conversion
Can we convert any physical computers to virtual using virt-v2v?
Converting virtual machines from unsupported virtualization platforms
Summary

What You Will Learn

  • Explore the ecosystem of tools that support Linux virtualization
  • Find out why KVM offers you a smarter way to unlock the potential of virtualization
  • Implement KVM virtualization using oVirt
  • Explore the KVM architecture – so you can manage, scale and optimize it with ease
  • Migrate your virtualized datacenter to the cloud for truly resource-efficient computing
  • Find out how to integrate OpenStack with KVM to take full control of the cloud

Authors

Table of Contents

Chapter 1: Understanding Linux Virtualization
What is virtualization?
Why should I use Linux virtualization?
Types of virtualization
Operating system virtualization/partitioning
Hardware assisted virtualization
Introducing VMM/hypervisor
Open source virtualization projects
What Linux virtualization offers you in the cloud
Summary
Chapter 2: KVM Internals
Getting acquainted with libvirt and its implementation
Internal workings of libvirt
Time to think more about QEMU
KVM in action
Anonymous inodes and file structures
Execution flow of vCPU
Summary
Chapter 3: Setting Up Standalone KVM Virtualization
Getting acquainted with libvirt
Hardware configuration examples
Summary
Chapter 4: Getting Started with libvirt and Creating Your First Virtual Machines
Introducing virt-manager
Creating virtual machines using the Virtual Machine Manager
Introducing virt-install
Automated virtual machine deployment
Summary
Chapter 5: Network and Storage
Virtual networking
Virtual networking using libvirt
MacVTap
passthrough
It's all about storage!
Summary
Chapter 6: Virtual Machine Lifecycle Management
QEMU guest agent
Virtual video cards and graphics
VM migration
Shared storage
Enabling lockd
Live or online migration
Summary
Chapter 7: Templates and Snapshots
Introducing virtual machine templates
Working with templates
Deploying virtual machines from a template
Deploying VMs using the clone provisioning method
Deploying VMs using the thin provisioning method
Snapshots
Summary
Chapter 8: Kimchi – An HTML5-Based Management Tool for KVM/libvirt
Libvirt Web API
Introduction to the Kimchi project
Setting up Kimchi server
Managing KVM virtualization infrastructure using kimchi WebUI
Creating virtual machines through Kimchi WebUI
Managing virtual machine through android phones
Summary
Chapter 9: Software-Defined Networking for KVM Virtualization
Introducing Software Defined Networking
Introducing Open vSwitch
Integrating KVM VMs and OVS
VLANs with Open vSwitch
Applying traffic rate limiting
Overlay networks
Configuring Open vSwitch tunnels with VxLan
Network port mirroring
Managing Open vSwitch using the OpenDaylight SDN controller
Basic Open vSwitch troubleshooting
Summary
Chapter 10: Installing and Configuring the Virtual Datacenter Using oVirt
Introducing oVirt
Installing the oVirt engine
Summary
Chapter 11: Starting Your First Virtual Machine in oVirt
Getting acquainted with oVirt data center and cluster
Creating storage domains
Creating logical networks
Creating and starting a virtual machine
What next?
Summary
Chapter 12: Deploying OpenStack Private Cloud backed by KVM Virtualization
OpenStack architecture
OpenStack deployment
Launching First Instance
Troubleshooting the virtualization layer of OpenStack
Accessing the instance configuration database
QEMU Monitor Protocol
Summary
Chapter 13: Performance Tuning and Best Practices in KVM
VirtIO
CPU tuning
Working with memory
Getting acquainted with Kernel Same Page merging
Tuning CPU and memory with NUMA
Disk and block I/O tuning
Networking tuning in KVM
KVM guest time-keeping best practices
Summary
Chapter 14: V2V and P2V Migration Tools
Introducing the virt-v2v utility
How does virt-v2v work?
VMware guest conversion
Xen guest conversion
Converting standalone KVM guests to an oVirt Virtualization platform and the OpenStack cloud
Troubleshooting virt-v2v related issues
Physical system to virtual conversion
Can we convert any physical computers to virtual using virt-v2v?
Converting virtual machines from unsupported virtualization platforms
Summary

Book Details

ISBN 139781784399054
Paperback468 pages
Read More
From 6 reviews

Read More Reviews

Recommended for You

KVM Virtualization Cookbook Book Cover
KVM Virtualization Cookbook
$ 35.99
$ 25.20
Software-Defined Networking (SDN) with OpenStack Book Cover
Software-Defined Networking (SDN) with OpenStack
$ 35.99
$ 25.20
Mastering OpenStack - Second Edition Book Cover
Mastering OpenStack - Second Edition
$ 35.99
$ 25.20
OpenStack Administration with Ansible 2 - Second Edition Book Cover
OpenStack Administration with Ansible 2 - Second Edition
$ 31.99
$ 22.40
Learning OpenStack Networking (Neutron) - Second Edition Book Cover
Learning OpenStack Networking (Neutron) - Second Edition
$ 39.99
$ 28.00
OpenStack Essentials - Second Edition Book Cover
OpenStack Essentials - Second Edition
$ 27.99
$ 19.60