did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9780132349666

Running Xen A Hands-On Guide to the Art of Virtualization

by ; ; ; ; ; ;
  • ISBN13:

    9780132349666

  • ISBN10:

    0132349663

  • Edition: 1st
  • Format: Paperback
  • Copyright: 2008-04-06
  • Publisher: Prentice Hall
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $59.99

Summary

"This accessible and immediately useful book expertly provides the Xen community with everything it needs to know to download, build, deploy and manage Xen implementations." -Ian Pratt, Xen Project Leader VP Advanced Technology, Citrix Systems The RealWorld, 100% Practical Guide to Xen Virtualization in Production Environments Using free, open source Xen virtualization software, you can save money, gain new flexibility, improve utilization, and simplify everything from disaster recovery to software testing. Running Xen brings together all the knowledge you need to create and manage highperformance Xen virtual machines in any environment. Drawing on the unparalleled experience of a worldclass Xen team, it covers everything from installation to administration-sharing field-tested insights, best practices, and case studies you can find nowhere else. The authors begin with a primer on virtualization: its concepts, uses, and advantages. Next, they tour Xenrs"s capabilities, explore the Xen LiveCD, introduce the Xen hypervisor, and walk you through configuring your own harddiskbased Xen installation. After yours"re running, they guide you through each leading method for creating "guests" and migrating existing systems to run as Xen guests. Then they offer comprehensive coverage of managing and securing Xen guests, devices, networks, and distributed resources. Whether yours"re an administrator, data center manager, developer, system integrator, or ISP, Running Xen will help you achieve your goals with Xenreliably, efficiently, with outstanding performance, and at a surprisingly low cost. bull;Understanding the Xen hypervisor: what it does, and how it works bull;Using pre-built system images, including compressed file systems bull;Managing domains with the xm console bull;Populating and storing guest images bull;Planning, designing, and configuring networks in Xen bull;Utilizing Xen security: special purpose VMs, virtual network segments, remote access, firewalls, network monitors, sHype access control, Xen Security Modules (XSM), and more bull;Managing guest resources: memory, CPU, and I/O bull;Employing Xen in the enterprise: tools, products, and techniques

Author Biography

Jeanna Matthews is an associate professor of Computer Science at Clarkson University (Potsdam, New York) where she leads several hands-on computing laboratories including the Clarkson Open Source Institute and Clarkson Internet Teaching Laboratory. Students in these labs and in her classes have been winners in a number of prestigious computing contests including the 2001, 2002, and 2004 IBM Linux Challenge, the 2005 IBM North American Grid Scholar’s Challenge, the 2005 Unisys Tuxmaster competition, and the 2006 VMware Ultimate Virtual Appliance Challenge. Her research interests include virtualization, operating systems, computer networks, and computer security. She is actively involved in the Association for Computing Machinery as treasurer of the Special Interest Group on Operating Systems, editor of Operating Systems Review, and is a member of the Executive Committee ACM’s U.S. Public Policy Committee, US-ACM. She is also the author of a computer networking textbook, Computer Networking: Internet Protocols in Action, that has been translated into several languages. Jeanna received her Ph.D. in Computer Science from the University of California at Berkeley in 1999.

Eli M. Dow is a software engineer in IBM’s Test and Integration Center for Linux in Poughkeepsie, NY. He holds a B.S. degree in Computer Science and Psychology as well as an M.S. in Computer Science from Clarkson University. He is passionate about open source software and is an alumnus and founding member of the Clarkson Open Source Institute. His interests include virtualization, Linux systems programming, the GNOME desktop, and human-computer interaction. He is the author of numerous IBM developerWorks articles focused on Linux and open source software. Additionally, he has coauthored two books on the mainframe hypervisor z/VM, entitled Introduction to the New Mainframe: z/VM Basics and Linux for IBM System z9 and IBM zSeries. His first published experience with Xen was coauthoring an early academic paper entitled “Xen and the Art of Repeated Research.” Recently he has focused on developing highly available, enterprise customer solutions deployed on virtualized Linux using the z/VM hypervisor.

