SlideShare a Scribd company logo
Mastering KVM Virtualization
A complete book about KVM
Mastering kvm virtualization- A complete guide of KVM virtualization
Who this book for ?
This book is intended for system administrators,
DevOps practitioners and Developers who have a
good hands-on knowledge of Linux and would like to
sharpen their skills of open source virtualization.
Authors
● Humble Devassy Chirammal
● Prasad Mukhedkar
● Anil Vettathu
What this book covers?
● Chapter 1, Understanding Linux Virtualization, talks
about the prevailing technologies used in Linux
virtualization and their advantages over others. It
starts with basic concepts of Linux virtualization and
advantages of Linux-based virtualization platforms and
then moves on to hypervisor/VMM. This chapter ends
with how Linux is being used in private and public
cloud infrastructures.
What this book covers?
● Chapter 2, KVM Internals, covers the important
data structures and functions which define the internal
implementation of libvirt, qemu, and KVM. You will also
go through the life cycle of vCPU execution and how
qemu and KVM perform together to run a guest
operating system in the host CPU
What this book covers?
● Chapter 3, Setting up a KVM Virtualization
Environment Using libvirt, tells you how to set up your
Linux server to use KVM (Kernel-based Virtual
Machine) and libvirt. KVM is for virtualization and libvirt
is for managing the virtualization environment.You will
also learn how to determine the right system
requirements (CPU, memory,storage, and networking)
to create your own virtual environment
What this book covers?
● Chapter 4, Getting Started with libvirt and Creating
Virtual Machines, will tell you more about libvirt and
its supported tools, such as virt-manager and virsh.
You will dig more into the default configurations
available in libvirt. You will install a new virtual
machine using virt-manager as well virt-install and also
learn about advanced virtual machine deployment
tools, such as virt-builder and oz.
What this book covers?
● Chapter 5, Virtual Storage and Network, is one of the most
important chapters that teaches you about virtual networking
and storage, which determine the QoS of your virtual machine
deployments. In virtual networking, you will learn in detail about
bridging, different bridging concepts, and the methods you can
adopt for a fault tolerant network layer for virtual machines. You
will understand how to segregate the network with the use of
tagged vLan bridges. In storage, you will learn how to create
storage pools for our virtual machines from storage backends
such as fiber channel (FC), ISCSI, NFS, local storage, and so
on. You will also learn how to determine the right storage
backend for your virtual machines.
What this book covers?
Chapter 6, Virtual Machine Lifecycle Management
and Migration, discusses the tasks of managing
virtual machines. You will learn about the different
statuses of virtual machines and methods to access a
virtual machine that includes spice and VNC. You will
understand the use of guest agents. You will also learn
how to perform offline and live migration of virtual
machines.
What this book covers?
● Chapter 7, Virtual Machine Templates and
Snapshots, tells us how to create templates of
Windows and Linux for rapid VMs provisioning. The
chapter will also teach us how to create external and
internal snapshots and when to use which snapshot.
Snapshot management, including merge and deletion
is also covered with snapshot best practice.
What this book covers?
● Chapter 8, Kimchi, An HTML5-Based Management
Tool for KVM/libvirt, explains how to manage KVM
virtualization infrastructure remotely, using libvirt-
based web management tools. You will learn how to
create new virtual machines, remotely adjust an
existing VM's resource allocation, implement user
access controls, and so on over the Internet using
Kimchi WebUI. It also introduces VM-King, an Android
application that lets you manage KVM virtual
machines remotely from your Android mobile or tablet
What this book covers?
● Chapter 9, Implementing Software-Defined
Networking for a KVM Virtual Environment, covers
the use of SDN approach in KVM virtualization using
Open vSwitch and supporting tools that include
OpenDayLight SDN controller. You will learn about
Open vSwitch installation and setup, creating vLans
for KVM virtual machines, applying granular traffic and
policy control to KVM VMs, creating overlay networks,
and port mirroring and SPAN. You will also learn how
to manage Open vSwitch using OpenDayLight SDN
controller.
What this book covers?
● Chapter 10, Installing and Configuring Virtual
Datacenter Using oVirt, oVirt is a virtual datacenter
manager and is considered as the open source
replacement of Vmware vCenter. It manages virtual
machines, hosts, storage, and virtualized networks. It
provides a powerful web management interface. In this
chapter, we will cover oVirt architecture, oVirt engine
installation, and oVirt node installation
What this book covers?
● Chapter 11, Managing oVirt virtual datacenter, tells
us how to initiate an oVirt datacenter in order to start
your first virtual machine. This initialization process will
walk you through creating a datacenter, adding a host
to datacenter, adding storage domains, and its
backend. You will learn about configuring networking
What this book covers?
● Chapter 12, Introduction to Openstack, covers the
most popular open source software platform to create
and manage public and private IaaS cloud. We will
explain the different components of OpenStack. You
will set up an OpenStack environment and will start
your first instance on it.
What this book covers?
● Chapter 13, Performance Tuning and Best
Practices in KVM, tells us how performance tuning
can be done on a KVM setup. It will also discuss the
best practices that can be applied in a KVM setup to
improve the performance.
What this book covers?
● Chapter 14, Migrating from Physical to
Virtualization and Cloud, will tell you how to migrate
your existing virtual machines that are running on
proprietary hypervisors to a truly open source KVM
hypervisor using virt-v2v tool. You will also learn how
to migrate physical machines to virtual machines and
run them on the cloud.
Available @
● http://amzn.to/2b4S0Mc
● http://bit.ly/2b0tE6V
Thanks KVM , QEMU , Libvirt &
Ovirt Communities.
License
Some rights reserved by linux_foundation
Download
Download the Original size of this photo (All sizes of this photo are available for download under a Creative Commons license)

