Mastering KVM Virtualization
eBook - ePub

Mastering KVM Virtualization

Humble Devassy Chirammal, Prasad Mukhedkar, Anil Vettathu

Compartir libro
  1. 468 páginas
  2. English
  3. ePUB (apto para móviles)
  4. Disponible en iOS y Android
eBook - ePub

Mastering KVM Virtualization

Humble Devassy Chirammal, Prasad Mukhedkar, Anil Vettathu

Detalles del libro
Vista previa del libro
Índice
Citas

Información del libro

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

About This Book

  • Become an expert in Linux virtualization
  • Migrate your virtualized datacenter to the cloud
  • Find out how to build a large scale virtualization solution that will transform your organization

Who This Book Is For

Linux administrators – if you want to build incredible, yet manageable virtualization solutions with KVM this is the book to get you there. It will help you apply what you already know to some tricky virtualization tasks.

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

In Detail

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.

Style and approach

Combining advanced insights with practical solutions, Mastering KVM Virtualization is a vital resource for anyone that believes in the power of virtualization to help a business use resources more effectively.

Preguntas frecuentes

¿Cómo cancelo mi suscripción?
Simplemente, dirígete a la sección ajustes de la cuenta y haz clic en «Cancelar suscripción». Así de sencillo. Después de cancelar tu suscripción, esta permanecerá activa el tiempo restante que hayas pagado. Obtén más información aquí.
¿Cómo descargo los libros?
Por el momento, todos nuestros libros ePub adaptables a dispositivos móviles se pueden descargar a través de la aplicación. La mayor parte de nuestros PDF también se puede descargar y ya estamos trabajando para que el resto también sea descargable. Obtén más información aquí.
¿En qué se diferencian los planes de precios?
Ambos planes te permiten acceder por completo a la biblioteca y a todas las funciones de Perlego. Las únicas diferencias son el precio y el período de suscripción: con el plan anual ahorrarás en torno a un 30 % en comparación con 12 meses de un plan mensual.
¿Qué es Perlego?
Somos un servicio de suscripción de libros de texto en línea que te permite acceder a toda una biblioteca en línea por menos de lo que cuesta un libro al mes. Con más de un millón de libros sobre más de 1000 categorías, ¡tenemos todo lo que necesitas! Obtén más información aquí.
¿Perlego ofrece la función de texto a voz?
Busca el símbolo de lectura en voz alta en tu próximo libro para ver si puedes escucharlo. La herramienta de lectura en voz alta lee el texto en voz alta por ti, resaltando el texto a medida que se lee. Puedes pausarla, acelerarla y ralentizarla. Obtén más información aquí.
¿Es Mastering KVM Virtualization un PDF/ePUB en línea?
Sí, puedes acceder a Mastering KVM Virtualization de Humble Devassy Chirammal, Prasad Mukhedkar, Anil Vettathu en formato PDF o ePUB, así como a otros libros populares de Computer Science y Content Management Systems. Tenemos más de un millón de libros disponibles en nuestro catálogo para que explores.

Información

Año
2016
ISBN
9781784399054

Mastering KVM Virtualization


Table of Contents

