Jump To Close Expand all Collapse all Table of contents Virtual Machine Management Guide 1. Introduction Expand section "1. Introduction" Collapse section "1. Introduction" 1.1. Audience 1.2. Supported Virtual Machine Operating Systems 1.3. Virtual Machine Performance Parameters 1.4. Installing Supporting Components on Client Machines Expand section "1.4. Installing Supporting Components on Client Machines" Collapse section "1.4. Installing Supporting Components on Client Machines" 1.4.1. Installing Console Components Expand section "1.4.1. Installing Console Components" Collapse section "1.4.1. Installing Console Components" 1.4.1.1. Installing Remote Viewer on Red Hat Enterprise Linux 1.4.1.2. Installing Remote Viewer on Windows 1.4.2. Installing usbdk on Windows 2. Installing Red Hat Enterprise Linux Virtual Machines Expand section "2. Installing Red Hat Enterprise Linux Virtual Machines" Collapse section "2. Installing Red Hat Enterprise Linux Virtual Machines" 2.1. Creating a Virtual Machine 2.2. Starting the Virtual Machine Expand section "2.2. Starting the Virtual Machine" Collapse section "2.2. Starting the Virtual Machine" 2.2.1. Starting a Virtual Machine 2.2.2. Opening a Console to a Virtual Machine 2.2.3. Opening a Serial Console to a Virtual Machine 2.2.4. Automatically Connecting to a Virtual Machine 2.3. Enabling the Required Repositories 2.4. Installing Guest Agents and Drivers Expand section "2.4. Installing Guest Agents and Drivers" Collapse section "2.4. Installing Guest Agents and Drivers" 2.4.1. Red Hat Virtualization Guest Agents, Tools, and Drivers 2.4.2. Installing the Guest Agents and Drivers on Red Hat Enterprise Linux 3. Installing Windows Virtual Machines Expand section "3. Installing Windows Virtual Machines" Collapse section "3. Installing Windows Virtual Machines" 3.1. Creating a Virtual Machine 3.2. Starting the Virtual Machine Using the Run Once Option Expand section "3.2. Starting the Virtual Machine Using the Run Once Option" Collapse section "3.2. Starting the Virtual Machine Using the Run Once Option" 3.2.1. Installing Windows on VirtIO-Optimized Hardware 3.2.2. Opening a Console to a Virtual Machine 3.3. Installing Guest Agents and Drivers Expand section "3.3. Installing Guest Agents and Drivers" Collapse section "3.3. Installing Guest Agents and Drivers" 3.3.1. Red Hat Virtualization Guest Agents, Tools, and Drivers 3.3.2. Installing the Guest Agents, Tools, and Drivers on Windows 3.3.3. Automating Guest Additions on Windows Guests with Red Hat Virtualization Application Provisioning Tool(APT) 4. Additional Configuration Expand section "4. Additional Configuration" Collapse section "4. Additional Configuration" 4.1. Configuring Operating Systems with osinfo 4.2. Configuring Single Sign-On for Virtual Machines Expand section "4.2. Configuring Single Sign-On for Virtual Machines" Collapse section "4.2. Configuring Single Sign-On for Virtual Machines" 4.2.1. Configuring Single Sign-On for Red Hat Enterprise Linux Virtual Machines Using IPA (IdM) 4.2.2. Configuring Single Sign-On for Red Hat Enterprise Linux Virtual Machines Using Active Directory 4.2.3. Configuring Single Sign-On for Windows Virtual Machines 4.2.4. Disabling Single Sign-on for Virtual Machines 4.3. Configuring USB Devices Expand section "4.3. Configuring USB Devices" Collapse section "4.3. Configuring USB Devices" 4.3.1. Using USB Devices on a Windows Client 4.3.2. Using USB Devices on a Red Hat Enterprise Linux Client 4.4. Configuring Multiple Monitors Expand section "4.4. Configuring Multiple Monitors" Collapse section "4.4. Configuring Multiple Monitors" 4.4.1. Configuring Multiple Displays for Red Hat Enterprise Linux Virtual Machines 4.4.2. Configuring Multiple Displays for Windows Virtual Machines 4.5. Configuring Console Options Expand section "4.5. Configuring Console Options" Collapse section "4.5. Configuring Console Options" 4.5.1. Console Options Expand section "4.5.1. Console Options" Collapse section "4.5.1. Console Options" 4.5.1.1. Accessing Console Options 4.5.1.2. SPICE Console Options 4.5.1.3. VNC Console Options 4.5.1.4. RDP Console Options 4.5.2. Remote Viewer Options Expand section "4.5.2. Remote Viewer Options" Collapse section "4.5.2. Remote Viewer Options" 4.5.2.1. Remote Viewer Options 4.5.2.2. Remote Viewer Hotkeys 4.5.2.3. Manually Associating console.vv Files with Remote Viewer 4.6. Configuring a Watchdog Expand section "4.6. Configuring a Watchdog" Collapse section "4.6. Configuring a Watchdog" 4.6.1. Adding a Watchdog Card to a Virtual Machine 4.6.2. Installing a Watchdog 4.6.3. Confirming Watchdog Functionality 4.6.4. Parameters for Watchdogs in watchdog.conf 4.7. Configuring Virtual NUMA 4.8. Configuring Red Hat Satellite Errata Management for a Virtual Machine 4.9. Configuring Headless Virtual Machines 4.10. Configuring High Performance Virtual Machines, Templates, and Pools Expand section "4.10. Configuring High Performance Virtual Machines, Templates, and Pools" Collapse section "4.10. Configuring High Performance Virtual Machines, Templates, and Pools" 4.10.1. Creating a High Performance Virtual Machine, Template, or Pool Expand section "4.10.1. Creating a High Performance Virtual Machine, Template, or Pool" Collapse section "4.10.1. Creating a High Performance Virtual Machine, Template, or Pool" 4.10.1.1. Automatic High Performance Configuration Settings 4.10.1.2. IO and Emulator Threads Pinning Topology (Automatic Settings) 4.10.1.3. High Performance Icons 4.10.2. Configuring the Recommended Manual Settings Expand section "4.10.2. Configuring the Recommended Manual Settings" Collapse section "4.10.2. Configuring the Recommended Manual Settings" 4.10.2.1. Manual High Performance Configuration Settings 4.10.2.2. Pinning CPUs 4.10.2.3. Setting the NUMA Nodes and Pinning Topology 4.10.2.4. Configuring Huge Pages 4.10.2.5. Disabling KSM 5. Editing Virtual Machines Expand section "5. Editing Virtual Machines" Collapse section "5. Editing Virtual Machines" 5.1. Editing Virtual Machine Properties 5.2. Network Interfaces Expand section "5.2. Network Interfaces" Collapse section "5.2. Network Interfaces" 5.2.1. Adding a New Network Interface 5.2.2. Editing a Network Interface 5.2.3. Hot Plugging a Network Interface 5.2.4. Removing a Network Interface 5.2.5. Blacklisting Network Interfaces 5.3. Virtual Disks Expand section "5.3. Virtual Disks" Collapse section "5.3. Virtual Disks" 5.3.1. Adding a New Virtual Disk 5.3.2. Attaching an Existing Disk to a Virtual Machine 5.3.3. Extending the Available Size of a Virtual Disk 5.3.4. Hot Plugging a Virtual Disk 5.3.5. Removing a Virtual Disk from a Virtual Machine 5.3.6. Importing a Disk Image from an Imported Storage Domain 5.3.7. Importing an Unregistered Disk Image from an Imported Storage Domain 5.4. Virtual Memory Expand section "5.4. Virtual Memory" Collapse section "5.4. Virtual Memory" 5.4.1. Hot Plugging Virtual Memory 5.4.2. Hot Unplugging Virtual Memory 5.5. Hot Plugging vCPUs 5.6. Pinning a Virtual Machine to Multiple Hosts 5.7. Viewing Virtual Machines Pinned to a Host 5.8. Changing the CD for a Virtual Machine 5.9. Smart Card Authentication 6. Administrative Tasks Expand section "6. Administrative Tasks" Collapse section "6. Administrative Tasks" 6.1. Shutting Down a Virtual Machine 6.2. Suspending a Virtual Machine 6.3. Rebooting a Virtual Machine 6.4. Removing a Virtual Machine 6.5. Cloning a Virtual Machine 6.6. Updating Virtual Machine Guest Agents and Drivers Expand section "6.6. Updating Virtual Machine Guest Agents and Drivers" Collapse section "6.6. Updating Virtual Machine Guest Agents and Drivers" 6.6.1. Updating the Guest Agents and Drivers on Red Hat Enterprise Linux 6.6.2. Updating the Guest Agents and Drivers on Windows 6.7. Viewing Red Hat Satellite Errata for a Virtual Machine 6.8. Virtual Machines and Permissions Expand section "6.8. Virtual Machines and Permissions" Collapse section "6.8. Virtual Machines and Permissions" 6.8.1. Managing System Permissions for a Virtual Machine 6.8.2. Virtual Machine Administrator Roles Explained 6.8.3. Virtual Machine User Roles Explained 6.8.4. Assigning Virtual Machines to Users 6.8.5. Removing Access to Virtual Machines from Users 6.9. Snapshots Expand section "6.9. Snapshots" Collapse section "6.9. Snapshots" 6.9.1. Creating a Snapshot of a Virtual Machine 6.9.2. Using a Snapshot to Restore a Virtual Machine 6.9.3. Creating a Virtual Machine from a Snapshot 6.9.4. Deleting a Snapshot 6.10. Host Devices Expand section "6.10. Host Devices" Collapse section "6.10. Host Devices" 6.10.1. Adding a Host Device to a Virtual Machine 6.10.2. Removing Host Devices from a Virtual Machine 6.10.3. Pinning a Virtual Machine to Another Host 6.11. Affinity Groups Expand section "6.11. Affinity Groups" Collapse section "6.11. Affinity Groups" 6.11.1. Creating an Affinity Group 6.11.2. Editing an Affinity Group 6.11.3. Removing an Affinity Group 6.11.4. Affinity Groups Examples 6.11.5. Affinity Groups Troubleshooting 6.12. Affinity Labels Expand section "6.12. Affinity Labels" Collapse section "6.12. Affinity Labels" 6.12.1. Creating an Affinity Label 6.12.2. Editing an Affinity Label 6.12.3. Removing an Affinity Label 6.13. Exporting and Importing Virtual Machines and Templates Expand section "6.13. Exporting and Importing Virtual Machines and Templates" Collapse section "6.13. Exporting and Importing Virtual Machines and Templates" 6.13.1. Exporting a Virtual Machine to the Export Domain 6.13.2. Exporting a Virtual Machine to a Data Domain 6.13.3. Importing a Virtual Machine from the Export Domain 6.13.4. Importing a Virtual Machine from a VMware Provider 6.13.5. Exporting a Virtual Machine to a Host 6.13.6. Importing a Virtual Machine from a Host 6.13.7. Importing a Virtual Machine from a RHEL 5 Xen Host 6.13.8. Importing a Virtual Machine from a KVM Host 6.13.9. Importing a Red Hat KVM Guest Image 6.14. Migrating Virtual Machines Between Hosts Expand section "6.14. Migrating Virtual Machines Between Hosts" Collapse section "6.14. Migrating Virtual Machines Between Hosts" 6.14.1. Live Migration Prerequisites 6.14.2. Optimizing Live Migration 6.14.3. Guest Agent Hooks 6.14.4. Automatic Virtual Machine Migration 6.14.5. Preventing Automatic Migration of a Virtual Machine 6.14.6. Manually Migrating Virtual Machines 6.14.7. Setting Migration Priority 6.14.8. Canceling Ongoing Virtual Machine Migrations 6.14.9. Event and Log Notification upon Automatic Migration of Highly Available Virtual Servers 6.15. Migrating virtual machines between Red Hat Virtualization environments 6.16. Improving Uptime with Virtual Machine High Availability Expand section "6.16. Improving Uptime with Virtual Machine High Availability" Collapse section "6.16. Improving Uptime with Virtual Machine High Availability" 6.16.1. What is High Availability? 6.16.2. High Availability Considerations 6.16.3. Configuring a Highly Available Virtual Machine 6.17. Other Virtual Machine Tasks Expand section "6.17. Other Virtual Machine Tasks" Collapse section "6.17. Other Virtual Machine Tasks" 6.17.1. Enabling SAP Monitoring 6.17.2. Configuring Red Hat Enterprise Linux 5.4 and later Virtual Machines to use SPICE Expand section "6.17.2. Configuring Red Hat Enterprise Linux 5.4 and later Virtual Machines to use SPICE" Collapse section "6.17.2. Configuring Red Hat Enterprise Linux 5.4 and later Virtual Machines to use SPICE" 6.17.2.1. Installing and Configuring QXL Drivers 6.17.2.2. Configuring a Virtual Machine’s Tablet and Mouse to use SPICE 6.17.3. KVM Virtual Machine Timing Management 7. Templates Expand section "7. Templates" Collapse section "7. Templates" 7.1. Sealing Virtual Machines in Preparation for Deployment as Templates Expand section "7.1. Sealing Virtual Machines in Preparation for Deployment as Templates" Collapse section "7.1. Sealing Virtual Machines in Preparation for Deployment as Templates" 7.1.1. Sealing a Linux Virtual Machine for Deployment as a Template 7.1.2. Sealing a Windows Virtual Machine for Deployment as a Template Expand section "7.1.2. Sealing a Windows Virtual Machine for Deployment as a Template" Collapse section "7.1.2. Sealing a Windows Virtual Machine for Deployment as a Template" 7.1.2.1. Prerequisites for Sealing a Windows Virtual Machine 7.1.2.2. Sealing a Windows 7, Windows 2008, or Windows 2012 Virtual Machine for Deployment as Template 7.2. Creating a Template 7.3. Editing a Template 7.4. Deleting a Template 7.5. Exporting Templates Expand section "7.5. Exporting Templates" Collapse section "7.5. Exporting Templates" 7.5.1. Migrating Templates to the Export Domain 7.5.2. Copying a Template’s Virtual Hard Disk 7.6. Importing Templates Expand section "7.6. Importing Templates" Collapse section "7.6. Importing Templates" 7.6.1. Importing a Template into a Data Center 7.6.2. Importing a Virtual Disk from an OpenStack Image Service as a Template 7.7. Templates and Permissions Expand section "7.7. Templates and Permissions" Collapse section "7.7. Templates and Permissions" 7.7.1. Managing System Permissions for a Template 7.7.2. Template Administrator Roles Explained 7.7.3. Assigning an Administrator or User Role to a Resource 7.7.4. Removing an Administrator or User Role from a Resource 7.8. Using Cloud-Init to Automate the Configuration of Virtual Machines Expand section "7.8. Using Cloud-Init to Automate the Configuration of Virtual Machines" Collapse section "7.8. Using Cloud-Init to Automate the Configuration of Virtual Machines" 7.8.1. Cloud-Init Use Case Scenarios 7.8.2. Installing Cloud-Init 7.8.3. Using Cloud-Init to Prepare a Template 7.8.4. Using Cloud-Init to Initialize a Virtual Machine 7.9. Using Sysprep to Automate the Configuration of Virtual Machines Expand section "7.9. Using Sysprep to Automate the Configuration of Virtual Machines" Collapse section "7.9. Using Sysprep to Automate the Configuration of Virtual Machines" 7.9.1. Configuring Sysprep on a Template 7.9.2. Using Sysprep to Initialize a Virtual Machine 7.10. Creating a Virtual Machine Based on a Template 7.11. Creating a Cloned Virtual Machine Based on a Template A. Reference: Settings in Administration Portal and VM Portal Windows Expand section "A. Reference: Settings in Administration Portal and VM Portal Windows" Collapse section "A. Reference: Settings in Administration Portal and VM Portal Windows" A.1. Explanation of Settings in the New Virtual Machine and Edit Virtual Machine Windows Expand section "A.1. Explanation of Settings in the New Virtual Machine and Edit Virtual Machine Windows" Collapse section "A.1. Explanation of Settings in the New Virtual Machine and Edit Virtual Machine Windows" A.1.1. Virtual Machine General Settings Explained A.1.2. Virtual Machine System Settings Explained A.1.3. Virtual Machine Initial Run Settings Explained A.1.4. Virtual Machine Console Settings Explained A.1.5. Virtual Machine Host Settings Explained A.1.6. Virtual Machine High Availability Settings Explained A.1.7. Virtual Machine Resource Allocation Settings Explained A.1.8. Virtual Machine Boot Options Settings Explained A.1.9. Virtual Machine Random Generator Settings Explained A.1.10. Virtual Machine Custom Properties Settings Explained A.1.11. Virtual Machine Icon Settings Explained A.1.12. Virtual Machine Foreman/Satellite Settings Explained A.2. Explanation of Settings in the Run Once Window A.3. Explanation of Settings in the New Network Interface and Edit Network Interface Windows A.4. Explanation of Settings in the New Virtual Disk and Edit Virtual Disk Windows A.5. Explanation of Settings in the New Template Window B. virt-sysprep Operations Settings Close Language: 简体中文 한국어 日本語 English Language: 简体中文 한국어 日本語 English Format: Multi-page Single-page PDF Format: Multi-page Single-page PDF Language and Page Formatting Options Language: 简体中文 한국어 日本語 English Language: 简体中文 한국어 日本語 English Format: Multi-page Single-page PDF Format: Multi-page Single-page PDF Virtual Machine Management Guide Red Hat Virtualization 4.3Managing virtual machines in Red Hat VirtualizationRed Hat Virtualization Documentation Team Red Hat Customer Content Services rhev-docs@redhat.comAbstract This document describes the installation, configuration, and administration of virtual machines in Red Hat Virtualization. Next