More Related Content

What's hot (20)

PPTX
そろそろSELinux を有効にしてみませんか?
Atsushi Mitsu
 
PDF
Virtualization with KVM (Kernel-based Virtual Machine)
Novell
 
PPTX
NUCで始めるVMware Tanzu
Hirotaka Sato
 
PDF
Open vSwitchソースコードの全体像
Sho Shimizu
 
PDF
(발표자료) CentOS EOL에 따른 대응 OS 검토 및 적용 방안.pdf
ssuserf8b8bd1
 
PPTX
OVN - Basics and deep dive
Trinath Somanchi
 
PDF
Docker 101
SDU CYBERLAB
 
PDF
MRU : Monobit Reliable UDP ~5G世代のモバイルゲームに最適な通信プロトコルを目指して~
モノビット エンジン
 
PDF
The linux networking architecture
hugo lu
 
PPTX
Docker & Kubernetes基礎
Daisuke Hiraoka
 
PDF
一歩進んだXen仮想化環境構築
VirtualTech Japan Inc.
 
PDF
「Neutronになって理解するOpenStack Network」~Neutron/Open vSwitchなどNeutronと周辺技術の解説~ - ...
VirtualTech Japan Inc.
 
PDF
P4, EPBF, and Linux TC Offload
Open-NFP
 
PPTX
ConfD で Linux にNetconfを喋らせてみた
Akira Iwamoto
 
PDF
Interrupt Affinityについて
Takuya ASADA
 
PDF
BPF Internals (eBPF)
Brendan Gregg
 
PDF
Kubernetes Basics
Eueung Mulyana
 
PDF
OpenStack入門 2016/06/27
株式会社 NTTテクノクロス
 
PDF
Virtual Chassis for Cloud Builders
Juniper Networks (日本)
 
PDF
すごいBOSHたのしく学ぼう
i_yudai
 
そろそろSELinux を有効にしてみませんか?
Atsushi Mitsu
 
Virtualization with KVM (Kernel-based Virtual Machine)
Novell
 
NUCで始めるVMware Tanzu
Hirotaka Sato
 
Open vSwitchソースコードの全体像
Sho Shimizu
 
(발표자료) CentOS EOL에 따른 대응 OS 검토 및 적용 방안.pdf
ssuserf8b8bd1
 
OVN - Basics and deep dive
Trinath Somanchi
 
Docker 101
SDU CYBERLAB
 
MRU : Monobit Reliable UDP ~5G世代のモバイルゲームに最適な通信プロトコルを目指して~
モノビット エンジン
 
The linux networking architecture
hugo lu
 
Docker & Kubernetes基礎
Daisuke Hiraoka
 
一歩進んだXen仮想化環境構築
VirtualTech Japan Inc.
 
「Neutronになって理解するOpenStack Network」~Neutron/Open vSwitchなどNeutronと周辺技術の解説~ - ...
VirtualTech Japan Inc.
 
P4, EPBF, and Linux TC Offload
Open-NFP
 
ConfD で Linux にNetconfを喋らせてみた
Akira Iwamoto
 
Interrupt Affinityについて
Takuya ASADA
 
BPF Internals (eBPF)
Brendan Gregg
 
Kubernetes Basics
Eueung Mulyana
 
