KVM Virtualization Cookbook

Konstantin Ivanov

買這商品的人也買了...

商品描述

Key Features

  • Build, manage and scale virtual machines with practical step-by-step examples
  • Leverage the libvirt user-space tools and libraries to manage the life-cycle of KVM instances
  • Deploy and scale applications inside KVM virtual machines with OpenStack

Book Description

Virtualization technologies such as KVM allow for better control over the available server resources, by deploying multiple virtual instances on the same physical host, or clusters of compute resources. With KVM it is possible to run various workloads in isolation with the hypervisor layer providing better tenant isolation and higher degree of security.

This book will provide a deep dive into deploying KVM virtual machines using qemu and libvirt and will demonstrate practical examples on how to run, scale, monitor, migrate and backup such instances. You will also discover real production ready recipes on deploying KVM instances with OpenStack and how to programatically manage the life cycle of KVM virtual machines using Python. You will learn numerous tips and techniques which will help you deploy & plan the KVM infrastructure. Next, you will be introduced to the working of libvirt libraries and the iPython development environment.

Finally, you will be able to tune your Linux kernel for high throughput and better performance. By the end of this book, you will gain all the knowledge needed to be an expert in working with the KVM virtualization infrastructure.

What you will learn

  • Deploy different workloads in isolation with KVM virtualization and better utilize the available compute resources
  • Explore the benefits of running applications with KVM and learn to prevent the "bad-neighbor" effect
  • Leveraging various networking technologies in the context of virtualization with Open vSwitch and the Linux bridge.
  • Create KVM instances using Python and inspect running KVM instances
  • Understand Kernel Tuning for enhanced KVM performance and better memory utilization

About the Author

Konstantin Ivanov is a Linux systems engineer, an open source developer, and a technology blogger who has been designing, configuring, deploying, and administering large-scale, highly available Linux environments for more than 15 years.

His interests include large distributed systems and task automation, along with solving technical challenges involving multiple technology stacks.

Konstantin received two master of science in computer science degrees from universities in Bulgaria and the United States, specializing in system and network security and software engineering.

In his spare time, he loves writing technology blogs and spending time with his two boys.

Table of Contents

  1. Getting Started with QEMU and KVM
  2. Using libvirt to Manage KVM
  3. KVM Networking with libvirt
  4. Migrating KVM Instances
  5. Monitoring and Backup of KVM Virtual Machines
  6. Deploying KVM Instances with OpenStack
  7. Using Python to Build and Manage KVM Instances
  8. Kernel Tuning for KVM Performance

商品描述(中文翻譯)

主要特點


  • 使用實際的逐步範例來建立、管理和擴展虛擬機器

  • 利用libvirt用戶空間工具和庫來管理KVM實例的生命周期

  • 使用OpenStack在KVM虛擬機器中部署和擴展應用程序

書籍描述

虛擬化技術(如KVM)可以更好地控制可用的服務器資源,通過在同一物理主機上部署多個虛擬實例或計算資源集群。使用KVM,可以在虛擬化層中以隔離的方式運行各種工作負載,提供更好的租戶隔離和更高的安全性。

本書將深入介紹使用qemu和libvirt部署KVM虛擬機器的方法,並演示如何運行、擴展、監控、遷移和備份這些實例的實際範例。您還將了解如何使用OpenStack部署KVM實例的真實生產就緒的配方,以及如何使用Python編程方式管理KVM虛擬機器的生命周期。您將學習到許多技巧和技術,幫助您部署和規劃KVM基礎設施。接下來,您將介紹libvirt庫的工作原理和iPython開發環境。

最後,您將能夠調整Linux內核以實現高吞吐量和更好的性能。通過閱讀本書,您將獲得成為KVM虛擬化基礎設施專家所需的所有知識。

您將學到什麼


  • 使用KVM虛擬化在隔離環境中部署不同的工作負載,更好地利用可用的計算資源

  • 探索使用KVM運行應用程序的好處,並學習如何防止“壞鄰居”效應

  • 在虛擬化上下文中利用各種網絡技術,如Open vSwitch和Linux橋接

  • 使用Python創建KVM實例並檢查運行中的KVM實例

  • 了解用於增強KVM性能和更好的內存利用率的內核調整

關於作者

Konstantin Ivanov 是一位Linux系統工程師、開源開發者和技術博主,他在設計、配置、部署和管理大規模、高可用的Linux環境方面擁有超過15年的經驗。

他的興趣包括大型分佈式系統和任務自動化,以及解決涉及多個技術堆棧的技術挑戰。

Konstantin在保加利亞和美國的大學獲得了兩個計算機科學碩士學位,專攻系統和網絡安全以及軟件工程。

在閒暇時間,他喜歡撰寫技術博客並與他的兩個兒子共度時光。

目錄


  1. 使用QEMU和KVM入門

  2. 使用libvirt管理KVM

  3. 使用libvirt進行KVM網絡配置

  4. 遷移KVM實例

  5. 監控和備份KVM虛擬機器

  6. 使用OpenStack部署KVM實例

  7. 使用Python構建和管理KVM實例

  8. 針對KVM性能進行內核調優