Mastering KVM Virtualization
Credits
About the Authors
About the Reviewers
www.PacktPub.com
eBooks, discount offers, and more
Why subscribe?
Preface
What this book covers
What you need for this book
Who this book for
Conventions
Reader feedback
Customer support
Downloading the color images of this book
Errata
Piracy
Questions
1. Understanding Linux Virtualization
What is virtualization?
Why should I use Linux virtualization?
Types of virtualization
Advantages of virtualization
Operating system virtualization/partitioning
Full virtualization
Paravirtualization
Hardware assisted virtualization
Introducing VMM/hypervisor
Type 1 and Type 2 hypervisors
Open source virtualization projects
Xen
Introducing KVM
High-level overview of KVM
What Linux virtualization offers you in the cloud
Summary
2. KVM Internals
Getting acquainted with libvirt and its implementation
Internal workings of libvirt
Time to think more about QEMU
Qemu – KVM internals
Data structures
Threading models in QEMU
KVM in action
KVM APIs
Anonymous inodes and file structures
Data structures
Execution flow of vCPU
Summary
3. Setting Up Standalone KVM Virtualization
Getting acquainted with libvirt
Host system requirements
Determining the right system requirements for your environment
Physical CPU
CPU cores
Physical memory
Storage
How much SWAP space is recommended?
Network
Setting up the environment
Installing virtualization packages
Starting the libvirt service
Validate and understand your system's virt capabilities
Hardware configuration examples
Summary
4. Getting Started with libvirt and Creating Your First Virtual Machines
Introducing virt-manager
The Virtual Networks tab
NATed virtual network
Routed virtual network
Isolated virtual network
Default network
Storage tab
Creating virtual machines using the Virtual Machine Manager
Creating a new virtual machine wizard
The Network installation (HTTP, FTP, or NFS) method
Network Boot (PXE)
Importing an existing disk image
Introducing virt-install
Installing a Windows 7 Guest using the virt-install command
Automated virtual machine deployment
Introducing virt-builder
Introducing oz
The oz configuration file
Creating a virtual machine using oz
Summary
5. Network and Storage
Virtual networking
Virtual networking using libvirt
Isolated virtual network
Routed virtual network
Editing a virtual network
NATed virtual network
MacVTap
PCI passthrough
It's all about storage!
Working with unmanaged storage
Creating a disk image and attaching it to a guest
Getting image information
Attach a disk using virt-manager
Attach a disk using virsh
Working with managed storage
Storage management console
Creating storage pools
File system directory backed storage pool
LVM Volume Group backed storage pool
iSCSI backed storage pool
Creating an ISO image library
Deleting a storage pool
Deleting storage pool using virt-manager
Deleting storage pool using virsh
Creating storage volumes
Creating volume using virsh command
Deleting a volume using the virsh command
Summary
6. Virtual Machine Lifecycle Management
QEMU guest agent
Virtual video cards and graphics
Virtual video card
Graphics
VNC graphics server
SPICE graphics server
Adding SPICE graphics server
Methods to access a virtual machine console
VM migration
Offline migration
Live or online migration
Benefits of VM migration
Setting up the environment
Shared storage
Offline migration
What if I start the VM accidently on both the hypervisors?
Enabling lockd
Live or online migration
Future of migration
Summary
7. Templates and Snapshots
Introducing virtual machine templates
Working with templates
Creating templates
Example 1 – preparing a CentOS 7 template with a complete LAMP stack
What is virt-sysprep?
Example 2 – preparing a Windows 7 template with a MySQL database
Deploying virtual machines from a template
Deploying VMs using the clone provisioning method
Deploying VMs using the thin provisioning method
Snapshots
VM disk image formats
Converting a VM disk format
Working with internal snapshots
Creating the first internal snapshot
Creating an internal snapshot with a custom name and description
Creating multiple snapshots
Reverting to internal snapshots
Deleting internal snapshots
Managing snapshots using virt-manager
Working with external disk snapshots
Creating an external disk snapshot
What is quiesce?
Reverting to external snapshots
Deleting external disk snapshots
Best practices for dealing with snapshots
Summary
8. Kimchi – An HTML5-Based Management Tool for KVM/libvirt
Libvirt Web API
Introduction to the Kimchi project
Kimchi architecture
Setting up Kimchi server
Starting kimchid service
Managing KVM virtualization infrastructure using kimchi WebUI
Creating virtual machines through Kimchi WebUI
Editing a virtual machine's resource allocation
Accessing a virtual machine's graphical console
Permissions and user access control
Monitoring and managing a host system with the Kimchi WebUI
Host system management using the Kimchi-Ginger plugin
Managing virtual machine through android phones
Summary
9. Software-Defined Networking for KVM Virtualization
Introducing Software Defined Networking
Limitations of Linux bridges
Introducing Open vSwitch
Comparison between Linux bridge and Open vSwitch
Open vSwitch architecture
Open vSwitch installation and setup
Starting openvswitch.service
Open vSwitch k...

Índice