OpenStack入門 2016/06/27
株式会社 NTTテクノクロス
 
Virtual Chassis for Cloud Builders
Juniper Networks (日本)
 
すごいBOSHたのしく学ぼう
i_yudai
 

Viewers also liked (6)

PDF
Virtualization Architecture & KVM
Pradeep Kumar
 
PDF
Compliance Automation Workshop
Chef
 
PDF
An Introduction to DevOps with Chef
Julian Dunn
 
PPTX
Chef for DevOps - an Introduction
Sanjeev Sharma
 
PDF
Chef Fundamentals Training Series Module 1: Overview of Chef
Chef Software, Inc.
 
ODP
Introduction to Chef
Knoldus Inc.
 
Virtualization Architecture & KVM
Pradeep Kumar
 
Compliance Automation Workshop
Chef
 
An Introduction to DevOps with Chef
Julian Dunn
 
Chef for DevOps - an Introduction
Sanjeev Sharma
 
Chef Fundamentals Training Series Module 1: Overview of Chef
Chef Software, Inc.
 
Introduction to Chef
Knoldus Inc.
 
Ad

Similar to Mastering kvm virtualization- A complete guide of KVM virtualization (20)

ODP
Mastering KVM Virtualization - Overview
Anil Vettathu
 
DOCX
Krenel Based Virtual Machine In Centos7
a_ratra
 
PDF
Rmll Virtualization As Is Tool 20090707 V1.0
guest72e8c1
 
PDF
RMLL / LSM 2009
Franck_Villaume
 
PDF
Startup guide for kvm on cent os 6
Carlos Eduardo
 
PDF
Kvm virtualization in_rhel_7
Urgen Sherpa
 
PDF
KVM tools and enterprise usage
vincentvdk
 
ODP
LSA2 - 01 Virtualization with KVM
Marian Marinov
 
PPTX
Hyun goo oVirt study - Presentation
Johnny Hyun Goo
 
PPT
Redhat Virualization Technology: A Detailed Manual.
Ankur Verma
 
PDF
OpenShift Virtualization- Technical Overview.pdf
ssuser1490e8
 
PDF
Idc white paper kvm – open source virtualization for the enterprise and ope...
benzfire
 
ODP
Kvm
Bert Desmet
 
PPTX
Introduction to Virtualization, Virsh and Virt-Manager
walkerchang
 
PPTX
Drive into kvm
Udayendu Kar
 
PDF
Virtualization - Kernel Virtual Machine (KVM)
Wan Leung Wong
 
PDF
Aplura virtualization slides
The Linux Foundation
 
PPTX
Virtualization, A Concept Implementation of Cloud
Nishant Munjal
 
PDF
Alterar memória kvm virtual machine
Carlos Eduardo
 
ODP
Kvm and libvirt
plarsen67
 
Mastering KVM Virtualization - Overview
Anil Vettathu
 
Krenel Based Virtual Machine In Centos7
a_ratra
 
Rmll Virtualization As Is Tool 20090707 V1.0
guest72e8c1
 
RMLL / LSM 2009
Franck_Villaume
 
Startup guide for kvm on cent os 6
Carlos Eduardo
 
Kvm virtualization in_rhel_7
Urgen Sherpa
 
KVM tools and enterprise usage
vincentvdk
 
LSA2 - 01 Virtualization with KVM
Marian Marinov
 
Hyun goo oVirt study - Presentation
Johnny Hyun Goo
 
Redhat Virualization Technology: A Detailed Manual.
Ankur Verma
 
OpenShift Virtualization- Technical Overview.pdf
ssuser1490e8
 
Idc white paper kvm – open source virtualization for the enterprise and ope...
benzfire
 
Introduction to Virtualization, Virsh and Virt-Manager
walkerchang
 
Drive into kvm
Udayendu Kar
 
Virtualization - Kernel Virtual Machine (KVM)
Wan Leung Wong
 
Aplura virtualization slides
The Linux Foundation
 
Virtualization, A Concept Implementation of Cloud
Nishant Munjal
 
Alterar memória kvm virtual machine
Carlos Eduardo
 
Kvm and libvirt
plarsen67
 
Ad

Recently uploaded (20)

PPTX
Presentation 2.pptx AI-powered home security systems Secure-by-design IoT fr...
SoundaryaBC2
 
PPT
Electrical Safety Presentation for Basics Learning
AliJaved79382
 
PPTX
Element 11. ELECTRICITY safety and hazards
merrandomohandas
 
