17
Installing Red Hat Enterprise Virtualization Manager “RHEV-M” on Windows 2008 R2. Peter Senna Tschudin [email protected] April 2011 Version 1.0 Page 1

Installing Red Hat Enterprise Virtualization …petersenna.com/files/installing-rhevm-windows2008.pdfInstalling Red Hat Enterprise Virtualization Manager “RHEV-M” on Windows 2008

Embed Size (px)

Citation preview

Page 1: Installing Red Hat Enterprise Virtualization …petersenna.com/files/installing-rhevm-windows2008.pdfInstalling Red Hat Enterprise Virtualization Manager “RHEV-M” on Windows 2008

Installing Red Hat Enterprise Virtualization Manager “RHEV-M”on Windows 2008 R2.

Peter Senna [email protected]

April 2011

Version 1.0

Page 1

Page 2: Installing Red Hat Enterprise Virtualization …petersenna.com/files/installing-rhevm-windows2008.pdfInstalling Red Hat Enterprise Virtualization Manager “RHEV-M” on Windows 2008

Table of Contents

About this document..............................................................................................................2

Targets...................................................................................................................................2

Technical background............................................................................................................2

About RHEV...........................................................................................................................3

The install procedure..............................................................................................................4

Add new user.........................................................................................................................7

Edit hosts file..........................................................................................................................9

Add Roles.............................................................................................................................10

Install RHEV-M.....................................................................................................................14

About this document

This document describes Peter's understanding of how to archive the goal described on Targets. On the date of writing the procedure was tested and worked.

You can help us! Please send feedback about this document. We'll be happy to hear from you. Send your feedback to [email protected].

Targets

Install Red Hat Enterprise Virtualization Manager “RHEV-M” on Windows 2008 R2.

• With local authentication ( No Active Directory )• Without local DNS server for name and domain resolution

Technical background

Why Windows 2008 R2 instead of Windows 2003 to run RHEV-M? I have personal preference to Windows 2008 because it “feels” lighter than Windows 2003 and because it runs “gracefully” under KVM virtualization with PV drivers. On the lab, I have Windows 2008 R2 running on KVM+libvirt virtual

Page 2

Page 3: Installing Red Hat Enterprise Virtualization …petersenna.com/files/installing-rhevm-windows2008.pdfInstalling Red Hat Enterprise Virtualization Manager “RHEV-M” on Windows 2008

machine for managing two RHEV-Hypervisors.

Peter's lab

About RHEV

RHEV is divided in two software pieces.

• RHEV-M is the management software that delivers graphical user interface and has embedded intelligence for taking automated actions. Actually this software runs only on Windows 2003 and Windows 2008.

• RHEV-H is the virtualization software that runs on the physical servers that will host the virtual machines. Red Hat Enterprise Virtualization Hypervisor is a custom Red Hat Enterprise Linux Distribution tunned for high performance virtualization.

Red Hat Enterprise Virtualization

Page 3

Page 4: Installing Red Hat Enterprise Virtualization …petersenna.com/files/installing-rhevm-windows2008.pdfInstalling Red Hat Enterprise Virtualization Manager “RHEV-M” on Windows 2008

Picture from:

http://www.redhat.com/f/pdf/rhev/DOC049_RHEV_Overall_Datasheet_20091001.pdf

The install procedure

1. Before start:

It is necessary to get some information:

RHEV-M FQDN: rhevm.home

RHEV-M IP: 10.0.0.201

RHEV-M administrative user: peter

RHEV-M administrative user password: Qwerty1!

RHEV-M MSSQL password: Qwerty1!

Organization name: SmanagerRequired information with examples

2. Install Windows 2008 R2. Windows 2008 is not compatible.

3. Update your Windows using Windows update:

Start -> All Programs -> Windows Update

4. Log in at "http://access.redhat.com" and download "RHEV-M Windows Installer".

http://access.redhat.com -> Downloads -> Red Hat Enterprise Linux Downloads -> Red Hat Enterprise Virtualization -> Red Hat Enterprise Virt Manager for Servers (v.2 x86) -> RHEV-M Windows Installer

5. This guide is for using local authentication only, and does not cover RHEV-M integration with Microsoft Active Directory. For this scenario RHEV-M requires a local user. The steps to add New User:

Start -> Administrative Tools -> Computer Management -> Local Users and Groups -> Users -> (Menu) Action -> New User

Page 4

Page 5: Installing Red Hat Enterprise Virtualization …petersenna.com/files/installing-rhevm-windows2008.pdfInstalling Red Hat Enterprise Virtualization Manager “RHEV-M” on Windows 2008

For detailed step-by-step see: Add new user

6. This guide covers the RHEV-M installation without local DNS server for hostname and domain resolution. In order to RHEV-M works without DNS server, it is necessary to edit Windows' “hosts” file.

Open the file "c:\Windows\System32\drivers\etc\hosts" with notepad and add a line:

10.0.0.201 rhevm.home

For detailed step-by-step see: Edit hosts file

7. RHEV-M requires Windows components like .NET Framework and IIS. On Windows 2008 R2 this is done adding “Roles” to server.

Start -> Administrative Tools -> Server Manager -> Roles -> Add Roles -> Next

Select:

Application Server -> Add Required FeaturesWeb Server (IIS)

Then:

Next -> Next

Select:

.NET Framework 3.5.1Web Server (IIS) Support -> Add Required Role ServiceCOM+ Network Access

Then:

Next -> Next -> Next -> Install -> Close

