Product SiteDocumentation Site

Red Hat Virtualization 4.1

Virtual Machine Management Guide

Managing Virtual Machines in Red Hat Virtualization

Red Hat Virtualization Documentation Team

Red Hat Customer Content Services

Abstract

This guide describes the installation, configuration, and administration of virtual machines in Red Hat Virtualization.
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
1.4.1. Installing Console Components
1.4.2. Installing usbdk on Windows
2. Installing Linux Virtual Machines
2.1. Creating a Linux Virtual Machine
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. Subscribing to the Required Entitlements
2.4. Installing Guest Agents and Drivers
2.4.1. Red Hat Virtualization Guest Agents and Drivers
2.4.2. Installing the Guest Agents and Drivers on Red Hat Enterprise Linux
3. Installing Windows Virtual Machines
3.1. Creating a Windows Virtual Machine
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
3.3.1. Red Hat Virtualization Guest Agents and Drivers
3.3.2. Installing the Guest Agents and Drivers on Windows
3.3.3. Automating Guest Additions on Windows Guests with Red Hat Virtualization Application Provisioning Tool(APT)
4. Additional Configuration
4.1. Configuring Single Sign-On for Virtual Machines
4.1.1. Configuring Single Sign-On for Red Hat Enterprise Linux Virtual Machines Using IPA (IdM)
4.1.2. Configuring Single Sign-On for Red Hat Enterprise Linux Virtual Machines Using Active Directory
4.1.3. Configuring Single Sign-On for Windows Virtual Machines
4.1.4. Disabling Single Sign-on for Virtual Machines
4.2. Configuring USB Devices
4.2.1. Using USB Devices on Virtual Machines
4.2.2. Using USB Devices on a Windows Client
4.2.3. Using USB Devices on a Red Hat Enterprise Linux Client
4.3. Configuring Multiple Monitors
4.3.1. Configuring Multiple Displays for Red Hat Enterprise Linux Virtual Machines
4.3.2. Configuring Multiple Displays for Windows Virtual Machines
4.4. Configuring Console Options
4.4.1. Console Options
4.4.2. Remote Viewer Options
4.5. Configuring a Watchdog
4.5.1. Adding a Watchdog Card to a Virtual Machine
4.5.2. Installing a Watchdog
4.5.3. Confirming Watchdog Functionality
4.5.4. Parameters for Watchdogs in watchdog.conf
4.6. Configuring Virtual NUMA
4.7. Configuring Red Hat Satellite Errata Management for a Virtual Machine
4.8. Configuring Headless Virtual Machines
5. Editing Virtual Machines
5.1. Editing Virtual Machine Properties
5.2. Editing IO Threads
5.3. Network Interfaces
5.3.1. Adding a New Network Interface
5.3.2. Editing a Network Interface
5.3.3. Hot Plugging a Network Interface
5.3.4. Removing a Network Interface
5.4. Virtual Disks
5.4.1. Adding a New Virtual Disk
5.4.2. Attaching an Existing Disk to a Virtual Machine
5.4.3. Extending the Available Size of a Virtual Disk
5.4.4. Hot Plugging a Virtual Disk
5.4.5. Removing a Virtual Disk from a Virtual Machine
5.4.6. Importing a Disk Image from an Imported Storage Domain
5.4.7. Importing an Unregistered Disk Image from an Imported Storage Domain
5.5. Hot Plugging Virtual Memory
5.6. Hot Plugging vCPUs
5.7. Pinning a Virtual Machine to Multiple Hosts
5.8. Changing the CD for a Virtual Machine
5.9. Smart Card Authentication
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
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
6.8.1. Managing System Permissions for a Virtual Machine
6.8.2. Virtual Machines 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
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
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
6.11.1. Creating an Affinity Group
6.11.2. Editing an Affinity Group
6.11.3. Removing an Affinity Group
6.12. Exporting and Importing Virtual Machines and Templates
6.12.1. Exporting a Virtual Machine to the Export Domain
6.12.2. Importing a Virtual Machine into the Destination Data Center
6.12.3. Importing a Virtual Machine from a VMware Provider
6.12.4. Importing an OVA File from VMware
6.12.5. Importing a Virtual Machine from a Xen Host
6.12.6. Importing a Virtual Machine from a KVM Host
6.13. Migrating Virtual Machines Between Hosts
6.13.1. Live Migration Prerequisites
6.13.2. Optimizing Live Migration
6.13.3. Guest Agent Hooks
6.13.4. Automatic Virtual Machine Migration
6.13.5. Preventing Automatic Migration of a Virtual Machine
6.13.6. Manually Migrating Virtual Machines
6.13.7. Setting Migration Priority
6.13.8. Canceling Ongoing Virtual Machine Migrations
6.13.9. Event and Log Notification upon Automatic Migration of Highly Available Virtual Servers
6.14. Improving Uptime with Virtual Machine High Availability
6.14.1. What is High Availability?
6.14.2. Why Use High Availability?
6.14.3. High Availability Considerations
6.14.4. Configuring a Highly Available Virtual Machine
6.15. Other Virtual Machine Tasks
6.15.1. Enabling SAP Monitoring
6.15.2. Configuring Red Hat Enterprise Linux 5.4 and later Virtual Machines to use SPICE
6.15.3. KVM virtual machine timing management
7. Templates
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
7.2. Creating a Template
7.3. Editing a Template
7.4. Deleting a Template
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
7.6.1. Importing a Template into a Data Center
7.6.2. Importing a Virtual Disk Image from an OpenStack Image Service as a Template
7.7. Templates and Permissions
7.7.1. Managing System Permissions for a Template
7.7.2. Template Administrator Roles Explained
7.7.3. Template User Roles Explained
7.7.4. Assigning an Administrator or User Role to a Resource
7.7.5. Removing an Administrator or User Role from a Resource
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
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 User Portal Windows
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 New Network Interface and Edit Network Interface Windows
A.3. Explanation of Settings in the New Virtual Disk and Edit Virtual Disk Windows
A.4. Explanation of Settings in the New Template Window
A.5. Explanation of Settings in the Run Once Window
B. virt-sysprep Operations