Virtualization Guide

Virtualization Guide

Red Hat Virtualization

Legal Notice

Abstract

This Guide contains information on configuring, creating and monitoring guest operating systems on Red Hat Enterprise Linux 5.1, using virsh, vmm, and xend.

If you find an error in the Red Hat Enterprise Linux Virtualization Guide, or if you have thought of a way to make this manual better, we would like to hear from you! Submit a report in Bugzilla (http://bugzilla.redhat.com/bugzilla/) against the product Red Hat Enterprise Linux and the component Virtualization_Guide.


1. Red Hat Virtualization System Architecture
2. Operating System Support
3. Hardware Support
4. Red Hat Virtualization System Requirements
5. Booting the System
6. Configuring GRUB
7. Booting a Guest Domain
8. Starting/Stopping a Domain at Boot Time
9. Configuration Files
10. Managing CPUs
11. Migrating a Domain
12. Configuring for Use on a Network
13. Securing Domain0
14. Storage
15. Managing Virtual Machines with virsh
15.1. Connecting to a Hypervisor
15.2. Creating a Virtual Machine
15.3. Configuring an XML Dump
15.4. Suspending a Virtual Machine
15.5. Resuming a Virtual Machine
15.6. Saving a Virtual Machine
15.7. Restoring a Virtual Machine
15.8. Shutting Down a Virtual Machine
15.9. Rebooting a Virtual Machine
15.10. Terminating a Domain
15.11. Converting a Domain Name to a Domain ID
15.12. Converting a Domain ID to a Domain Name
15.13. Converting a Domain Name to a UUID
15.14. Displaying Virtual Machine Information
15.15. Displaying Node Information
15.16. Displaying the Virtual Machines
15.17. Displaying Virtual CPU Information
15.18. Configuring Virtual CPU Affinity
15.19. Configuring Virtual CPU Count
15.20. Configuring Memory Allocation
15.21. Configuring Maximum Memory
15.22. Managing Virtual Networks
16. Managing Virtual Machines Using xend
17. Managing Virtual Machines with Virtual Machine Manager
17.1. Virtual Machine Manager Architecture
17.2. The Open Connection Window
17.3. Virtual Machine Manager Window
17.4. Virtual Machine Details Window
17.5. Virtual Machine Graphical Console
17.6. Starting the Virtual Machine Manager
17.7. Creating a New Virtual Machine
17.8. Restoring A Saved Machine
17.9. Displaying Virtual Machine Details
17.10. Configuring Status Monitoring
17.11. Displaying Domain ID
17.12. Displaying Virtual Machine Status
17.13. Displaying Virtual CPUs
17.14. Displaying CPU Usage
17.15. Displaying Memory Usage
17.16. Managing a Virtual Network
17.17. Creating a Virtual Network
18. Red Hat Virtualization Troubleshooting
18.1. Logfile Overview and Locations
18.2. Logfile Descriptions
18.3. Important Directory Locations
18.4. Troubleshooting Tools
18.5. Troubleshooting with the Logs
18.6. Troubleshooting with the Serial Console
18.7. Paravirtualized Guest Console Access
18.8. Full Virtualization Guest Console Access
18.9. Implementing Lun Persistence
18.10. SELinux Considerations
18.11. Accessing Data on Guest Disk Image
18.12. Common Troubleshooting Situations
18.13. Loop Device Errors
18.14. Guest Creation Errors
18.15. Serial Console Errors
18.16. Network Bridge Errors
18.17. Laptop Configurations
18.18. Starting Domains Automatically During System Boot
18.19. Modifying Domain0
18.20. Guest Configuration Files
18.21. Cloning the Guest Configuration Files
18.22. Creating a Script to Generate MAC Addresses
18.23. Configuring Virtual Machine Live Migration
18.24. Interpreting Error Messages
18.25. Online Troubleshooting Resources
19. Additional Resources
19.1. Useful Websites
19.2. Installed Documentation
A. Lab 1
B. Lab 2

Note: This documentation is provided {and copyrighted} by Red Hat®, Inc. and is released via the Open Publication License. The copyright holder has added the further requirement that Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder. The CentOS project redistributes these original works (in their unmodified form) as a reference for CentOS-5 because CentOS-5 is built from publicly available, open source SRPMS. The documentation is unmodified to be compliant with upstream distribution policy. Neither CentOS-5 nor the CentOS Project are in any way affiliated with or sponsored by Red Hat®, Inc.