For detailed step-by-step see: Add Roles

8. Install RHEV-M by running the downloaded "RHEV-M Windows Installer". The file name is like "RHEVM_51796.exe". Follow the steps:

Page 5

Page 6: Installing Red Hat Enterprise Virtualization …petersenna.com/files/installing-rhevm-windows2008.pdfInstalling Red Hat Enterprise Virtualization Manager “RHEV-M” on Windows 2008

Run the installer -> Next -> Yes -> Next -> Choose Install a SQL Server 2005 Express Locally -> Next -> Type Password -> Confirm password -> Next -> Next -> Next -> Select Local -> Type User Name -> Type Password -> Next -> Type Organization name -> Type Fully qualified computer name -> Check "Do not validate fully qualified computer name -> OK -> Next -> Next -> Next -> Finish

For detailed step-by-step see: Install RHEV-M

Page 6

Page 7: Installing Red Hat Enterprise Virtualization …petersenna.com/files/installing-rhevm-windows2008.pdfInstalling Red Hat Enterprise Virtualization Manager “RHEV-M” on Windows 2008

Add new user

1. Start -> Administrative Tools -> Computer Management -> Local Users and Groups

Local Users and Groups on Computer Management

2. Users -> (Menu) Action -> New User

New User action inside Users

Page 7

Page 8: Installing Red Hat Enterprise Virtualization …petersenna.com/files/installing-rhevm-windows2008.pdfInstalling Red Hat Enterprise Virtualization Manager “RHEV-M” on Windows 2008

3. Type User name -> Type Full name -> Type Password -> Type Confirm password -> Uncheck “User must change password at next logon” -> Create

New User Screen

4. It is done. You can close Computer Management.

New user added

Page 8

Page 9: Installing Red Hat Enterprise Virtualization …petersenna.com/files/installing-rhevm-windows2008.pdfInstalling Red Hat Enterprise Virtualization Manager “RHEV-M” on Windows 2008

Edit hosts file

1. Start -> Run... -> Type notepad -> ok

Running notepad

1. File -> Open -> All Files -> c:\Windows\System32\drivers\etc\hosts -> Open

Notepad open file window

1. Type “10.0.0.201 rhevm.home” -> File -> Save

Notepad showing modified hosts file

Page 9

Page 10: Installing Red Hat Enterprise Virtualization …petersenna.com/files/installing-rhevm-windows2008.pdfInstalling Red Hat Enterprise Virtualization Manager “RHEV-M” on Windows 2008

Add Roles

1. Start -> Administrative Tools -> Server Manager -> Roles -> Add Roles

Add Roles at Server Manager

2. Next

Warnings and instructions. Read before proceed.

3. Select Application Server

Available Roles

Page 10

Page 11: Installing Red Hat Enterprise Virtualization …petersenna.com/files/installing-rhevm-windows2008.pdfInstalling Red Hat Enterprise Virtualization Manager “RHEV-M” on Windows 2008

4. Add Required Features

Application Server Confirmation Window

5. Select Web Server (IIS)

Available Roles

6. Next

Warnings and instructions. Read before proceed.

Page 11

Page 12: Installing Red Hat Enterprise Virtualization …petersenna.com/files/installing-rhevm-windows2008.pdfInstalling Red Hat Enterprise Virtualization Manager “RHEV-M” on Windows 2008

7. Add Required Role Services

Warnings and instructions. Read before proceed.

8. Select .NET Framework 3.5.1 -> Select Web Server (IIS) Support -> Select COM+ Network Access -> Next

Application Server Options

9. Next

Web Server Options

Page 12

Page 13: Installing Red Hat Enterprise Virtualization …petersenna.com/files/installing-rhevm-windows2008.pdfInstalling Red Hat Enterprise Virtualization Manager “RHEV-M” on Windows 2008

10. Next

Web Server Options

11. Next

Warnings and instructions. Read before proceed.

12. Close

Installation completed

Page 13

Page 14: Installing Red Hat Enterprise Virtualization …petersenna.com/files/installing-rhevm-windows2008.pdfInstalling Red Hat Enterprise Virtualization Manager “RHEV-M” on Windows 2008

Install RHEV-M

1. Next

RHEV-M Welcome Screen

2. Click Yes only if agree with license terms.

License. Read and continue only if accept it

3. Type MS SQL Password -> Confirm MS SQL Password -> Next

MS SQL Password configuration

Page 14

Page 15: Installing Red Hat Enterprise Virtualization …petersenna.com/files/installing-rhevm-windows2008.pdfInstalling Red Hat Enterprise Virtualization Manager “RHEV-M” on Windows 2008

4. Next

Installation folder

5. Next

Site configuration

6. Select Local -> Type User Name -> Type Password -> Next

RHEV-M User configuration

Page 15

Page 16: Installing Red Hat Enterprise Virtualization …petersenna.com/files/installing-rhevm-windows2008.pdfInstalling Red Hat Enterprise Virtualization Manager “RHEV-M” on Windows 2008

7. Type Organization name -> Type Fully qualified computer name -> check Do not validate fully qualified computer name -> Next

Hostname and domain configuration

8. OK

Warning about previous checkbox

9. Next

Net console port configuration

Page 16

Page 17: Installing Red Hat Enterprise Virtualization …petersenna.com/files/installing-rhevm-windows2008.pdfInstalling Red Hat Enterprise Virtualization Manager “RHEV-M” on Windows 2008

10. Next

Review settings

11. Finish

Installation completed

Page 17