PDF
MAD Unit - 1 Introduction of Android IT Department
JappanMavani
 
PPTX
What is Shot Peening | Shot Peening is a Surface Treatment Process
Vibra Finish
 
PPTX
265587293-NFPA 101 Life safety code-PPT-1.pptx
chandermwason
 
PDF
Biomechanics of Gait: Engineering Solutions for Rehabilitation (www.kiu.ac.ug)
publication11
 
PDF
Basic_Concepts_in_Clinical_Biochemistry_2018كيمياء_عملي.pdf
AdelLoin
 
PDF
Water Industry Process Automation & Control Monthly July 2025
Water Industry Process Automation & Control
 
PPTX
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
PPTX
Introduction to Basic Renewable Energy.pptx
examcoordinatormesu
 
PPT
Carmon_Remote Sensing GIS by Mahesh kumar
DhananjayM6
 
PDF
smart lot access control system with eye
rasabzahra
 
PDF
Electrical Engineer operation Supervisor
ssaruntatapower143
 
PDF
Halide Perovskites’ Multifunctional Properties: Coordination Engineering, Coo...
TaameBerhe2
 
PDF
Design Thinking basics for Engineers.pdf
CMR University
 
PPTX
Big Data and Data Science hype .pptx
SUNEEL37
 
PPTX
MATLAB : Introduction , Features , Display Windows, Syntax, Operators, Graph...
Amity University, Patna
 
PPTX
The Role of Information Technology in Environmental Protectio....pptx
nallamillisriram
 
PDF
Pressure Measurement training for engineers and Technicians
AIESOLUTIONS
 
Presentation 2.pptx AI-powered home security systems Secure-by-design IoT fr...
SoundaryaBC2
 
Electrical Safety Presentation for Basics Learning
AliJaved79382
 
Element 11. ELECTRICITY safety and hazards
merrandomohandas
 
MAD Unit - 1 Introduction of Android IT Department
JappanMavani
 
What is Shot Peening | Shot Peening is a Surface Treatment Process
Vibra Finish
 
265587293-NFPA 101 Life safety code-PPT-1.pptx
chandermwason
 
Biomechanics of Gait: Engineering Solutions for Rehabilitation (www.kiu.ac.ug)
publication11
 
Basic_Concepts_in_Clinical_Biochemistry_2018كيمياء_عملي.pdf
AdelLoin
 
Water Industry Process Automation & Control Monthly July 2025
Water Industry Process Automation & Control
 
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
Introduction to Basic Renewable Energy.pptx
examcoordinatormesu
 
Carmon_Remote Sensing GIS by Mahesh kumar
DhananjayM6
 
smart lot access control system with eye
rasabzahra
 
Electrical Engineer operation Supervisor
ssaruntatapower143
 
Halide Perovskites’ Multifunctional Properties: Coordination Engineering, Coo...
TaameBerhe2
 
Design Thinking basics for Engineers.pdf
CMR University
 
Big Data and Data Science hype .pptx
SUNEEL37
 
MATLAB : Introduction , Features , Display Windows, Syntax, Operators, Graph...
Amity University, Patna
 
The Role of Information Technology in Environmental Protectio....pptx
nallamillisriram
 
Pressure Measurement training for engineers and Technicians
AIESOLUTIONS
 

