Xen Virtualization

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

Xen Virtualization

Prabhakar Chaganti

A fast and practical guide to supporting multiple operating systems with the Xen hypervisor
Mapt Subscription
FREE
$29.99/m after trial
eBook
$10.00
RRP $23.99
Save 58%
Print + eBook
$39.99
RRP $39.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$10.00
$39.99
$29.99p/m after trial
RRP $23.99
RRP $39.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Code Files
Preview in Mapt

Book Details

ISBN 139781847192486
Paperback148 pages

Book Description

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.

 

 

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

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

Read More Reviews

Recommended for You

PostgreSQL 9 Admin Cookbook Book Cover
PostgreSQL 9 Admin Cookbook
$ 29.99
$ 10.00
LINQ Quickly Book Cover
LINQ Quickly
$ 20.99
$ 10.00
OpenVPN 2 Cookbook Book Cover
OpenVPN 2 Cookbook
$ 29.99
$ 10.00
PostgreSQL 9.0 High Performance Book Cover
PostgreSQL 9.0 High Performance
$ 29.99
$ 10.00
Software Testing using Visual Studio 2012 Book Cover
Software Testing using Visual Studio 2012
$ 29.99
$ 10.00
jQuery UI 1.7: The User Interface Library for jQuery  Book Cover
jQuery UI 1.7: The User Interface Library for jQuery
$ 26.99
$ 10.00