2 options
KVM virtualization cookbook : learn how to effectively use KVM in production / Konstantin Ivanov.
- Format:
- Book
- Author/Creator:
- Ivanov, Konstantin, author.
- Language:
- English
- Subjects (All):
- Virtual computer systems.
- Physical Description:
- 1 online resource (317 pages) : illustrations
- Edition:
- 1st edition
- Other Title:
- Kernel-based Virtual Machine virtualization cookbook
- Place of Publication:
- Birmingham, England : Packt, 2017.
- System Details:
- text file
- Biography/History:
- Ivanov Konstantin: 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.
- Summary:
- 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...
- Contents:
- Cover
- Copyright
- Credits
- About the Author
- About the Reviewer
- www.PacktPub.com
- Customer Feedback
- Table of Contents
- Preface
- Chapter 1: 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
- There's more...
- Preparing images for OS installation with qemu-nbd
- Installing a custom OS on the image with debootstrap
- Resizing an image
- Using pre-existing images
- See also
- Running virtual machines with qemu-system-*
- Starting the QEMU VM with KVM support
- Connecting to a running instance with VNC
- Chapter 2: Using libvirt to Manage KVM
- Installing and configuring libvirt
- Defining KVM instances
- Starting, stopping, and removing KVM instances
- Inspecting and editing KVM configs
- Building new KVM instances with virt-install and using the console
- Managing CPU and memory resources in KVM
- Attaching block devices to virtual machines.
- Getting ready
- Sharing directories between a running VM and the host OS
- Autostarting KVM instances
- Working with storage pools
- Managing volumes
- Managing secrets
- Chapter 3: KVM Networking with libvirt
- The Linux bridge
- The Open vSwitch
- Configuring NAT forwarding network
- Configuring bridged network
- Configuring PCI passthrough network
- Manipulating network interfaces
- Chapter 4: Migrating KVM Instances
- Manual offline migration using an iSCSI storage pool
- Manual offline migration using GlusterFS shared volumes
- Online migration using the virsh command with shared storage
- Offline migration using the virsh command and local image
- Online migration using the virsh command and local image
- Chapter 5: Monitoring and Backup of KVM Virtual Machines
- Introduction.
- Resource usage collection with libvirt
- Monitoring KVM instances with Sensu
- Simple KVM backups with tar and rsync
- Creating snapshots
- Listing snapshots
- Inspecting snapshots
- Editing snapshots
- Reverting snapshots
- Deleting snapshots
- Chapter 6: Deploying KVM Instances with OpenStack
- Preparing the host for the OpenStack deployment
- Installing and configuring the OpenStack Keystone identity service
- Installing and configuring the OpenStack Glance image service
- Installing and configuring the OpenStack Nova compute service
- Installing and configuring the OpenStack Neutron networking service
- Building and inspecting KVM instances with OpenStack
- Stopping KVM instances with OpenStack
- Terminating KVM instances with OpenStack
- Chapter 7: Using Python to Build and Manage KVM Instances
- Installing and using the Python libvirt library
- Defining KVM instances with Python
- Starting, stopping, and deleting KVM instances with Python
- Inspecting KVM instances with Python
- Building a simple REST API server with libvirt and bottle
- Chapter 8: Kernel Tuning for KVM Performance
- Tuning the kernel for low I/O latency
- Memory tuning for KVM guests
- CPU performance options
- NUMA tuning with libvirt
- There is more...
- Tuning the kernel for network performance
- Index.
- Notes:
- Includes index.
- Description based on online resource; title from PDF title page (ebrary, viewed September 2, 2017).
- ISBN:
- 9781788291507
- 1788291506
- OCLC:
- 993258504
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.