Professional Documents
Culture Documents
6418C: Deploying Windows Server® 2008 Microsoft® Hyper-V™ Classroom Setup Guide
6418C: Deploying Windows Server® 2008 Microsoft® Hyper-V™ Classroom Setup Guide
Server® 2008
Contents
Introducing Microsoft Hyper-V 1
Setup Overview 2
Classroom Requirements 3
Hardware 3
Software 3
Classroom Configuration 3
Instructor Computer Checklist 4
Instructor Computer Setup 5
1. Install the Hyper-V Server Role 6
2. Create a Private Virtual Network 7
3. Install the Virtual Machine Files 7
Extract the Course Images 7
4. Create a Setup Share 10
5. Copy the Virtual Machine Files to the Student Computer 10
6. Run the VM-Pre-Import Script (For Hyper-V R2 Host
Computers Only) 11
7. Import the Virtual Machines on the Instructor Computer 11
8. Configure the Virtual Machines on the Instructor Computer 12
9. Activate the Windows Server 2003 Virtual Machines 13
10. Install the Office PowerPoint Slides (if needed) 14
Student Computer Checklist 15
Student Computer Setup 15
1. Install the Hyper-V Server Role 15
2. Install the Base Image / Virtual Machine Files 15
Appendix A 16
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, e-mail
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.
Microsoft, Hyper-V, PowerPoint, Windows, Windows Server, and Windows Vista are either registered
trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.
The names of actual companies and products mentioned herein may be the trademarks of their respective
owners.
Version 1.2
6418C: Deploying Windows Server® 2008 1
This learning product is designed using Microsoft® Hyper-V running on the Windows
Server 2008 operating system or the Windows Server 2008 R2 operating system. Hyper-
V is a virtualization technology that allows a single computer to act as a host for one or
more virtual machines. The virtual machines use a set of virtual devices that might or
might not map to the physical hardware of the host computer.
The software that is installed onto the virtual machine is unmodified, full-version, retail
software that operates exactly as it does when it is installed onto physical hardware.
The following definitions will help you with the remainder of this document:
• Hyper-V. Hyper-V is a server application that enables users to run a broad range of
operating systems (OS) 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 host computer is the physical computer onto which you install
the operating system and the Hyper-V server role.
• Host Operating System. The host operating system is 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 virtual machine is 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 guest operating system is 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 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 administrator’s
user name and password for the host computers, and provide this information to the
instructor.
6418C: Deploying Windows Server® 2008 3
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
• Intel Virtualization Technology (Intel VT) or AMD Virtualization (AMD-V)
processor
• Dual 120 gigabyte (GB) hard disks 7200 RM SATA or better*
• 4 GB RAM expandable to 8 GB or higher
• DVD drive
• Network adapter
• Super VGA (SVGA) 17-inch monitor
• Microsoft Mouse or compatible pointing device
• Sound card with amplified speakers
*Striped
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. Domain or workgroup membership for the host computer does not matter,
nor does the network configuration of the host computers. After completion of the setup,
all computers will be configured to run several virtual machines running Windows
Server 2008 R2 and Windows 7.
Important: The operating systems installed on the virtual machines in this learning
product have not been activated. On virtual machines running Windows
Server 2008, the Windows Vista® operating system or the Windows 7 operating
system, rearm has been run at the end of development, and the OS in the virtual
machine will be in a grace state.
This grace state lasts for 30 days for the client and 60 days for the server. If you
keep these virtual machines running longer than this, you must either run rearm or
activate the virtual machines using your own keys.
For virtual machines running the Windows Server 2003 operating system, you will
need to activate the virtual machine before use. To receive product keys that will
activate the virtual machines, you must contact Microsoft Learning at
mslpkd@microsoft.com, including your program ID number in your e-mail
message. It might take up to 24 hours to receive a response. (It is not necessary to
contact Microsoft Learning if you have already done so for another learning
product.) You will use the product keys to activate all virtual machines that you
receive from Microsoft Learning. You will need only one key for each operating
system.
You may be prompted to restart the computer when the virtual machine is started
for the first time. This is because of the hardware differences on the host computer.
6 6418C: Deploying Windows Server® 2008
1. On the host machine, click Start, point to Administrative Tools, and click Server
Manager.
2. In the Server Manager console, click Roles. In the details pane, click Add Roles.
3. On the Before You Begin page, click Next.
4. On the Select Server Roles page, select the Hyper-V check box, and then click Next.
5. On the Hyper-V page, click Next.
6. On the Create Virtual Networks page, select the Local Area Connection check
box, and then click Next.
7. On the Confirm Installation Selections page, click Install. When prompted to
restart the computer, click Restart now.
8. After the server restarts, logon using administrator credentials. When the installation
finishes, click Close.
Important: The version of Hyper-V that shipped with Windows Server 2008 RTM
was a beta version. This means that you must update Hyper-V before continuing.
You can download the RTM version of Hyper-V from http://www.microsoft.com
/downloads/details.aspx?FamilyId=6F69D661-5B91-4E5E-A6C0-
210E629E1C42&displaylang=en.
If you are using Windows Server 2008 R2, you are using the R2 version of
Hyper-V, and no further action is required.
9. On the host machine, in Windows® Explorer, browse to the folder where you have
copied the RTM update file, and then double-click Windows6.0-KB950050-x86.msu.
10. In the Windows Update Standalone Installer dialog box, click Install.
6418C: Deploying Windows Server® 2008 7
4. Wait while the middle tier virtual hard disk file is extracted. This might take a few
minutes.
5. Repeat steps 1 through 4 for the following middle tier drives:
• WS08R2-SVR2.exe
• Win7-OFC-R.exe
Note: After completing the extraction of all of the classroom files, you should have
the following course files installed:
File In folder
Base10A-WS08R2-HV.vhd C:\Program Files\Microsoft Learning\Base
Base10D-R-W7-Office07-HV.vhd C:\Program Files\Microsoft Learning\Base
Base10B-WS08R2Core-HV-vhd C:\Program Files\Microsoft Learning\Base
WS08R2-NYC-DC1.vhd C:\Program Files\Microsoft Learning\Base\Drives
WS08R2-SVR2.vhd C:\Program Files\Microsoft Learning\Base\Drives
Win7-OFC-R.vhd C:\Program Files\Microsoft Learning\Base\Drives
C:\Program Files\Microsoft Learning\6418\Drives
6418C-LON-DC1.vhd
\6418C-LON-DC1\Virtual Hard Disks
C:\Program Files\Microsoft Learning\6418\Drives
6418C-LON-SVR1.vhd
\6418C-LON-SVR1\Virtual Hard Disks
C:\Program Files\Microsoft Learning\6418\Drives
6418C-NYC-BLANK.vhd
\6418C-NYC-BLANK\Virtual Hard Disks
C:\Program Files\Microsoft Learning\6418\Drives
6418C-NYC-CL1.vhd
\6418C-NYC-CL1\Virtual Hard Disks
C:\Program Files\Microsoft Learning\6418\Drives
6418C-NYC-CL2.vhd
\6418C-NYC-CL2\Virtual Hard Disks
C:\Program Files\Microsoft Learning\6418\Drives
6418C-NYC-CORE.vhd
\6418C-NYC-CORE\Virtual Hard Disks
C:\Program Files\Microsoft Learning\6418\Drives
6418C-NYC-DC1.vhd
\6418C-NYC-DC1\Virtual Hard Disks
C:\Program Files\Microsoft Learning\6418\Drives
6418C-NYC-RODC1.vhd
\6418C-NYC-RODC1\Virtual Hard Disks
C:\Program Files\Microsoft Learning\6418\Drives
6418C-NYC-SVR1.vhd
\6418C-NYC-SVR1\Virtual Hard Disks
C:\Program Files\Microsoft Learning\6418\Drives
6418C-NYC-SVR2.vhd
\6418C-NYC-SVR2\Virtual Hard Disks
C:\Program Files\Microsoft Learning\6418\Drives
6418C-NYC-SVR2-Allfiles.vhd
\6418C-NYC-SVR2\Virtual Hard Disks
WServer2008R2_Eval.iso C:\Program Files\Microsoft Learning\6418\Drives
Base05D-VH.vhd C:\Program Files\Microsoft Learning\6418\Drives
floppy.vfd C:\Program Files\Microsoft Learning\6418\Drives
10 6418C: Deploying Windows Server® 2008
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 6418_Drives share on the instructor computer to
C:\Program Files\Microsoft Learning\6418.
3. Ensure that you have copied the files using a permission retaining software such as
RoboCopy or XCopy.
4. Check that all permissions have been retained, by looking at the directories above
and making sure they are not Read-Only.
5. Add the virtual machines to the Hyper-V management console. For detailed
instructions, refer to the instructor computer setup.
6418C: Deploying Windows Server® 2008 11
4. Click Import.
Note: If you receive a message that the virtual machine imported with warnings,
right-click 6418C-LON-DC1, and then click Settings. Under IDE Controller 0,
verify that the 6418C-LON-DC1.vhd file is connected to the virtual machine. If it is
not connected, click Browse, and then browse to C:\Program Files
\Microsoft Learning\6418\drives\6418C-LON-DC1\Virtual Hard Disks. Click
6418C-LON-DC1.vhd, click Open and then click OK. If the hard drive is listed,
click OK.
6. Click the Start button, and then select to shut down the virtual machine.
7. After the virtual machine shuts down, in the Hyper-V Manager, under Virtual
Machines, right-click 6418C-NYC-DC1, and then click Snapshot.
8. Wait for the Snapshot process to finish. In the Snapshots pane, right-click the
snapshot name, and then click Rename.
9. Type StartingImage, and then press ENTER.
10. Right-click 6418C-NYC-DC1, and then click Start.
11. Right-click 6418C-NYC-DC1, and then click Connect.
12. Verify that the server boots. Log on as Contoso\Administrator, using a password of
Pa$$w0rd. Verify that the logon is successful.
13. On the Action menu, click Turn off. In the Turn Off Machine dialog box, click
Turn Off.
14. In the Virtual Machines pane, right-click 6418C-NYC-DC1, and then click Revert.
15. In the Revert Virtual Machine dialog box, click Revert.
16. Repeat Steps 1-15 for the following virtual machines:
• 6418C-NYC-CL1
• 6418C-NYC-CL2
• 6418C-NYC-CORE (Use the Administrator account)
• 6418C-NYC-RODC1
• 6418C-NYC-SVR2
• 6418C-LON-SVR1 (Use the Adatum\Administrator account)
6. On the Activate Windows by phone page, click the Change Product Key button.
Note: You might need to scroll down the window to see this button.
7. On the Change Product Key page, enter the learning product-specific product key
provided by Microsoft Learning, and then click Update.
8. On the Activate Windows by phone page, in the Step 1 list, select your location.
9. Dial the telephone number that is displayed in Step 2.
10. Follow the telephone instructions to activate Windows. This will take a few minutes.
11. Click the Start button, and then select to shut down the virtual machine.
12. After the virtual machine shuts down, in the Hyper-V Manager, under Virtual
Machines, right-click 6418C-LON-DC1, and then click Snapshot.
13. Wait for the Snapshot process to finish. In the Snapshots pane, right-click the
snapshot name, and then click Rename.
14. Type StartingImage, and then press ENTER.
15. Repeat Steps 1-14 for the following virtual machines:
• 6418C-NYC-SVR1 (Use Contoso\Administrator)
1. Check that all permissions have been retained, by looking at the directories above
and making sure they are not Read Only.
2. Run the VM-Pre-Import script (For Hyper-V R2 only). For detailed instructions
see the instructor computer setup.
3. Add the virtual machines to the Hyper-V management console. For detailed
instructions, refer to the instructor computer setup.
16 6418C: Deploying Windows Server® 2008
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.