Book description
This book presents you with a complete foundation on the Xen technology and shows you how Xen virtualization offers faster response times for new server and service requests, a simplified system administration for multiple systems, and better availability for critical computing resources. Packed with detailed examples of Xen configuration files, system configuration files, and system-level configuration information, this book shows you why Xen virtualization is among the leading emerging technologies on the Linux platform and is being integrated into virtually every commercial distribution.
Table of contents
- Copyright
- About the Author
- Credits
- Acknowledgments
- Introduction
-
1. Overview of Virtualization
- 1.1. What Is Virtualization?
- 1.2. Why Virtualization Today?
- 1.3. Basic Approaches to Virtual Systems
-
1.4. Advantages of Virtualization
- 1.4.1. Better Use of Existing Hardware
- 1.4.2. Reduction in New Hardware Costs
- 1.4.3. Reduction in IT Infrastructure Costs
- 1.4.4. Simplified System Administration
- 1.4.5. Increased Uptime and Faster Failure Recovery
- 1.4.6. Simplified Capacity Expansion
- 1.4.7. Simpler Support for Legacy Systems and Applications
- 1.4.8. Simplified System-Level Development
- 1.4.9. Simplified System Installation and Deployment
- 1.4.10. Simplified System and Application Testing
- 1.5. Virtualization Caveats
- 1.6. Identifying Candidates for Virtualization
- 1.7. Summary
-
2. Introduction to Xen
- 2.1. History of Xen
- 2.2. Overview of Xen and x86 Virtualization
- 2.3. Xen Domains and the Hypervisor
- 2.4. Types of Virtual Machines Supported by Xen
- 2.5. Popular Xen and Virtualization Resources on the Internet
-
2.6. Other Popular Virtualization Software
- 2.6.1. FreeVPS
- 2.6.2. Kernel Virtual Machine
- 2.6.3. Linux-VServer
- 2.6.4. Microsoft Virtual Server
- 2.6.5. OpenVZ/Virtuozzo
- 2.6.6. Parallels Workstation
- 2.6.7. paravirt ops
- 2.6.8. User-Mode Linux
- 2.6.9. Virtual Iron
- 2.6.10. VirtualBox
- 2.6.11. VMware
- 2.6.12. Win4Lin Virtual Desktop Server
- 2.6.13. XenSource
- 2.7. Popular Emulation Software
- 2.8. Summary
- 3. Obtaining and Installing Xen
-
4. Booting and Configuring a Xen Host
-
4.1. Overview of Xen and Linux System Startup
- 4.1.1. BIOS Initialization and System Startup
- 4.1.2. GRUB
- 4.1.3. The Xen Boot and Initialization Process
- 4.1.4. Loading the Kernel and Optional RAM Disk
- 4.1.5. The Linux System Startup Process
- 4.1.6. Xen-Related Startup Scripts and Processes
- 4.1.7. Capturing Xen and Linux Boot and Startup Information
- 4.2. Configuring GRUB for Xen
- 4.3. Hiding PCI Devices from domain0
- 4.4. Summary
-
4.1. Overview of Xen and Linux System Startup
-
5. Configuring and Booting Virtual Machines
- 5.1. Virtual Machine Requirements
- 5.2. Obtaining Sample Xen Filesystem Images
-
5.3. Defining and Starting a Paravirtualized VM
- 5.3.1. Creating Xen Configuration Files for Paravirtualization
- 5.3.2. Integrating Loadable Kernel Modules into Your Root Filesystem
- 5.3.3. Checking Other Configuration Files in the Root Filesystem
- 5.3.4. Creating Initial RAM Disks and Filesystems for Your Kernel
- 5.3.5. Manually Starting Paravirtualized Xen Domains
- 5.4. Defining and Starting Xen Hardware Virtual Machines
- 5.5. Automatically Starting Xen Domains at Boot Time
- 5.6. Troubleshooting Configuration Files and Guest Domains
- 5.7. Summary
-
6. Building Filesystems for Virtual Machines
- 6.1. Linux Storage and Filesystems
- 6.2. Filesystem Choices, Locations, and Flexibility
-
6.3. Building Virtual Machine Filesystems
- 6.3.1. Creating Filesystem Image Files
- 6.3.2. Creating Physical Partitions
- 6.3.3. Creating Logical Volumes
- 6.3.4. Creating a Filesystem in an Image File, Partition, or Logical Volume
- 6.3.5. Mounting an Image File, Partition, or Logical Volume
-
6.3.6. Creating Root Filesystems
- 6.3.6.1. Cloning Existing Root Filesystems
- 6.3.6.2. Using debootstrap on Debian and Ubuntu Systems
- 6.3.6.3. Using rpm and yum on Fedora, Red Hat and Similar Systems
- 6.3.6.4. Using yast2 on SUSE Linux Systems
- 6.3.6.5. Creating Root Filesystems for Use with NFS
- 6.3.6.6. Manually Creating Minimal Filesystems
- 6.4. Creating Swap Filesystems for Xen
- 6.5. Adding Applications to a Xen Root Filesystem
- 6.6. Creating and Using QEMU Disk Images
- 6.7. Summary
- 7. Managing and Monitoring Virtual Machines
-
8. Xen Networking
- 8.1. Overview of Xen Networking
- 8.2. Specifying Parameters for Xen Network Startup
- 8.3. Using Multiple Ethernet Cards with Xen
- 8.4. Virtual, Non-Routable Subnets for Xen Guests
- 8.5. Virtual LANs and Xen Guests
- 8.6. DHCP Tips for Xen Environments
- 8.7. Fine-Tuning Services on Xen Guests
- 8.8. Troubleshooting Xen Networking
- 8.9. Summary
-
9. Advanced Virtual Machine Configuration
- 9.1. domain0 and domainU Memory Management in Xen
- 9.2. Accessing New and Removable Storage in domainU Guests
- 9.3. Using Dedicated Hardware in Guest Domains
- 9.4. Working with Sound on domainU Guests
- 9.5. Time Synchronization in domainO and domainU
- 9.6. domainO and domainU Kernel and Binary Considerations
- 9.7. The Many Moods of Graphics for domainU Guests
- 9.8. Xen Lifecycle Management
- 9.9. Xen Access Control and Security Policies
- 9.10. Xen and Trusted Computing
- 9.11. Summary
-
10. Using Xen in the Data Center
- 10.1. Documenting Your Virtual Machines
- 10.2. Deploying Virtual Machines
-
10.3. Centralized Logging for Virtual Machines
- 10.3.1. Configuring syslogd or sysklogd to Receive Networked Log Messages
- 10.3.2. Configuring Networked Log Message Targets for syslogd or sysklogd
- 10.3.3. Configuring syslog-ng to Receive Networked Log Messages
- 10.3.4. Configuring Log Message Targets for syslog-ng
- 10.3.5. System Logging for Microsoft Windows Systems
- 10.4. Centralized Warning Systems for Virtual Machines
- 10.5. Backup Strategies for Xen Domains
- 10.6. Summary
-
A. xm Command and Option Reference
- A.1. addlabel: Add a Security Label to a Domain or Resource
- A.2. block-attach: Create a New Virtual Block Device
- A.3. block-configure: Change Block Device Configuration
- A.4. block-detach: Destroy a Domain's Virtual Block Device
- A.5. block-list: List Virtual Block Devices for a Domain
- A.6. cfgbootpolicy: Add Policy to Boot Configuration
- A.7. console: Attach to <Domain>'s Console
- A.8. create: Create a Domain Based on a Configuration File
- A.9. debug-keys: Send Debug Keys to Xen
- A.10. delete: Remove a Domain from xend Domain Management
- A.11. destroy: Terminate a Domain Immediately
- A.12. dmesg: Read and Optionally Clean the Xen Daemon Message Buffer
- A.13. domid: Convert a Domain Name to a Domain ID
- A.14. domname: Convert a Domain ID to a Domain Name
- A.15. dry-run: Test If a Domain Can Access Its Resources
- A.16. dump-core: Dump the Core for a Specific Domain
- A.17. dumppolicy: Print Hypervisor ACM State Information
- A.18. getlabel: Show the Security Label for a Domain or Resource
- A.19. help: Display Information about xm Subcommands
- A.20. info: Get Information about a Xen Host
- A.21. labels: List Labels for an Active Policy
- A.22. list: List Information about All or Some Domains
- A.23. loadpolicy: Load a Binary Policy Into a Hypervisor
- A.24. log: Print the xend Log
- A.25. makepolicy: Build Policy and Create .bin and .map Files
- A.26. mem-max: Set the Maximum Amount Reservation for a Domain
- A.27. mem-set: Set the Current Memory Usage for a Domain
- A.28. migrate: Migrate a Domain to Another Machine
- A.29. network-attach: Create a New Virtual Network Device
- A.30. network-detach: Destroy a Domain's Virtual Network Device
- A.31. network-list: List Virtual Network Interfaces for a Domain
- A.32. new: Add a Domain to xend Domain Management
- A.33. pause: Pause the Execution of a Domain
- A.34. reboot: Reboot a Domain
- A.35. rename: Rename a Domain
- A.36. resources: Show Information for Each Labeled Resource
- A.37. restore: Restore a Domain From a Saved State
- A.38. resume: Resume a xend Managed Domain
- A.39. rmlabel: Remove a Security Label from a Domain
- A.40. save: Save a Domain State to Restore Later
- A.41. sched-credit: Get/Set Credit Scheduler Parameters
- A.42. sched-sedf: Get/Set SEDF Scheduler Parameters
- A.43. serve: Proxy xend XML-RPC over stdio
- A.44. shell: Launch an Interactive Shell
- A.45. shutdown: Shutdown a Domain
- A.46. start: Start a xend-managed Domain
- A.47. suspend: Suspend a xend-managed Domain
- A.48. sysrq: Send a System Request to a Domain
- A.49. top: Monitor a Host and the Domains in Real Time
- A.50. trigger: Send a Trigger to a Domain
- A.51. unpause: Unpause a Paused Domain
- A.52. uptime: Print Uptime for a Domain
- A.53. vcpu-list: List the VCPUs for a Domain or All Domains
- A.54. vcpu-pin: Assign VCPUs to a CPU
- A.55. vcpu-set: Set the Number of Active VCPUs Allowed for a Domain
- A.56. vnet-create: Create a vnet from a Configuration File
- A.57. vnet-delete: Delete a vnet
- A.58. vnet-list: List vnets
- A.59. vtpm-list: List Virtual TPM Devices
- B. Xen Virtual Machine Configuration File Reference
Product information
- Title: Professional Xen® Virtualization
- Author(s):
- Release date: January 2008
- Publisher(s): Wrox
- ISBN: 9780470138113
You might also like
book
Virtualization For Dummies®
Virtualization For Dummies will provide a thorough introduction to the topic of virtualization. A reader will …
book
The Best Damn Server Virtualization Book Period
Server Sprawl and escalating IT costs have managers and system administrators scrambling to find ways to …
book
Hyper-V for VMware Administrators: Migration, Coexistence, and Management
Learn to deploy and support Hyper-V, building on what you know about VMware's vSphere. Whether you're …
book
Getting Started with Linux on Z Encryption for Data At-Rest
This IBM® Redbooks® publication provides a general explanation of data protection through encryption and IBM Z® …