Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions

  




 

 

Red Hat Enterprise Linux 6 Essentials eBook now available in PDF and ePub formats for only $9.99
RHEL 6 Essentials contains 40 chapters and over 250 pages.

Red Hat Enterprise Linux 6

Virtualization Guide

Guide to Virtualization on Red Hat Enterprise Linux 6

Edition 1

Red Hat Engineering Content Services

Legal Notice

Copyright © 2008,2009,2010 Red Hat, Inc.
The 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 Torvalds 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
 RaleighNC 27606-2072 USA
 Phone: +1 919 754 3700
 Phone: 888 733 4281
 Fax: +1 919 754 3701

Abstract
The Red Hat Enterprise Linux Virtualization Guide contains information on installation, configuring, administering, and troubleshooting virtualization technologies included with Red Hat Enterprise Linux.

Preface
1. Document Conventions
1.1. Typographic Conventions
1.2. Pull-quote Conventions
1.3. Notes and Warnings
2. We need your feedback
1. Introduction
1.1. What is virtualization?
1.2. KVM and virtualization in Red Hat Enterprise Linux
1.3. libvirt and the libvirt tools
1.4. Virtualized hardware devices
1.4.1. Virtualized and emulated devices
1.4.2. Para-virtualized drivers
1.4.3. Physically shared devices
1.5. Storage
1.6. Virtualization security features
1.7. Migration
1.8. V2V
I. Requirements and limitations
2. System requirements
3. KVM compatibility
4. Virtualization limitations
4.1. General limitations for virtualization
4.2. KVM limitations
4.3. Application limitations
II. Installation
5. Installing the virtualization packages
5.1. Installing KVM with a new Red Hat Enterprise Linux installation
5.2. Installing KVM packages on an existing Red Hat Enterprise Linux system
6. Virtualized guest installation overview
6.1. Virtualized guest prerequisites and considerations
6.2. Creating guests with virt-install
6.3. Creating guests with virt-manager
6.4. Installing guests with PXE
7. Installing Red Hat Enterprise Linux 6 as a virtualized guest
7.1. Creating a Red Hat Enterprise Linux 6 guest with local installation media
7.2. Creating a Red Hat Enterprise Linux 6 guest with a network installation tree
7.3. Creating a Red Hat Enterprise Linux 6 guest with PXE
8. Installing Red Hat Enterprise Linux 6 as a para-virtualized guest on Red Hat Enterprise Linux 5
8.1. Using virt-install
8.2. Using virt-manager
9. Installing a fully-virtualized Windows guest
9.1. Using virt-install to create a guest
9.2. Installing Windows 2003
III. Configuration
10. Network Configuration
10.1. Network Address Translation (NAT) with libvirt
10.2. Bridged networking with libvirt
11. KVM Para-virtualized Drivers
11.1. Using the para-virtualized drivers with Red Hat Enterprise Linux 3.9 guests
11.2. Installing the KVM Windows para-virtualized drivers
11.2.1. Installing the drivers on an installed Windows guest
11.2.2. Installing drivers during the Windows installation
11.3. Using KVM para-virtualized drivers for existing devices
11.4. Using KVM para-virtualized drivers for new devices
12. PCI passthrough
12.1. Adding a PCI device with virsh
12.2. Adding a PCI device with virt-manager
12.3. PCI passthrough with virt-install
13. SR-IOV
13.1. Introduction
13.2. Using SR-IOV
13.3. Troubleshooting SR-IOV
14. KVM guest timing management
IV. Administration
15. Server best practices
16. Security for virtualization
16.1. Storage security issues
16.2. SELinux and virtualization
16.3. SELinux
16.4. Virtualization firewall information
17. sVirt
17.1. Security and Virtualization
17.2. sVirt labeling
18. KVM live migration
18.1. Live migration requirements
18.2. Shared storage example: NFS for a simple migration
18.3. Live KVM migration with virsh
18.4. Migrating with virt-manager
19. Remote management of virtualized guests
19.1. Remote management with SSH
19.2. Remote management over TLS and SSL
19.3. Transport modes
20. Overcommitting with KVM
21. KSM
22. Advanced virtualization administration
22.1. Guest scheduling
22.2. Advanced memory management
22.3. Guest block I/O throttling
22.4. Guest network I/O throttling
23. Migrating to KVM from other hypervisors using virt-v2v
23.1. Preparing to convert a virtualized guest
23.2. Converting virtualized guests
23.2.1. virt-v2v
23.2.2. Converting a local Xen virtualized guest
23.2.3. Converting a remote Xen virtualized guest
23.2.4. Converting a VMware ESX virtualized guest
23.2.5. Converting a virtualized guest running Windows
23.3. Running converted virtualized guests
23.4. Configuration changes
23.4.1. Configuration changes for Linux virtualized guests
23.4.2. Configuration changes for Windows virtualized guests
24. Miscellaneous administration tasks
24.1. Automatically starting guests
24.2. Using qemu-img
24.3. Verifying virtualization extensions
24.4. Setting KVM processor affinities
24.5. Generating a new unique MAC address
24.6. Improving guest response time
24.7. Very Secure ftpd
24.8. Disable SMART disk monitoring for guests
24.9. Configuring a VNC Server
24.10. Gracefully shutting down guests
24.11. Virtual machine timer management with libvirt
V. Virtualization storage topics
25. Storage concepts
25.1. Storage pools
25.2. Volumes
26. Storage pools
26.1. Creating storage pools
26.1.1. Dedicated storage device-based storage pools
26.1.2. Partition-based storage pools
26.1.3. Directory-based storage pools
26.1.4. LVM-based storage pools
26.1.5. iSCSI-based storage pools
26.1.6. NFS-based storage pools
27. Volumes
27.1. Creating volumes
27.2. Cloning volumes
27.3. Adding storage devices to guests
27.3.1. Adding file based storage to a guest
27.3.2. Adding hard drives and other block devices to a guest
27.4. Deleting and removing volumes
28. Miscellaneous storage topics
28.1. Creating a virtualized floppy disk controller
28.2. Configuring persistent storage in Red Hat Enterprise Linux 6
28.3. Accessing data from a guest disk image
29. N_Port ID Virtualization (NPIV)
29.1. Enabling NPIV on the switch
29.1.1. Identifying HBAs in a Host System
29.1.2. Verify NPIV is used on the HBA
VI. Virtualization reference guide
30. Managing guests with virsh
31. Managing guests with the Virtual Machine Manager (virt-manager)
31.1. Starting virt-manager
31.2. The Virtual Machine Manager main window
31.3. The virtual hardware details window
31.4. Virtual Machine graphical console
31.5. Adding a remote connection
31.6. Displaying guest details
31.7. Performance monitoring
31.8. Displaying CPU usage
31.9. Displaying Disk I/O
31.10. Displaying Network I/O
31.11. Managing a virtual network
31.12. Creating a virtual network
32. libvirt configuration reference
33. Creating custom libvirt scripts
33.1. Using XML configuration files with virsh
VII. Troubleshooting
34. Troubleshooting
34.1. Debugging and troubleshooting tools
34.2. kvm_stat
34.3. Log files
34.4. Troubleshooting with serial consoles
34.5. Virtualization log files
34.6. Loop device errors
34.7. Enabling Intel VT and AMD-V virtualization hardware extensions in BIOS
34.8. KVM networking performance
A. Additional resources
A.1. Online resources
A.2. Installed documentation
Glossary
B. Revision History
C. Colophon

 
 
  Published under the terms of the Creative Commons License Design by Interspire