Red Hat Enterprise Virtualization 3.1

Evaluation Guide

Evaluation Tutorials for Red Hat Enterprise Virtualization

Edition 1

Cheryn Tan

Red Hat Engineering Content Services

Zac Dover

Red Hat Engineering Content Services

Legal Notice

Copyright © 2012 Red Hat, Inc.
This document is licensed by Red Hat under the Creative Commons Attribution-ShareAlike 3.0 Unported License. If you distribute this document, or a modified version of it, you must provide attribution to Red Hat, Inc. and provide a link to the original. If the document is modified, all Red Hat trademarks must be removed.
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.
Node.js® is an official trademark of Joyent. Red Hat Software Collections is not formally related to or endorsed by the official Joyent Node.js open source or commercial project.
The OpenStack® Word Mark and OpenStack Logo are either registered trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation's permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community.
All other trademarks are the property of their respective owners.

Abstract

This document is a step-by-step evaluation of Red Hat Enterprise Virtualization. It shows you how to use your existing resources to quickly deploy a scalable cloud solution for your enterprise.
Preface
1. About this Guide
1.1. Audience
2. Document Conventions
2.1. Typographic Conventions
2.2. Pull-quote Conventions
2.3. Notes and Warnings
3. Getting Help and Giving Feedback
3.1. Do You Need Help?
3.2. We Need Feedback!
Introduction
1. Track A: Standard Setup
1.1. Track A Requirements
2. Track B: Minimal Setup
2.1. Track B Requirements
3. Summary
1. Install and Configure Basic Setup
1.1. Installing Red Hat Enterprise Virtualization Manager
1.2. Installing Red Hat Enterprise Virtualization Hypervisor
1.2.1. Registering the host on RHN and Acquiring ISO Hypervisor Images
1.2.2. Preparing Optical Hypervisor Installation Media
1.2.3. Installing Red Hat Enterprise Virtualizaton Hosts from Optical Installation Media
1.2.4. Installing Red Hat Enterprise Virtualization Hypervisors
1.3. Connecting to Red Hat Enterprise Virtualization Web Administration Portal
1.4. Web Administration Portal Graphical User Interface
1.5. Approve the Red Hat Enterprise Virtualization Hypervisor
1.6. Configure Logical Networks
1.7. Configure Storage
1.7.1. Create an NFS Data Domain
1.7.2. Create an iSCSI Data Domain
1.7.3. Create an FCP Data Domain
1.8. Attach and Populate ISO Domain
1.9. Lab 1 - Summary
2. Create Virtual Machines
2.1. Create a Red Hat Enterprise Linux Virtual Machine
2.2. Create a Red Hat Enterprise Linux Template
2.3. Sealing a Linux Virtual Machine for Deployment as a Template
2.4. To create a template from a Red Hat Enterprise Linux virtual machine
2.5. Clone a Red Hat Enterprise Linux Virtual Machine
2.6. Lab 2 - Summary
3. Live Migration Scenarios
3.1. Activate Live Migration
3.2. Move Host into Maintenance
3.3. Define Cluster Policy
3.4. Lab 3 - Summary
4. Power User Portal
4.1. Add IPA Domain
4.1.1. Add New Users in the IPA Directory
4.2. Assign PowerUserRole Permissions
4.3. Log in to the Power User Portal
4.4. Create a Red Hat Enterprise Linux Virtual Machine
4.5. Access a Virtual Machine
4.6. Create a Virtual Machine Template
4.7. Verify Permissions
4.8. Lab 4 - Summary
5. Manage Multi-Level Administrators
5.1. Define Storage Administrator
5.2. Define Virtual Machine Administrator
5.3. Verify User Permissions
5.4. Create Custom Roles
5.5. Lab 5 - Summary
6. High Availability Scenarios
6.1. Configure Power Management
6.2. Configure Virtual Machine High Availability
6.3. High Availability - Host Initiated Reboot
6.4. High Availability - Virtual Machine Interruption
6.5. High Availability - Non-Operational Host
6.6. High Availability - Non-Responsive Host
6.7. Lab 6 - Summary
7. Add Additional Data Center
7.1. Install Red Hat Enterprise Linux Hosts
7.2. Create a New Data Center
7.3. Create a New Cluster
7.4. Attach New Red Hat Enterprise Linux Hosts
7.5. Configure Logical Networks
7.6. Configure Storage
7.6.1. Create an NFS Data Domain
7.6.2. Create an iSCSI Data Domain
7.6.3. Create an FCP Data Domain
7.7. Configure ISO domain
7.8. Lab 7 - Summary
8. Virtual Desktops
8.1. Add Active Directory Domain
8.2. Create a Windows Virtual Machine
8.3. Create a Windows Template
8.4. Create a Windows Virtual Machine from a Template
8.5. Assign Virtual Machine User Permissions
8.6. Connect to a Virtual Machine
8.7. Adding a Network Connection to a Running Virtual Machine
8.8. Use Virtual Desktop Pools
8.8.1. Create a Desktop Pool
8.8.2. Assign Pool User Permissions
8.8.3. Allocate Virtual Desktop
8.8.4. Deallocate Virtual Desktop
8.9. Lab 8 - Summary
9. Install and Configure Minimal Setup
9.1. Installing Red Hat Enterprise Virtualization Manager
9.2. Installing Red Hat Enterprise Virtualization Hypervisor
9.3. Preparing Optical Hypervisor Installation Media
9.4. Install Red Hat Enterprise Virtualization Hypervisor
9.5. Connecting to Red Hat Enterprise Virtualization Web Administration Portal
9.6. Approve the Red Hat Enterprise Virtualization Hypervisor
9.7. Create Local Storage
9.8. Attach and Populate ISO Domain
9.9. Lab 9 - Summary
10. Advanced Storage Features
10.1. Lab 10 - Summary
10.2. Advanced Storage Features
10.3. Requirements
10.4. Creating Floating Disks
10.5. Associating a Floating Disk with a Virtual Machine
10.6. Marking a Virtual Disk Shared
10.7. Associating a Shared Virtual Disk with a Second Virtual Machine
10.8. Creating a Snapshot of a Running Virtual Machine
10.9. Creating a Virtual Machine from a Snapshot
10.10. Associating LUNs with Virtual Machines
10.10.1. Associating an iSCSI LUN with a Virtual Machine
10.10.2. Associating Fibre Channel (FC) LUNs with Virtual Machines
10.11. Lab 10 - Summary
Conclusion
A. Revision History