Start reading The Book of Xen on your Kindle in under a minute. Don't have a Kindle? Get your Kindle here or start reading now with a free Kindle Reading App.

Deliver to your Kindle or other device


Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Sorry, this item is not available in
Image not available for
Image not available

The Book of Xen: A Practical Guide for the System Administrator [Kindle Edition]

Chris Takemura , Luke S. Crawford

Print List Price: £33.50
Kindle Price: £31.07 includes VAT* & free wireless delivery via Amazon Whispernet
You Save: £2.43 (7%)
* Unlike print books, digital books are subject to VAT.

Free Kindle Reading App Anybody can read Kindle books—even without a Kindle device—with the FREE Kindle app for smartphones, tablets and computers.

To get the free app, enter your e-mail address or mobile phone number.


Amazon Price New from Used from
Kindle Edition £31.07  
Paperback £33.50  
Kindle Delivers Sign-up to receive email updates and get a Free Kindle Book

Book Description

Xen, the open source virtualization tool, is a system administrator's dream. Xen is a free, high-performance virtual machine monitor that lets you consolidate your hardware and finally put those unused cycles to use—without sacrificing reliability, performance, or scalability.

The Book of Xen explains everything you need to know in order to use Xen effectively, including installation, networking, memory management, and virtualized storage. You'll also learn how to use Xen and standard Linux tools to take snapshot backups, perform QoS operations on network traffic, and limit over-aggressive disk users.

Authors Chris Takemura and Luke S. Crawford show you how to:

  • Provide virtual hosting for dozens of users, each with their own individual needs
  • Install and manage multiple guests, including various flavors of Linux, NetBSD, Solaris, and Windows
  • Choose the right virtual storage options for your needs
  • Migrate your systems seamlessly and create new images
  • Tune and benchmark your systems to make them as fast as possible
  • Troubleshoot Xen's most common problems like network and memory management

Expert advice is priceless when it comes to running a complicated open source virtualization technology like Xen. You'll get the advice you need in The Book of Xen.

Product Description

About the Author

Chris Takemura is a recent graduate, occasional Xen consultant, and itinerant writer. He is currently working on a Xen hosting venture at and biking about the Bay Area.

Luke S. Crawford has been working with virtualization since before it was cool, selling virtual servers based on FreeBSD jails before diving headfirst into Xen. He is currently a Xen consultant, working on corporate server consolidation in a Fortune 100 corporate environment and works on a Xen hosting venture at

Product details

  • Format: Kindle Edition
  • File Size: 1289 KB
  • Print Length: 312 pages
  • Simultaneous Device Usage: Unlimited
  • Publisher: No Starch Press; 1 edition (2 Nov. 2009)
  • Sold by: Amazon Media EU S.à r.l.
  • Language: English
  • ASIN: B002ZB26B8
  • Text-to-Speech: Enabled
  • X-Ray:
  • Word Wise: Not Enabled
  • Amazon Bestsellers Rank: #629,170 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?

More About the Author

Discover books, learn about writers, and more.

Customer Reviews

There are no customer reviews yet on
5 star
4 star
3 star
2 star
1 star
Most Helpful Customer Reviews on (beta) 4.4 out of 5 stars  8 reviews
21 of 22 people found the following review helpful
5.0 out of 5 stars Awesome book, gets right to the point 28 Oct. 2009
By Dean Mao - Published on
I've read this book as well, and I can say I absolutely LOVE it. I'm not sure if I agree with the other reviewer's analysis of the book, it seems like he comes from a non-technical background and prefers to want to know all the reasoning behind certain ways to do a proper Xen setup. I've been using Xen for the last 1.5 years and I can say this book is absolutely essential for anyone using Xen on 2 or more computers. I own a mini cloud with my own miniature cluster of Xen instances (roughly 60 virtual machines), and it's hard to get things right if you're unfamiliar with all the tools that Xen offers. For example, "The Book of Xen" makes it easy and straightforward for doing backups using LVM, with everything down to the exact command needed to run at the prompt.

