Professional Documents
Culture Documents
Server Infrastructure
Microsoft Hyper-V Classroom Setup
Guide
Contents
Introducing Microsoft Hyper-V
1
Setup Overview
2
Windows 8 Virtual Machine Activation
2
Classroom Requirements
3
Hardware
4
Software
4
Classroom Configuration
4
Instructor Computer Checklist
5
Instructor Computer Setup
6
1. Install the Virtual Machine Files
6
2. Create a Setup Share
10
3. Copy the Virtual Machine Files to the Student Computer 10
4. Configure the Host Computer to Boot to 20414A-LONHOST1.vhd
10
5. Configure the Host Computer to Boot to the 20414A-LONHOST2.vhd
12
6. Configure network settings on LON-HOST1 and LON-HOST2
13
7. Install the Hyper-V Server Role on LON-HOST1 and LONHOST2
14
8. Configure the Hyper-V External Network on LON-HOST1 and
LON-HOST2
15
9. Run the Pre-Import Script
16
10. Import Virtual Machines on LON-HOST1
16
11. Install the PowerPoint Slides
17
Student Computer Checklist
18
Student Computer Setup
18
1. Install the Base Image/Virtual Machine Files
18
Appendix A
19
Appendix B Activating the Windows 8 Virtual Machines
19
Information in this document, including URL and other Internet Web site references, is subject to change
without notice. Unless otherwise noted, the example companies, organizations, products, domain names, email addresses, logos, people, places, and events depicted herein are fictitious, and no association with any
real company, organization, product, domain name, e-mail address, logo, person, place, or event is intended or
should be inferred. Complying with all applicable copyright laws is the responsibility of the user. Without limiting
the rights under copyright, no part of this document may be reproduced, stored in or introduced into a retrieval
system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or
otherwise), or for any purpose, without the express written permission of Microsoft Corporation.
The names of manufacturers, products, or URLs are provided for informational purposes only and Microsoft
makes no representations and warranties, either expressed, implied, or statutory, regarding these
manufacturers or the use of the products with any Microsoft technologies. The inclusion of a manufacturer or
product does not imply endorsement of Microsoft of the manufacturer or product. Links are provided to third
party sites. Such sites are not under the control of Microsoft and Microsoft is not responsible for the contents of
any linked site or any link contained in a linked site, or any changes or updates to such sites. Microsoft is not
responsible for webcasting or any other form of transmission received from any linked site. Microsoft is
providing these links to you only as a convenience, and the inclusion of any link does not imply endorsement of
Microsoft of the site or the products contained therein.
Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights
covering subject matter in this document. Except as expressly provided in any written license agreement from
Microsoft, the furnishing of this document does not give you any license to these patents, trademarks,
copyrights, or other intellectual property.
Copyright 2012 Microsoft Corporation. All rights reserved.
Microsoft and the trademarks listed at http://www.microsoft.com/about/legal/en/us/IntellectualProperty
/Trademarks/EN-US.aspx are trademarks of the Microsoft group of companies. All other trademarks are
property of their respective owners.
Version 1.2
Hyper-V: Hyper-V is a server application that enables users to run a broad range of
operating systems simultaneously on a single physical server. Hyper-V is included
with some versions of Windows Server 2008. Hyper-V can be run only on a 64-bit
version of Windows Server 2008 that is running on 64-bit hardware.
Host Computer: The physical computer onto which you install the operating system
and the Hyper-V server role.
Host Operating System: The operating system that is running on the physical
computer. With Hyper-V, the only supported host operating system is Windows
Server 2008.
Virtual Machine: The computer that is running inside Hyper-V. In this document,
Hyper-V refers to the application running on the host, while virtual machine
refers to the guest operating system and any software that is running inside the
Hyper-V application.
Guest Operating System: The operating system that is running inside the virtual
machine.
You can configure virtual machines to communicate with the host computer, other virtual
machines on the same host computer, other host computers, virtual machines on other
host computers, other physical computers on the network, or any combination thereof.
The setup instructions that you will follow as part of this classroom setup guide configure
Hyper-V and the Virtual Machines that run on the host. Changing any of the
configuration settings may render the labs for this learning product unusable.
Setup Overview
The host computers must be set up with a 64-bit version of Windows Server 2008 R2 SP1
and must be running on 64-bit hardware. For more information on the supported
hardware for Hyper-V, go to http://www.microsoft.com/hyper-v. For the purposes of this
learning product, it is not necessary for the host computers to be able to communicate
with another network. However, we recommend that you allow them to communicate
with each other to make setup easier. The setup procedures below assume that the host
computers can communicate with each other for setup purposes. You should note the
administrators user name and password for the host computers, and provide this
information to the instructor.
Important: It is recommended that you download and apply the following hotfix in
order to successfully run Windows Server 2012\Windows 8 in a virtual machine
running on a Windows Server 2008 R2 SP1 host.
http://support.microsoft.com/kb/2744129
Without the hotfix, you may experience one or more of the following issues:
The Windows Server 2008 R2 host computer may display a stop error
message and restart automatically. This behavior brings down all other running
virtual machines together with the host computer.
Classroom Requirements
This learning product requires a classroom with a minimum of one computer for the
instructor and one for each student. Before class begins, use the following information
and instructions to install and configure all computers.
Hardware
The classroom computers require the following hardware and software configuration.
Hardware Level 6 (Note: Additional RAM requirements needed for this course)
*Striped
Additionally, the instructor computer must be connected to a projection display device
that supports SVGA 1024 x 768 pixels, 16-bit colors.
Software
Please note that, unless otherwise indicated, this software is not included in the Trainer
Materials disc. This learning product was developed and tested on supported Microsoft
software, which is required for the classroom computers.
Also required, but not included in the Training Materials: Microsoft Office PowerPoint
2007 (instructor computer only).
Classroom Configuration
Each classroom computer will serve as the host for several virtual machines that will run
in Hyper-V. Each classroom computer should be isolated from the rest of the network.
The lab for module 7 requires two host computers for each pair of students. The two host
computers for each pair of students must have network connectivity with each other for
this module, but must not be able to communicate with other computers on the network.
Use a cross-over cable, hub or VLAN to connect to each other, but isolate each pair of
host computers from the other computers in the classroom.
Note: In the module 7 lab, students will be performing a live migration of a virtual
machine from one host to another. For this lab to succeed, the processors on the
two host machines must be identical. So it is very important that each pair of
student computers have identical processors. If this is not possible, then students
will need to select the Migrate to a physical computer with a different
processor version check box under Processor Compatibility Configuration for the
virtual machine used in the live migration exercise.
20414A-LON-CA1.exe
20414A-LON-CL1.exe
20414A-LON-CORE.part01.exe
20414A-LON-DM1.part01.exe
20414A-LON-OM1.part01.exe
20414A-LON-OR1.part01.exe
20414A-LON-SVR1.part1.exe
20414A-LON-SVR1-B.part1.exe
20414A-LON-SVR2.part1.exe
20414A-LON-VMM1.part01.exe
20414A-LON-WSUS.part01.exe
20414A-PRS-CL1.exe
20414A-PRS-DC1.part01.exe
20414A-TOR-SS1.exe
20414A-TOR-SVR1.part1.exe
VM-PRE-Import-20414A-LON-HOST1.exe
NOTE: After completing the extraction of all of the classroom files, you should have the files
listed in the following table installed.
File
In folder
Base12A-WS12-TMP.vhd
Base12B-W8.vhd
MT12-W8-CL1-Office2010SP1.vhd
MT12-WS12-LON-DC1-TMP.vhd
20414A-LON-Host1.vhd
20414A-LON-Host2.vhd
20414A-LON-DC1.vhd
20414A-LON-DC1-Storage.vhd
20414A-LON-CA1.vhd
20414A-LON-CL1.vhd
20414A-LON-CORE.vhd
20414A-LON-DM1.vhd
20414A-LON-DM1-Backup.vhd
20414A-LON-OM1.vhd
20414A-LON-OM1-Allfiles.vhd
20414A-LON-OR1.vhd
20414A-LON-SVR1.vhd
20414A-LON-SVR1-Allfiles.vhd
20414A-LON-SVR1-B.vhd
20414A-LON-SVR2.vhd
20414A-LON-VMM1.vhd
20414A-LON-VMM1-Allfiles.vhd
20414A-LON-WSUS.vhd
20414A-PRS-CL1.vhd
20414A-PRS-DC1.vhd
20414A-TOR-SS1.vhd
20414A-TOR-SS1-Storage
20414A-TOR-SVR1.vhd
VM-PRE-Import-20414A-LON-HOST1.ps1
10
Note: For information on how to set up a share in Windows Server 2008, refer to
Share a Resource in Windows Help and Support.
1. From the student computer, copy all of the files from the Base_Drives share on the
instructor computer to C:\Program Files\Microsoft Learning\Base.
2. Copy all of the files from the 20414_Drives share on the instructor computer to
C:\Program Files\Microsoft Learning\20414\Drives.
Note: Ensure that all files are copied:
a. C:\Program Files\Microsoft Learning\20414 and all included folders and files
b. C:\Program Files\Microsoft Learning\Base and C:\Program Files\Microsoft
Learning\Base\Drives.
3. Ensure that you have copied the files using a permission-retaining software such as
RoboCopy or XCopy.
4. Verify that all permissions have been retained by looking at the directories above and
ensuring that they are not set to Read-Only.
5. Add the virtual machines to the Hyper-V management console. For detailed
instructions, refer to the instructor computer setup.
11
10. After the server restarts, log on as Adatum\Administrator using the password
Pa$$w0rd.
Note: In some cases, the computer may display a blue screen with a stop error
when you restart the computer. If this happens, restart the computer and complete
the following troubleshooting steps.
1. Boot into the Windows Server 2008 R2 installation and verify that you have at
least 100 GB of free space on the C: drive.
2. Reboot the computer and access the computer BIOS, and check the Controller
Mode. If the Controller Mode is set to AHCI, please change it to another option
(might be IDE, or compatibility mode). If Controller Mode is set to RAID, move
on to the next step.
3. Your disk controller may require a custom driver in order for the operating
system in the VHD to access the hard drives. To install the custom driver, boot
into the Windows Server 2008 R2 installation and complete the following steps.
a. Download the hardware-specific storage driver from hardware
manufacturers website. Save the drivers to C:\Drivers folder.
12
original host operating system, open a command prompt and type bcdedit /delete
{default} and press Enter.
10. After the server restarts, logon as Adatum\Administrator using the password
Pa$$w0rd.
Note: In some cases, the computer may display a blue screen with a stop error
when you restart the computer. If this happens, restart the computer and complete
the following troubleshooting steps.
1. Boot into the Windows Server 2008 R2 installation and verify that you have at
least 100 GB of free space on the C: drive.
2. Reboot the computer and access the computer BIOS, and check the Controller
Mode. If the Controller Mode is set to AHCI, please change it to another option
(might be IDE, or compatibility mode). If Controller Mode is set to RAID, move
on to the next step.
3. Your disk controller may require a custom driver in order for the operating
system in the VHD to access the hard drives. To install the custom driver, boot
into the Windows Server 2008 R2 installation and complete the following steps.
a. Download the hardware-specific storage driver from hardware
manufacturers website. Save the drivers to C:\Drivers folder.
b. Reattach the 20414A-LON-Host2.vhd file as described in steps 1-4 above.
c. Open a command prompt and type the following command, and then press
Enter.
DISM /Image:E:\ /Add-Driver /Driver:C:\Drivers /recurse
d. Restart the computer.
11. Open an administrative command prompt, and type slmgr rearm. Restart the
computer.
12. After the computer restarts, log on as Adatum\Administrator, using the password
Pa$$w0rd.
1. Restart the host computer, and in the Windows Boot Manager, select either
20414A-LON-HOST1 or 20414A-LON-HOST2.
2. Log on as Adatum\Administrator with the password Pa$$w0rd.
13
14
LON-HOST1: 172.16.0.31
LON-HOST2: 172.16.0.32
Subnet mask: 255.255.0.0
Default gateway: 172.16.0.1
8. On the General tab, click Use the following DNS server addresses, and then
configure the following:
1. In the Server Manager console, on the Manage menu, click Add Roles and Features.
2. On the Before you begin page of the Add Roles and Features Wizard, click Next.
3. On the Select installation type page, select Role-based or feature-based
installation, and then click Next.
4. On the Select destination server page, ensure that LON-HOST1.Adatum.com or
LON-HOST2.Adatum.com is selected, and then click Next.
5. On the Server Roles page, select Hyper-V.
6. In the Add Roles and Features Wizard dialog box, click Add Features.
7. On the Select Server Roles page of the Add Roles and Features Wizard, click Next.
15
External Network: Mapped to the host computer's physical network adapter. Will
vary depending on host computer
5. In the Apply Networking Changes dialog box, review the warning, and then click
Yes.
16
1. In the Actions pane of the Hyper-V Manager console, click Import Virtual Machine.
2. On the Before You Begin page of the Import Virtual Machine wizard, click Next.
3. On the Locate Folder page, perform the following task, and then click Next:
17
20414A-LON-DM1
20414A-LON-OM1
20414A-LON-OR1
20414A-LON-SVR1
20414A-LON-SVR2
20414A-LON-VMM1
20414A-LON-WSUS
20414A-TOR-SS1
20414A-TOR-SVR1
Note: The Windows 8 client virtual machines need to be activated, as such requires
slightly different steps.
17. Repeat Steps 1-5 for the following virtual machines:
20414A-LON-CL1
18
1. Check that all permissions have been retained by looking at the directories above
and verifying that they are not set to Read Only.
2. Run the VM-Pre-Import script. For detailed instructions, see the instructor
computer setup.
3. Configure the LON-HOST1 and LON-HOST2 computers. For detailed
instructions, refer to the instructor computer setup.
4. Add the virtual machines to LON-HOST1. For detailed instructions, refer to the
instructor computer setup.
19
Appendix A
The virtual machines were developed using the English (United States) layout shown
below.
If your physical keyboard does not match the above layout, you may need to refer to the
above layout for the character positions used to logon. For future logons and usage
throughout the labs, you may want to install your keyboard layout in the virtual machine.
20
6. Note: In order for you to be able to activate the virtual machine successfully, the
virtual machine must have internet connectivity.
7. Click OK on the dialog box.
NOTE: The Windows 8 client virtual machines will need Internet access to allow
activation. This is provided through the use of the MSL-TMG1 virtual machine, the
virtual machine and associated setup guide is available from the MCT Download Center.
High level details are included here below.