Red_Hat_Enterprise_Linux-5-Beta-Virtualization-en-US.pdf

(7081 KB) Pobierz
Red Hat Enterprise Linux 5.9 Beta Virtualization Guide
1
Red Hat Enterprise Linux 5.9
Beta
Virtualization Guide
Virtualization Documentation
Edition 5.9
2
Legal Notice
Legal Notice
Copyright © 2008–2012 Red Hat, Inc.
T he text of and illustrations in this document are licensed by Red Hat under a Creative Commons
Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at
http://creativecommons.org/licenses/by-sa/3.0/.
In accordance with CC-BY-SA, if you distribute this
document or an adaptation of it, you must provide the URL for the original version.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section
4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, JBoss, MetaMatrix, Fedora, the Infinity Logo,
and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
Linux® is the registered trademark of Linus T orvalds in the United States and other countries.
Java® is a registered trademark of Oracle and/or its affiliates.
XFS® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States
and/or other countries.
MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other
countries.
All other trademarks are the property of their respective owners.
1801 Varsity Drive
Raleigh, NC 27606-2072 USA
Phone: +1 919 754 3700
Phone: 888 733 4281
Fax: +1 919 754 3701
Red Hat Enterprise Linux 5.9 Beta Virtualization Guide
3
Abstract
T he Red Hat Enterprise Linux Virtualization Guide contains information on installation, configuring,
administering, and troubleshooting virtualization technologies included with Red Hat Enterprise Linux.
Note: T his document is under development, is subject to substantial change, and is provided only as a
preview. T he included information and instructions should not be considered complete, and should be
used with caution.
4
Table of Contents
Table of Contents
Preface
1. About this book
2. Document Conventions
2.1. T ypographic Conventions
2.2. Pull-quote Conventions
2.3. Notes and Warnings
3. We need your feedback
3.1. T echnical review requests
4. What is Virtualization?
5. T ypes of Virtualization
5.1. Full Virtualization
5.2. Para-Virtualization
5.3. Para-virtualized drivers
6. How CIOs should think about virtualization
I. Requirements and Limitations for Virtualization with Red Hat Enterprise Linux
1. System requirements
2. Xen restrictions and support
3. KVM restrictions and support
4. Hyper-V restrictions and support
4.1. Hyper-V drivers
5. Virtualization limitations
5.1. General limitations for virtualization
5.2. KVM limitations
5.3. Xen limitations
5.4. Application limitations
II. Installation
6. Installing the virtualization packages
6.1. Installing Xen with a new Red Hat Enterprise Linux installation
6.2. Installing Xen packages on an existing Red Hat Enterprise Linux system
6.3. Installing KVM with a new Red Hat Enterprise Linux installation
6.4. Installing KVM packages on an existing Red Hat Enterprise Linux system
7. Guest installation overview
7.1. Creating guests with virt-install
7.2. Creating guests with virt-manager
7.3. Installing guests with PXE
8. Guest operating system installation procedures
8.1. Installing Red Hat Enterprise Linux 5 as a para-virtualized guest
8.2. Installing Red Hat Enterprise Linux as a fully virtualized guest
8.3. Installing Windows XP as a fully virtualized guest
8.4. Installing Windows Server 2003 as a fully virtualized guest
8.5. Installing Windows Server 2008 as a fully virtualized guest
Red Hat Enterprise Linux 5.9 Beta Virtualization Guide
5
III. Configuration
9. Virtualized storage devices
9.1. Creating a virtualized floppy disk controller
9.2. Adding storage devices to guests
9.3. Configuring persistent storage in Red Hat Enterprise Linux 5
9.4. Add a virtualized CD-ROM or DVD device to a guest
10. Network Configuration
10.1. Network address translation (NAT ) with libvirt
10.2. Bridged networking with libvirt
11. Pre-Red Hat Enterprise Linux 5.4 Xen networking
11.1. Configuring multiple guest network bridges to use multiple Ethernet cards
11.2. Red Hat Enterprise Linux 5.0 laptop network configuration
12. Xen Para-virtualized Drivers
12.1. System requirements
12.2. Para-virtualization Restrictions and Support
12.3. Installing the Para-virtualized Drivers
12.3.1. Common installation steps
12.3.2. Installation and Configuration of Para-virtualized Drivers on Red Hat Enterprise
Linux 3
12.3.3. Installation and Configuration of Para-virtualized Drivers on Red Hat Enterprise
Linux 4
12.3.4. Xen Para-virtualized Drivers on Red Hat Enterprise Linux 5
12.3.5. Xen Para-virtualized Drivers on Red Hat Enterprise Linux 6
12.4. Para-virtualized Network Driver Configuration
12.5. Additional Para-virtualized Hardware Configuration
12.5.1. Virtualized Network Interfaces
12.5.2. Virtual Storage Devices
13. KVM Para-virtualized Drivers
13.1. Installing the KVM Windows para-virtualized drivers
13.2. Installing drivers with a virtualized floppy disk
13.3. Using KVM para-virtualized drivers for existing devices
13.4. Using KVM para-virtualized drivers for new devices
14. PCI passthrough
14.1. Adding a PCI device with virsh
14.2. Adding a PCI device with virt-manager
14.3. PCI passthrough with virt-install
14.4. Removing a PCI passthrough device for host re-use
14.5. PCI passthrough for para-virtualized Xen guests on Red Hat Enterprise Linux
15. SR-IOV
15.1. Introduction
15.2. Using SR-IOV
15.3. T roubleshooting SR-IOV
16. KVM guest timing management
IV. Administration
17. Server best practices
Zgłoś jeśli naruszono regulamin