It also has a great chapter on running Xen on alternative operating systems like Solaris. It took me about 10 hours of searching through tutorials on the net to figure out how to get Solaris to properly install on a Xen instance. I'm using OpenSolaris on Xen for my personal home backups so that they can run on the popular ZFS filesystem using raidz. The tutorials on the internet are mostly wrong and incomplete, but the step by step instructions in the book made it quite easy.

I also loved the chapter on Xen migration, something I've been doing pretty poorly and haphazardly using various scripts of my own. Although I'm pretty confident at the Linux command line, there are a few things I didn't know about how to run a proper Xen migration. I especially liked the section about live migration -- most of my friends running Xen on their colocated servers don't know this subject well and could probably learn a thing or two by reading this chapter.

There's also a cool chapter on running Windows XP on Xen. I've been trying to get multiple XP instances running under my Xen infrastructure so that I could run my Selenium integration test suite under a native IE8 web browser, but so far it has been really hard. I'm really happy the book distills the painful parts of the set up process in just one chapter.

Most of the time Xen "just works", but I'm glad the book has a good chapter on troubleshooting Xen issues. I've run into a bunch of these issues when trying to boot my OpenSolaris instance under Xen and without the book's troubleshooting recommendations, I probably would have been stuck for hours on the problem.

This book is great for anyone who just wants to get things done, it's not a book to learn about the internals of Xen. I'd recommend Mr R. Kolodziej to buy a book about basic Linux system administration before reading "The Book of Xen". Anyone installing xen-tools on Debian will probably know what their doing and will be the perfect reader for this book. If you don't know Linux well enough, I would recommend reading Mr Nemeth's well regarded "Linux Administration Handbook" before reading this one.
10 of 10 people found the following review helpful
5.0 out of 5 stars Take Xen to a new level with this practical book 6 Feb. 2010
By Richard Bejtlich - Published on
The Book of Xen (TBOX) is a great book for Linux system administrators who want to deploy Xen. The authors ground their recommendations in over four years of experience running Xen to support Internet-facing virtual private servers. I found their writing style to be very engaging; it reminded me of reading any one of Michael Lucas' No Starch books. If you know your way around Linux and want to deploy Xen in production, TBOX is the book for you.

About two years ago I read and reviewed Professional Xen Virtualization by William Von Hagen. That book spends more time guiding the reader through the concept of virtualization, and tends to cover system administration from a wider angle than TBOX. In contrast, TBOX treats the reader more as a professional sys admin who wants to apply his or her skill set to Xen. TBOX does spend some time discussing Xen internals, and I found the depth of that discussion just right for this book. Other books discuss Xen internals to a greater degree, so there was no need to repeat material here.

TBOX does tend to focus on running Linux domU on a Linux dom0. This is not surprising given the lesser maturity and popularity of other options, specifically as dom0. Ch 8 does cover Solaris and NetBSD, and Ch 13 is devoted to Windows as domU. As support for Xen matures I expect a second edition of TBOX to address other combinations of operating systems as dom0 and domU.

TBOX is unique thanks to the sections on profiling and benchmarking (Ch 10), "tips" (Ch 14), and troubleshooting (Ch 15). I appreciate when authors of technical books share lessons and tricks from their own shops. I am also a big fan of their writing style and attempts at humor. This could easily have been a very dry technical book, but TBOX is entertaining from the start. Great work!
6 of 6 people found the following review helpful
5.0 out of 5 stars Great Book 19 Jan. 2010
By Andrei Mouravski - Published on
Most Xen documentation on the Internet can be a tad focused on the single-computer, single-admin personal-use xen administration case. This book, thankfully, is not.This is definitely the book to keep on your shelf if you require tips and tricks for setting up your own VPS hosting service, with its world full of malevolent users needing to be kept in their place, quotas for bandwidth, disk I/O, CPU time, and memory usage, and allowing your users to configure their own instances without you having to step in every time they blow out their /boot partitions.

There are plenty of concepts covered in here for other use-cases (besides just hosting your own VPS provider) as well, including remote-mounting disks over NFS/iSCSI/AoE, migrating live Xen instances across a cluster of servers, and backing up disk images and machine states.

