Jump To Close Expand all Collapse all Table of contents Virtualization Guide Preface Expand section "Preface" Collapse section "Preface" 1. About this book Expand section "1. About this book" Collapse section "1. About this book" 1.1. Overview 2. What is Virtualization? 3. Types of Virtualization Expand section "3. Types of Virtualization" Collapse section "3. Types of Virtualization" 3.1. Full Virtualization 3.2. Para-Virtualization 3.3. Para-virtualized drivers 4. How CIOs should think about virtualization I. Requirements and Limitations for Virtualization with Red Hat Enterprise Linux Expand section "I. Requirements and Limitations for Virtualization with Red Hat Enterprise Linux" Collapse section "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 Expand section "4. Hyper-V restrictions and support" Collapse section "4. Hyper-V restrictions and support" 4.1. Hyper-V drivers 5. Virtualization limitations Expand section "5. Virtualization limitations" Collapse section "5. Virtualization limitations" 5.1. General limitations for virtualization 5.2. KVM limitations 5.3. Xen limitations 5.4. Application limitations II. Installation Expand section "II. Installation" Collapse section "II. Installation" 6. Installing the virtualization packages Expand section "6. Installing the virtualization packages" Collapse section "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 Expand section "7. Guest installation overview" Collapse section "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 Expand section "8. Guest operating system installation procedures" Collapse section "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 III. Configuration Expand section "III. Configuration" Collapse section "III. Configuration" 9. Virtualized storage devices Expand section "9. Virtualized storage devices" Collapse section "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 Expand section "10. Network Configuration" Collapse section "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 Expand section "11. Pre-Red Hat Enterprise Linux 5.4 Xen networking" Collapse section "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 Expand section "12. Xen Para-virtualized Drivers" Collapse section "12. Xen Para-virtualized Drivers" 12.1. System requirements 12.2. Para-virtualization Restrictions and Support 12.3. Installing the Para-virtualized Drivers Expand section "12.3. Installing the Para-virtualized Drivers" Collapse section "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 Expand section "12.5. Additional Para-virtualized Hardware Configuration" Collapse section "12.5. Additional Para-virtualized Hardware Configuration" 12.5.1. Virtualized Network Interfaces 12.5.2. Virtual Storage Devices 13. KVM Para-virtualized Drivers Expand section "13. KVM Para-virtualized Drivers" Collapse section "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. Installing Red Hat Enterprise Linux 6 as a Xen guest on Red Hat Enterprise Linux 5 Expand section "14. Installing Red Hat Enterprise Linux 6 as a Xen guest on Red Hat Enterprise Linux 5" Collapse section "14. Installing Red Hat Enterprise Linux 6 as a Xen guest on Red Hat Enterprise Linux 5" 14.1. Installing Red Hat Enterprise Linux 6 as a Xen para-virtualized guest on Red Hat Enterprise Linux 5 Expand section "14.1. Installing Red Hat Enterprise Linux 6 as a Xen para-virtualized guest on Red Hat Enterprise Linux 5" Collapse section "14.1. Installing Red Hat Enterprise Linux 6 as a Xen para-virtualized guest on Red Hat Enterprise Linux 5" 14.1.1. Using virt-install 14.1.2. Using virt-manager 14.2. Installing Red Hat Enterprise Linux 6 as a Xen fully virtualized guest on Red Hat Enterprise Linux 5 15. PCI passthrough Expand section "15. PCI passthrough" Collapse section "15. PCI passthrough" 15.1. Adding a PCI device with virsh 15.2. Adding a PCI device with virt-manager 15.3. PCI passthrough with virt-install 15.4. Removing a PCI passthrough device for host re-use 15.5. PCI passthrough for para-virtualized Xen guests on Red Hat Enterprise Linux 16. SR-IOV Expand section "16. SR-IOV" Collapse section "16. SR-IOV" 16.1. Introduction 16.2. Using SR-IOV 16.3. Troubleshooting SR-IOV 17. KVM guest timing management IV. Administration Expand section "IV. Administration" Collapse section "IV. Administration" 18. Server best practices 19. Security for virtualization Expand section "19. Security for virtualization" Collapse section "19. Security for virtualization" 19.1. Storage security issues 19.2. SELinux and virtualization 19.3. SELinux 19.4. Virtualization firewall information 20. Managing guests with xend 21. Xen live migration Expand section "21. Xen live migration" Collapse section "21. Xen live migration" 21.1. A live migration example 21.2. Configuring guest live migration 22. KVM live migration Expand section "22. KVM live migration" Collapse section "22. KVM live migration" 22.1. Live migration requirements 22.2. Share storage example: NFS for a simple migration 22.3. Live KVM migration with virsh 22.4. Migrating with virt-manager 23. Remote management of guests Expand section "23. Remote management of guests" Collapse section "23. Remote management of guests" 23.1. Remote management with SSH 23.2. Remote management over TLS and SSL 23.3. Transport modes V. Virtualization Storage Topics Expand section "V. Virtualization Storage Topics" Collapse section "V. Virtualization Storage Topics" 24. Using shared storage with virtual disk images Expand section "24. Using shared storage with virtual disk images" Collapse section "24. Using shared storage with virtual disk images" 24.1. Using iSCSI for storing virtual disk images Expand section "24.1. Using iSCSI for storing virtual disk images" Collapse section "24.1. Using iSCSI for storing virtual disk images" 24.1.1. How to set up an iSCSI target on Red Hat Enterprise Linux 24.1.2. How to configure iSCSI on a libvirt KVM host and provision a guest using virt-install VI. Virtualization Reference Guide Expand section "VI. Virtualization Reference Guide" Collapse section "VI. Virtualization Reference Guide" 25. Virtualization tools 26. Managing guests with virsh 27. Managing guests with the Virtual Machine Manager (virt-manager) Expand section "27. Managing guests with the Virtual Machine Manager (virt-manager)" Collapse section "27. Managing guests with the Virtual Machine Manager (virt-manager)" 27.1. The Add Connection window 27.2. The Virtual Machine Manager main window 27.3. The guest Overview tab 27.4. Virtual Machine graphical console 27.5. Starting virt-manager 27.6. Restoring a saved machine 27.7. Displaying guest details 27.8. Status monitoring 27.9. Displaying guest identifiers 27.10. Displaying a guest's status 27.11. Displaying virtual CPUs 27.12. Displaying CPU usage 27.13. Displaying memory usage 27.14. Managing a virtual network 27.15. Creating a virtual network 28. The xm command quick reference 29. Configuring the Xen kernel boot parameters 30. Configuring ELILO 31. libvirt configuration reference 32. Xen configuration files VII. Tips and Tricks Expand section "VII. Tips and Tricks" Collapse section "VII. Tips and Tricks" 33. Tips and tricks Expand section "33. Tips and tricks" Collapse section "33. Tips and tricks" 33.1. Automatically starting guests 33.2. Changing between the KVM and Xen hypervisors Expand section "33.2. Changing between the KVM and Xen hypervisors" Collapse section "33.2. Changing between the KVM and Xen hypervisors" 33.2.1. Xen to KVM 33.2.2. KVM to Xen 33.3. Using qemu-img 33.4. Overcommitting Resources 33.5. Modifying /etc/grub.conf 33.6. Verifying virtualization extensions 33.7. Accessing data from a guest disk image 33.8. Setting KVM processor affinities 33.9. Generating a new unique MAC address 33.10. Limit network bandwidth for a Xen guest 33.11. Configuring Xen processor affinities 33.12. Modifying the Xen hypervisor 33.13. Very Secure ftpd 33.14. Configuring LUN Persistence 33.15. Disable SMART disk monitoring for guests 33.16. Cleaning up old Xen configuration files 33.17. Configuring a VNC Server 33.18. Cloning guest configuration files 33.19. Duplicating an existing guest and its configuration file 34. Creating custom libvirt scripts Expand section "34. Creating custom libvirt scripts" Collapse section "34. Creating custom libvirt scripts" 34.1. Using XML configuration files with virsh VIII. Troubleshooting Expand section "VIII. Troubleshooting" Collapse section "VIII. Troubleshooting" 35. Troubleshooting Xen Expand section "35. Troubleshooting Xen" Collapse section "35. Troubleshooting Xen" 35.1. Debugging and troubleshooting Xen 35.2. Log files overview 35.3. Log file descriptions 35.4. Important directory locations 35.5. Troubleshooting with the logs 35.6. Troubleshooting with the serial console 35.7. Para-virtualized guest console access 35.8. Fully virtualized guest console access 35.9. Common Xen problems 35.10. Guest creation errors 35.11. Troubleshooting with serial consoles Expand section "35.11. Troubleshooting with serial consoles" Collapse section "35.11. Troubleshooting with serial consoles" 35.11.1. Serial console output for Xen 35.11.2. Xen serial console output from para-virtualized guests 35.11.3. Serial console output from fully virtualized guests 35.12. Xen configuration files 35.13. Interpreting Xen error messages 35.14. The layout of the log directories 36. Troubleshooting Expand section "36. Troubleshooting" Collapse section "36. Troubleshooting" 36.1. Identifying available storage and partitions 36.2. After rebooting Xen-based guests the console freezes 36.3. Virtualized Ethernet devices are not found by networking tools 36.4. Loop device errors 36.5. Failed domain creation caused by a memory shortage 36.6. Wrong kernel image error 36.7. Wrong kernel image error - non-PAE kernel on a PAE platform 36.8. Fully-virtualized 64 bit guest fails to boot 36.9. A missing localhost entry causes virt-manager to fail 36.10. Microcode error during guest boot 36.11. Python depreciation warning messages when starting a virtual machine 36.12. Enabling Intel VT and AMD-V virtualization hardware extensions in BIOS 36.13. KVM networking performance 37. Troubleshooting the Xen para-virtualized drivers Expand section "37. Troubleshooting the Xen para-virtualized drivers" Collapse section "37. Troubleshooting the Xen para-virtualized drivers" 37.1. Red Hat Enterprise Linux 5 Virtualization log file and directories 37.2. Para-virtualized guest fail to load on a Red Hat Enterprise Linux 3 guest operating system 37.3. A warning message is displayed while installing the para-virtualized drivers on Red Hat Enterprise Linux 3 37.4. Manually loading the para-virtualized drivers 37.5. Verifying the para-virtualized drivers have successfully loaded 37.6. The system has limited throughput with para-virtualized drivers A. Additional resources Expand section "A. Additional resources" Collapse section "A. Additional resources" A.1. Online resources A.2. Installed documentation B. Colophon Legal Notice Settings Close Language: Deutsch Español English Русский Português 한국어 日本語 Italian Français 繁體中文 简体中文 Language: Deutsch Español English Русский Português 한국어 日本語 Italian Français 繁體中文 简体中文 Format: Multi-page Single-page PDF Format: Multi-page Single-page PDF Language and Page Formatting Options Language: Deutsch Español English Русский Português 한국어 日本語 Italian Français 繁體中文 简体中文 Language: Deutsch Español English Русский Português 한국어 日本語 Italian Français 繁體中文 简体中文 Format: Multi-page Single-page PDF Format: Multi-page Single-page PDF Red Hat Training A Red Hat training course is available for Red Hat Enterprise Linux Part II. Installation Virtualization installation topics These chapters describe setting up the host and installing guests with Red Hat Enterprise Linux. Previous Next