Todd Deshane expects to obtain a Ph.D. in Engineering Science from Clarkson University in 2008. He also has a Master of Science in Computer Science and a Bachelor of Science in Software Engineering from Clarkson. While at Clarkson University, he has had a variety of research publications–many involving Xen. In 2005, a project that was based on Todd’s Master’s thesis–an open source collaborative, large database explorer–won first place in the Unisys TuxMaster competition. Todd’s primary academic and research interests are in the area of operating system technologies, such as virtual machine monitors, high availability, and file systems. His doctoral dissertation focuses on using these technologies to provide desktop users with an attack-resistant experience, with automatic and autonomic recovery from viruses, worms, and adverse system modifications. During his Ph.D. years, Todd has been a teaching assistant and an IBM Ph.D. Fellowship recipient. At IBM, Todd has worked on internship projects involving Xen and IBM technologies. Todd enjoys teaching, tutoring, and helping people.

Wenjin Hu graduated from Clarkson University in 2007 with a Master’s degree of Computer Science and is currently working on his Ph.D. His Masters thesis was “A Study of the Performance Isolation Properties of Virtualization Systems.” His research field is applying virtualization techniques to operating systems and security.

Jeremy Bongio is currently a Master’s student at Clarkson University. He won second place in the Unisys Tuxmaster competition in 2005 with a project called Xenophilia, an early effort to make Xen more user friendly. He is a current member and former student director of the Clarkson Open Source Institute, where he actively learns and experiments with different kinds of virtualization.

Patrick F. Wilbur is currently pursuing graduate studies in Computer Science at Clarkson University. His interests include operating systems, systems and application security, natural language processing, and home automation. In his spare time, Patrick enjoys composing music, experimenting with amateur radio, storm chasing, and working on various electronics, software, and carpentry projects around the house. He is currently a member of the Clarkson Open Source Institute, a volunteer at the Applied Computer Science Laboratories at Clarkson University, an emergency communications volunteer, and a member of the Association for Computing Machinery.

Brendan Johnson graduated from Clarkson University in 2002 with a Bachelor’s degree in Computer Science and a minor in Mathematics. Brendan continued his education at Clarkson University and obtained a Master’s of Science in Computer Science with a thesis in quantum computing. Brendan is currently a senior software architect at Mobile Armor, a world leading “Data At Rest” encryption software company.

 

Table of Contents

Forewordp. xxi
Prefacep. xxiii
Xen-Background and Virtualization Basics
Common Uses and Benefits of Virtualization
Types of Virtualization
Emulation
Full Virtualization
Paravirtualization
Operating System Level Virtualization
Other Types of Virtualization
Overview of Virtualization Types
Virtualization Heritage
The IBM Mainframe
Virtualization on Commodity Hardware
Virtualization Extensions for x86
Xen Origins and Time Line
Other Virtualization Systems for Commodity Hardware
Emulation
Full Virtualization
Paravirtualization
Operating System Virtualization
Popular Virtualization Products
Summary
References and Further Reading
A Quick Tour with the Xen LiveCD
Running the LiveCD
Step
Downloading the LiveCD Image and Creating the CD
Choosing a Domain0 Image from the GRUB Menu
Logging In and the Desktop
Step
Creating Guests
Step
Deleting a Guest
Step
Interacting with Your Guests
Step
Testing Your Networking
Too Many Guests
Summary
References and Further Reading
The Xen Hypervisor
Xen Hypervisor
A Privileged Position
Protection Rings
Domain0
Xen Boot Options
Choosing an OS for Domain0
xend
Controlling xend
xend Logs
xend Configuration
XenStore
Summary
References and Further Reading
Hardware Requirements and Installation of Xen Domain0
Xen Domain0 Processor Requirements
Intel VT
AMD-V
HVM
Hardware Device Support and Recommendations
Disks and Controllers
Networking Devices
Graphics Devices
Power Management
Help for Unsupported Hardware
Memory Requirements
Choosing and Obtaining a Version of Xen
Open Source Distributions
Commercially Supported Options
Methods of Installing Domain0 Hosts
Common Prerequisite: The Grand Unified Boot Loader (GRUB)
Linux Distributions
OpenSUSE
CentOS
Ubuntu 98Xen from Binary Packages
Gentoo 105XenExpress
TNon-Linux Domain0 Installations
Building from Source
Summary
References and Further Reading
Using Prebuilt Guest Images
Introduction to DomU Guests
Guest Images
Operating System Kernels
Configuration Files
Working with Prebuilt Guest Images
Types of Guest Images 128Downloading Prebuilt Guest Images
Mounting and Booting Prebuilt Images
Downloading Compressed File Guest Images
Converting Images from Other Virtualization Platforms
Summary
References and Further Reading
Managing Unprivileged Domains
Introduction to the xm Utility
Prerequisites for Running the xm Utility
Generic Format of an xm Command
The xm list Subcommand
Basic List Information
Listing Information about a Specific Guest
long Option
Label Option
The xm create Subcommand
Prerequisites for xm create
Simple Examples of xm create
Guest Configuration Files
Python Format
Common Configuration Options
S-Expression (SXP) Format
Path to Configuration Files
Diagnosing Problems with Guest Creation
Dry Run
Console Output
Table of Contents provided by Publisher. All Rights Reserved.

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Excerpts

