Xen Virtualization

Prabhakar Chaganti

eBook: $23.99
Formats: PDF, PacktLib, ePub and Mobi formats
$20.39 save 15%!
Print book: $39.99
$35.99 save 10%!
Print + eBook bundle: $63.98
Includes free access to the book on PacktLib
$56.38 save 12%!
Free Shipping! UK, US, Europe and selected countries in Asia.
This book can also be purchased from:
Overview
Table of Contents
The Author
Reviews
Downloads

 

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

 

Book Details

Language : English
Paperback : 148 pages [ 235mm x 191mm ]
Release Date : December 2007
ISBN : 1847192483
ISBN 13 : 978-1-847192-48-6
Author(s) : Prabhakar Chaganti
Topics and Technologies : All Books, Architecture & Analysis, Linux Servers, Open Source, Virtualisation


Table of Contents

Preface
Chapter 1: Introduction
Chapter 2: Running Xen
Chapter 3: Creating Virtual Machines
Chapter 4: Managing Xen
Chapter 5: Networking
Chapter 6: Storage
Chapter 7: Encryption
Chapter 8: Migration
Chapter 9: Xen Future
Index
  • Chapter 2: Running Xen
    • Installing Xen from Binary Packages
      • Time for Action—Installing Xen with yum
    • Installing Xen from Source
      • Time for Action—Compile Xen
    • Summary
  • Chapter 3: Creating Virtual Machines
    • A Plan for Creating Xen Domains
    • Physical Address Extension
    • Compiling a domU Kernel
    • Xen Domain Memory
    • Pygrub
    • Ubuntu Feisty
      • Time for Action—Bootstrapping an Ubuntu System
    • NetBSD
      • Time for Action—Install NetBSD
    • CentOS
      • Time for Action—Using qemu to Create a CentOS Image
    • Slackware
      • Time for Action—Utilize Xen Images from jailtime.org
    • Summary
  • Chapter 4: Managing Xen
    • Xen Domain Configuration Files
    • Xen Management User Interface—xm
      • Time for Action—Xen Manager
    • XenMan— Installing and Running
      • Time for Action—Install and Run XenMan
    • Virtual Machine Manager
      • Time for Action—Running virt-manager
    • Summary
  • Chapter 5: Networking
    • Bridged Networking
      • Time for Action—Using Bridged Networking
    • Routed Networking
      • Time for Action—Using Routed Networking
    • Virtual Local Network with Network Address Translation
      • Time for Action—Using VLAN with NAT
    • Summary
  • Chapter 6: Storage
    • Files
    • NFS
      • Time for Action—Using NFS
    • Logical Volume Management
      • Time for Action—Using LVM
    • Advanced Storage Options
      • Redundant Array of Independent/Inexpensive Drives
      • Global Network Block Device
    • Summary
  • Chapter 7: Encryption
    • Device Mapper-Based Encryption
      • Time for Action—Encrypting Block Devices
    • Device Mapper-Based Encryption Using LUKS
      • Time for Action—by Extending dm-crypt
    • Summary
  • Chapter 8: Migration
    • Migration Requirements
    • Saving and Restoring a Domain
      • Time for Action—Migrate Domains on your Xen Server
    • Live Migration
      • Time for Action—Relocation of an Active Running domain
    • Summary

Prabhakar Chaganti

Prabhakar Chaganti is the founder and CTO of Ylastic, a start-up that is building a single unified interface to architect, manage, and monitor a user's entire AWS Cloud computing environment: EC2, S3, RDS, AutoScaling, ELB, Cloudwatch, SQS, and SimpleDB. He is the author of Xen Virtualization and GWT Java AJAX Programming, and is also the winner of the community choice award for the most innovative virtual appliance in the VMware Global Virtual Appliance Challenge. He hangs out on Twitter as @pchaganti.

Read about his tips on time management...

Sorry, we don't have any reviews for this title yet.

Sample chapters

You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

Find your book in our support section to find errata and to download code samples.

What you will learn from this book

  • 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

Special Offers

PacktLib gives you access to this and 600+ other titles with an annual or monthly subscription.

Annual subscription:

$220.00 per annum

Monthly subscription:

$21.99 per month

Buy 2 eBooks
and Get 50% Off
+
Buy Xen Virtualization with Linux Shell Scripting Cookbook and get 50% off both the eBooks.
Just add both the eBooks to your shopping cart and enter xenssebk in the 'Enter Promotion Code' field. Click 'Add Promotion Code' and the discount will be applied.
View Best Selling eBook offers

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.

 

 

A practical, solution focused book for attaining Xen nirvana

Approach

Each chapter is a collection of practical tasks that demonstrate how to achieve common virtualization tasks ou then learn how it works so that you can apply this knowledge to your Xen installation and environment.

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.

Are there no books available that are right for you at the moment? How about signing up to our newsletter to keep up to date?
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Sort A-Z