Xen Virtualization

A fast and practical guide to supporting multiple operating systems with the Xen hypervisor

Xen Virtualization

Starting
Prabhakar Chaganti

A fast and practical guide to supporting multiple operating systems with the Xen hypervisor
$23.99
$36.00
RRP $23.99
RRP $39.99
eBook
Print + eBook
$12.99 p/month

Get Access

Get Unlimited Access to every Packt eBook and Video course

Enjoy full and instant access to over 3000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Code Files
+ Collection
Free Sample

Book Details

ISBN 139781847192486
Paperback148 pages

About This Book

 

  • Installing and configuring Xen
  • Managing and administering Xen servers and virtual machines
  • Setting up networking, storage, and encryption
  • Backup and migration

 

Who This Book Is For

This book is for Linux administrators who want to use Xen virtualization for development, testing, virtual hosting, or operating systems training.

Table of Contents

Chapter 1: Preface
What This Book Covers
Conventions
Reader Feedback
Customer Support
Chapter 2: Introduction
What is Xen?
Xen Terminologies
Summary
Chapter 3: Running Xen
Installing Xen from Binary Packages
Installing Xen from Source
Summary
Chapter 4: Creating Virtual Machines
A Plan for Creating Xen Domains
Physical Address Extension
Compiling a domU Kernel
Xen Domain Memory
Pygrub
Ubuntu Feisty
NetBSD
CentOS
Slackware
Summary
Chapter 5: Managing Xen
Xen Domain Configuration Files
Xen Management User Interface—xm
XenMan—Installing and Running
Virtual Machine Manager
Summary
Chapter 6: Networking
Bridged Networking
Routed Networking
Virtual Local Network with Network Address Translation
Summary
Chapter 7: Storage
Files
NFS
Logical Volume Management
Advanced Storage Options
Summary
Chapter 8: Encryption
Device Mapper-Based Encryption
Device Mapper-Based Encryption Using LUKS
Summary
Chapter 9: Migration
Migration Requirements
Saving and Restoring a Domain
Live Migration
Summary
Chapter 10: Xen Future
Libvirt
Vmcasting
Summary

What You Will Learn

  • Getting started with virtualization and Xen
  • Installing Xen from pre-built packages using yum
  • Installing and compile Xen from source
  • Running guest domains under Xen:
  • Create Ubuntu guest domain using debootstrap
  • Create NetBSD domain using install image
  • Create a Centos image using Qemu
  • Create Slackware domain using domU image from jailtime
  • Managing remote Xen instances using:
  • Xen manager (xm)
  • XenMan
  • Virt-manager
  • Configuring Xen for networking
  • Connecting domains using:
  • Bridged networking uses network bridge and hardware MAC addresses
  • Routed networking uses Dom0 for all traffic
  • Implementing storage solutions for guest domains:
  • Using Files—file based; perfect for testing
  • Using Network File Systems (NFS) works with remote NFS server
  • Using Logical Volume Management (LVM) for enterprise-grade storage
  • Securing your domain by encrypting root file systems
  • Plain device mapper-based encryption
  • Key-based device mapper encryption using LUKS
  • Migrating live domains from one server to another
  • Saving and restoring a domain
  • Trends and forthcoming advances in the Xen world:
  • libvirt to simplify access to virtualization domains in a vendor/hypervisor-independent way
  • VMcasting for transferring virtual machine images from the server to the client using RSS 2.0

In Detail

Xen is an open-source paravirtualization technology that provides a platform for running multiple operating systems on one physical hardware resource, while providing close to native performance. Xen supports several operating systems—Linux, FreeBSD, Windows, and NetBSD. It enables you to easily test, deploy and run your software and services on multiple operating systems with resource isolation and great performance. It is also a terrific way to consolidate your servers, save hardware and maintenance costs, and minimize downtime. Xen is one of the most popular open source projects in the world and vendors like IBM, Sun, HP, RedHat and Novell are working on integrating Xen into their Linux servers.

Xen was originally developed in 2003 at the University of Cambridge Computer Laboratory and we now have both commercial and free versions of the Xen hypervisor. The commercial versions are built on top of the open-source version with additional enterprise features. In this book we explore and use the open-source version of Xen.

This concise handbook is ideal for professionals who want a user-friendly reference beside them while they get working with Xen and virtualization. Its easy-to-navigate content offers bite-sized walkthroughs for a wide variety of common virtualization tasks using Xen. We use Fedora Core as the host operating system in this book. The book shows you how to add Xen support to it, leads you through the creation of guest domains running different operating systems and follows up by dissecting a range of common virtualization tasks.

 

 

Authors

Table of Contents

Chapter 1: Preface
What This Book Covers
Conventions
Reader Feedback
Customer Support
Chapter 2: Introduction
What is Xen?
Xen Terminologies
Summary
Chapter 3: Running Xen
Installing Xen from Binary Packages
Installing Xen from Source
Summary
Chapter 4: Creating Virtual Machines
A Plan for Creating Xen Domains
Physical Address Extension
Compiling a domU Kernel
Xen Domain Memory
Pygrub
Ubuntu Feisty
NetBSD
CentOS
Slackware
Summary
Chapter 5: Managing Xen
Xen Domain Configuration Files
Xen Management User Interface—xm
XenMan—Installing and Running
Virtual Machine Manager
Summary
Chapter 6: Networking
Bridged Networking
Routed Networking
Virtual Local Network with Network Address Translation
Summary
Chapter 7: Storage
Files
NFS
Logical Volume Management
Advanced Storage Options
Summary
Chapter 8: Encryption
Device Mapper-Based Encryption
Device Mapper-Based Encryption Using LUKS
Summary
Chapter 9: Migration
Migration Requirements
Saving and Restoring a Domain
Live Migration
Summary
Chapter 10: Xen Future
Libvirt
Vmcasting
Summary

Book Details

ISBN 139781847192486
Paperback148 pages
Read More