Preface PrefaceWe began using Xen in the fall of 2003 soon after reading the paper "Xen and the Art of Virtualization" published in the Symposium on Operating Systems Principles (SOSP). After attending SOSP and talking to some of the authors, Jeanna Matthews returned excited about Xen. She and her graduate operating systems course at Clarkson University decided to repeat and extend the results reported in that paper. That class included two of the coauthors for this book, Eli Dow (currently at IBM) and Todd Deshane (currently completing his Ph.D.), who were both studying for their Master's degrees at the time. In the process of repeating the results from the 2003 Xen paper, we learned a lot about running Xen--much of it the hard way! Our goal for this book was to write exactly the material we wished was available when we first started using Xen.In July 2004, we published the paper "Xen and the Art of Repeated Research," describing our experience with Xen and presenting the results we obtained repeating and extending the results. All the authors, in addition to being a part of the Fall 2003 graduate operating systems course, were also members of the Applied Computing Laboratories at Clarkson University, specifically the Clarkson Open Source Institute (COSI) and the Clarkson Internet Teaching Laboratory (ITL). These labs were founded to provide students with hands-on experience with cutting-edge computing technologies and to form a community in which everyone both learns and teaches. Other students in the labs--both graduate and undergraduate--began to use Xen as the basis for both production systems and for research projects. Through the years, we have used Xen as the basis for a number of academic papers as well as the basis of award-winning team projects. In the process, we have learned a lot about running Xen. It is our goal in this book to share this knowledge with you and to make your experience running Xen as smooth and simple as possible.The book is targeted at individuals and organizations that are deploying Xen systems. It walks the reader through the basics, from installing Xen to using prebuilt guest images. It even tells readers how to experiment with Xen using only a Xen LiveCD. It covers the basics of virtualizations and important elements of all Xen systems like the hypervisor and Domain0. It explains the details of the xm commands for managing guest domains. It helps users deploy custom guest images based on operating systems from Linux to Windows. It covers more advanced topics such as device virtualization, network configuration, security, and live migration. We hope you will find it a good mix of introductory and advanced topics that will prove useful from your first Xen deployment experiment to running production Xen systems.Chapter 1, "Xen--Background and Virtualization Basics," is a quick introduction to virtualization in general and to Xen in particular. Chapter 2, "A Quick Tour with the Xen LiveCD," provides an overview of Xen's functionalities by exploring the Xen LiveCD. Chapter 3, "The Xen Hypervisor," focuses on the hypervisor that is the core of any Xen system and some other trusted components such as Domain0 and xend . We build on that common understanding of the Xen hypervisor by concretely showing you how to install and configure your own hard-disk-based Xen installation in Chapter 4, "Hardware Requirements and Installation of Xen Domain0." After you have your own hypervisor installation up and running, this book eases you into using guest images by first showing you how to download and use images available from the Internet in Chapter 5, "Using Prebuilt Guest Images." Chapter 6, "Managing Unprivileged Domains," covers the basics of administering the running DomUs or unprivileged gues

Rewards Program