万本电子书0元读

万本电子书0元读

顶部广告

KVM Virtualization Cookbook电子书

售       价:¥

42人正在读 | 0人评论 9.8

作       者:Konstantin Ivanov

出  版  社:Packt Publishing

出版时间:2017-07-07

字       数:39.6万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Deploy, manage, and scale virtual instances using Kernel-based Virtual Machines About This Book ? 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 Who This Book Is For If you are a system administrator working KVM virtualization, this book will help you grow on your expertise of working with the infrastructure to manage things in a better way. You should have a knowledge of working with Linux based systems. 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 In Detail 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. Style and approach This book takes a complete practical approach with many step-by-step example recipes on how to use KVM in production. The book assumes certain level of expertise with Linux systems and virtualization in general. Some knowledge of Python programming is encouraged, to fully take advantage of the code recipes.
目录展开

Title Page

Copyright

Credits

About the Author

About the Reviewer

www.PacktPub.com

Customer Feedback

Preface

What this book covers

What you need for this book

Who this book is for

Sections

Getting ready

How to do it…

How it works…

There's more…

See also

Conventions

Reader feedback

Customer support

Downloading the example code

Downloading the color images of this book

Errata

Piracy

Questions

Getting Started with QEMU and KVM

Introduction

Installing and configuring QEMU

Getting ready

How to do it...

How it works...

Managing disk images with qemu-img

Getting ready

How to do it...

How it works...

There's more...

Preparing images for OS installation with qemu-nbd

Getting ready

How to do it...

How it works...

Installing a custom OS on the image with debootstrap

Getting ready

How to do it...

How it works...

Resizing an image

Getting ready

How to do it...

How it works...

Using pre-existing images

Getting ready

How to do it...

How it works...

There's more...

See also

Running virtual machines with qemu-system-*

Getting ready

How to do it...

How it works...

Starting the QEMU VM with KVM support

Getting ready

How to do it...

How it works...

There's more...

Connecting to a running instance with VNC

Getting ready

How to do it...

How it works...

Using libvirt to Manage KVM

Introduction

Installing and configuring libvirt

Getting ready

How to do it...

How it works...

Defining KVM instances

Getting ready

How to do it...

How it works...

There's more...

Starting, stopping, and removing KVM instances

Getting ready

How to do it...

How it works...

Inspecting and editing KVM configs

Getting ready

How to do it...

How it works...

Building new KVM instances with virt-install and using the console

Getting ready

How to do it...

How it works...

Managing CPU and memory resources in KVM

Getting ready

How to do it...

How it works...

There's more...

Attaching block devices to virtual machines

Getting ready

How to do it...

How it works...

Sharing directories between a running VM and the host OS

Getting ready

How to do it...

How it works...

There's more...

Autostarting KVM instances

Getting ready

How to do it...

How it works...

Working with storage pools

Getting ready

How to do it...

How it works...

There's more...

Managing volumes

Getting ready

How to do it...

How it works...

Managing secrets

Getting ready

How to do it...

How it works...

KVM Networking with libvirt

Introduction

The Linux bridge

Getting ready

How to do it...

How it works...

There's more...

The Open vSwitch

Getting ready

How to do it...

How it works...

There's more...

Configuring NAT forwarding network

Getting ready

How to do it...

How it works...

Configuring bridged network

Getting ready

How to do it...

How it works...

Configuring PCI passthrough network

Getting ready

How to do it...

How it works...

Manipulating network interfaces

Getting ready

How to do it...

How it works...

Migrating KVM Instances

Introduction

Manual offline migration using an iSCSI storage pool

Getting ready

How to do it...

How it works...

There's more...

Manual offline migration using GlusterFS shared volumes

Getting ready

How to do it...

How it works...

Online migration using the virsh command with shared storage

Getting ready

How to do it...

How it works...

There's more...

Offline migration using the virsh command and local image

Getting ready

How to do it...

How it works...

Online migration using the virsh command and local image

Getting ready

How to do it...

How it works...

Monitoring and Backup of KVM Virtual Machines

Introduction

Resource usage collection with libvirt

Getting ready

How to do it...

How it works...

There's more...

Monitoring KVM instances with Sensu

Getting ready

How to do it...

How it works...

There's more...

Simple KVM backups with tar and rsync

Getting ready

How to do it...

How it works...

Creating snapshots

Getting ready

How to do it...

How it works...

Listing snapshots

Getting ready

How to do it...

How it works...

Inspecting snapshots

Getting ready

How to do it...

How it works...

Editing snapshots

Getting ready

How to do it...

How it works...

Reverting snapshots

Getting ready

How to do it...

How it works...

Deleting snapshots

Getting ready

How to do it...

How it works...

Deploying KVM Instances with OpenStack

Introduction

Preparing the host for the OpenStack deployment

Getting ready

How to do it...

How it works...

Installing and configuring the OpenStack Keystone identity service

Getting ready

How to do it...

How it works...

Installing and configuring the OpenStack Glance image service

Getting ready

How to do it...

How it works...

Installing and configuring the OpenStack Nova compute service

Getting ready

How to do it...

How it works...

Installing and configuring the OpenStack Neutron networking service

Getting ready

How to do it...

How it works...

Building and inspecting KVM instances with OpenStack

Getting ready

How to do it...

How it works...

Stopping KVM instances with OpenStack

Getting ready

How to do it...

How it works...

Terminating KVM instances with OpenStack

Getting ready

How to do it...

How it works...

Using Python to Build and Manage KVM Instances

Introduction

Installing and using the Python libvirt library

Getting ready

How to do it...

How it works...

Defining KVM instances with Python

Getting ready

How to do it...

How it works...

There's more...

Starting, stopping, and deleting KVM instances with Python

Getting ready

How to do it...

How it works...

There's more...

Inspecting KVM instances with Python

Getting ready

How to do it...

How it works...

There's more...

Building a simple REST API server with libvirt and bottle

Getting ready

How to do it...

How it works...

There's more...

Kernel Tuning for KVM Performance

Introduction

Tuning the kernel for low I/O latency

Getting ready

How to do it...

How it works...

Memory tuning for KVM guests

Getting ready

How to do it...

How it works...

CPU performance options

Getting ready

How to do it...

How it works...

NUMA tuning with libvirt

Getting ready

How to do it...

How it works...

There is more...

Tuning the kernel for network performance

Getting ready

How to do it...

How it works...

累计评论(0条) 1个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部