Mastering kvm virtualization- A complete guide of KVM virtualization

  • 1. Mastering KVM Virtualization A complete book about KVM
  • 3. Who this book for ? This book is intended for system administrators, DevOps practitioners and Developers who have a good hands-on knowledge of Linux and would like to sharpen their skills of open source virtualization.
  • 4. Authors ● Humble Devassy Chirammal ● Prasad Mukhedkar ● Anil Vettathu
  • 5. What this book covers? ● Chapter 1, Understanding Linux Virtualization, talks about the prevailing technologies used in Linux virtualization and their advantages over others. It starts with basic concepts of Linux virtualization and advantages of Linux-based virtualization platforms and then moves on to hypervisor/VMM. This chapter ends with how Linux is being used in private and public cloud infrastructures.
  • 6. What this book covers? ● Chapter 2, KVM Internals, covers the important data structures and functions which define the internal implementation of libvirt, qemu, and KVM. You will also go through the life cycle of vCPU execution and how qemu and KVM perform together to run a guest operating system in the host CPU
  • 7. What this book covers? ● Chapter 3, Setting up a KVM Virtualization Environment Using libvirt, tells you how to set up your Linux server to use KVM (Kernel-based Virtual Machine) and libvirt. KVM is for virtualization and libvirt is for managing the virtualization environment.You will also learn how to determine the right system requirements (CPU, memory,storage, and networking) to create your own virtual environment
  • 8. What this book covers? ● Chapter 4, Getting Started with libvirt and Creating Virtual Machines, will tell you more about libvirt and its supported tools, such as virt-manager and virsh. You will dig more into the default configurations available in libvirt. You will install a new virtual machine using virt-manager as well virt-install and also learn about advanced virtual machine deployment tools, such as virt-builder and oz.
  • 9. What this book covers? ● Chapter 5, Virtual Storage and Network, is one of the most important chapters that teaches you about virtual networking and storage, which determine the QoS of your virtual machine deployments. In virtual networking, you will learn in detail about bridging, different bridging concepts, and the methods you can adopt for a fault tolerant network layer for virtual machines. You will understand how to segregate the network with the use of tagged vLan bridges. In storage, you will learn how to create storage pools for our virtual machines from storage backends such as fiber channel (FC), ISCSI, NFS, local storage, and so on. You will also learn how to determine the right storage backend for your virtual machines.
  • 10. What this book covers? Chapter 6, Virtual Machine Lifecycle Management and Migration, discusses the tasks of managing virtual machines. You will learn about the different statuses of virtual machines and methods to access a virtual machine that includes spice and VNC. You will understand the use of guest agents. You will also learn how to perform offline and live migration of virtual machines.
  • 11. What this book covers? ● Chapter 7, Virtual Machine Templates and Snapshots, tells us how to create templates of Windows and Linux for rapid VMs provisioning. The chapter will also teach us how to create external and internal snapshots and when to use which snapshot. Snapshot management, including merge and deletion is also covered with snapshot best practice.
  • 12. What this book covers? ● Chapter 8, Kimchi, An HTML5-Based Management Tool for KVM/libvirt, explains how to manage KVM virtualization infrastructure remotely, using libvirt- based web management tools. You will learn how to create new virtual machines, remotely adjust an existing VM's resource allocation, implement user access controls, and so on over the Internet using Kimchi WebUI. It also introduces VM-King, an Android application that lets you manage KVM virtual machines remotely from your Android mobile or tablet
  • 13. What this book covers? ● Chapter 9, Implementing Software-Defined Networking for a KVM Virtual Environment, covers the use of SDN approach in KVM virtualization using Open vSwitch and supporting tools that include OpenDayLight SDN controller. You will learn about Open vSwitch installation and setup, creating vLans for KVM virtual machines, applying granular traffic and policy control to KVM VMs, creating overlay networks, and port mirroring and SPAN. You will also learn how to manage Open vSwitch using OpenDayLight SDN controller.
  • 14. What this book covers? ● Chapter 10, Installing and Configuring Virtual Datacenter Using oVirt, oVirt is a virtual datacenter manager and is considered as the open source replacement of Vmware vCenter. It manages virtual machines, hosts, storage, and virtualized networks. It provides a powerful web management interface. In this chapter, we will cover oVirt architecture, oVirt engine installation, and oVirt node installation
  • 15. What this book covers? ● Chapter 11, Managing oVirt virtual datacenter, tells us how to initiate an oVirt datacenter in order to start your first virtual machine. This initialization process will walk you through creating a datacenter, adding a host to datacenter, adding storage domains, and its backend. You will learn about configuring networking
  • 16. What this book covers? ● Chapter 12, Introduction to Openstack, covers the most popular open source software platform to create and manage public and private IaaS cloud. We will explain the different components of OpenStack. You will set up an OpenStack environment and will start your first instance on it.
  • 17. What this book covers? ● Chapter 13, Performance Tuning and Best Practices in KVM, tells us how performance tuning can be done on a KVM setup. It will also discuss the best practices that can be applied in a KVM setup to improve the performance.
  • 18. What this book covers? ● Chapter 14, Migrating from Physical to Virtualization and Cloud, will tell you how to migrate your existing virtual machines that are running on proprietary hypervisors to a truly open source KVM hypervisor using virt-v2v tool. You will also learn how to migrate physical machines to virtual machines and run them on the cloud.
  • 19. Available @ ● http://amzn.to/2b4S0Mc ● http://bit.ly/2b0tE6V
  • 20. Thanks KVM , QEMU , Libvirt & Ovirt Communities. License Some rights reserved by linux_foundation Download Download the Original size of this photo (All sizes of this photo are available for download under a Creative Commons license)