The Book of Xen provides a fair and balanced view of Xen management; that is to say, while it it does talk often about the many distro-specific ways of easily bootstrapping and configuring a new virtual server (like Debian's debootsrap, Red Hat's virt-install, or even creating images in Citrix XenServer) it also covers vendor and distro-neutral ways of performing all the required installation and management tasks. The Book of Xen is also fair in that it also goes on to describe the use and configuration of Microsoft, BSD, and Solaris Xen dom0 and domUs as well, with the caveat that support for Xen is weak and upcoming on such platforms as FreeBSD, and that HVM is required for many of these more exotic operating systems like "Microsoft Windows", as there are no Xen hooks in the Windows kernel.

I particularly liked the Book of Xen's first chapter, which, unrelated to the rest of the book's sysadmin-oriented content, was a good overview of the technical underpinnings of the Xen hypervisor platform, and how it interacts with the hardware and virtualized machines from a very low-level perspective. As it is stated later in the book, and something that I agree with, the authors believe that one must know a technology, how it works, and its more basic manual and command line tools, before ever trusting a GUI or web interface to do the same. It will also surely aid debugging later when something goes wrong, as the administrator will have a good idea as to where the problem might lie.

All in all, I liked the book and would recommend it to anyone setting up their own Xen servers, however, I wished it would have had more information about Xen on the Intel Itanium (which is touched upon in the book as being a supported platform, but not talked about further) and I wish it had talked more about some of the topics they covered, like giving users access to their own xen management consoles, in the common situation where there are many physical machines that a user's instance could be on, a situation which completely broke their offered solutions for this situation and others.
2 of 2 people found the following review helpful
5.0 out of 5 stars An excellent book 21 Dec. 2010
By J. Linoff - Published on
Format:Paperback|Verified Purchase
This is an excellent book and I highly recommend it.

I am a Xen newbie who has spent the last few weeks reading scores of web pages, source code and PDF files to understand it in detail. Unfortunately I found it challenging to tie everything together because the information was fragmented.

For example, I wanted to figure how to setup fully automated hypervisor+dom0 PXE/TFTP network booting using answerfiles and kickstarts. There were a number of examples on the web including one in the official XCP installation manual but none of them explained how to troubleshoot problems (like VNC not working) and none of them were complete which had me sending a lot of email to the xen users group asking for help. I eventually got it working (with help) but it took more time than necessary.

BTW, the Xen users group folks were very helpful and I strongly recommend them as a resource but I digress...

While searching for help I found this book on Amazon and bought it based on the table of contents. I just finished reading it and was very impressed. The book did a great job of pulling together the disparate pieces of information that I had found on the web as well as introducing concepts that I didn't know much about (like para-virtualized drivers for HVMs, cobbler and where xen/xend log files live). The book was well organized, the writing style flowed well and the examples were very good.

This book is about the Xen Hypervisor so it doesn't talk about XCI or XCP. It also does not discuss Xen 4.0 because that came out after it was published but that is not a problem because the basic concepts and terminology are the same. It does talk about Citrix XenServer in some detail which is helpful to compare/contrast the Citrix approach.

If you are interested in learning how to work with Xen from a practical perspective, this is the book for you.

Note that I am not qualified to comment on how useful it is for experienced Xen administrators.
2 of 2 people found the following review helpful
5.0 out of 5 stars A core addition to any technology collection 11 Jan. 2010
By Midwest Book Review - Published on
The less you pay, the more you can get. "The Book of Xen: A Practical Guide for the System Administrator" is a guide to the open source tool known as Xen. For administrators, Xen can prove to be a solid back up tool that will allow access for many in your company, no matter what operating system they use, while being easy to manage. With plenty of troubleshooting tips, Chris Takemura & Luke S. Crawford prove their expertise by giving the complete and comprehensive instruction manual that the program does not have. For anyone who wants to get the most out of free, "The Book of Xen" is a core addition to any technology collection.
Were these reviews helpful?   Let us know

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
First post:
Prompts for sign-in

Search Customer Discussions
Search all Amazon discussions

Look for similar items by category