Sie sind auf Seite 1von 33

20247D: Configuring and Deploying a

Private Cloud

Microsoft Hyper-V Classroom Setup


Guide

Contents
Introducing Microsoft Hyper-V 1
Setup Overview 2
Classroom Requirements 2
Hardware 2
Software 3
Classroom Configuration 3
Instructor Computer Checklist 5
Instructor Computer Setup 6
1. Install the Course Files 6
2. Create a Setup Share 10
3. Copy the Virtual Machine Files to the Student Computer 11
4. Configure the Host1 Computer to Boot to the 20247D-LON-
HOST1.vhd 11
5. Install the Hyper-V Server Role 13
6. Create an External Virtual Network 14
7. Run the VM-Pre-Import script 16
8. Import the Virtual Machines on the 20247D-LON-Host1
Computer 16
9. Configure the Host2 Computer to Boot to the 20247D-LON-
Host2.vhd 18
10. Run the VM-Pre-Import Script 19
11. Install the Hyper-V Server Role 20
12. Create an External Virtual Network 20
13. Import the Virtual Machines on the 20247D-LON-Host2
Computer 21
14. Confirm Hyper-V Host Configuration 22
15. Install the PowerPoint Slides 23
Student Computer Checklist 24
Student Computer Setup 25
1. Configure the StudentHost1 Computer to Boot to the 20247D-
LON-Host1.vhd 25
2. Install the Hyper-V Server Role 25
3. Create an External Virtual Network 25
4. Run the VM-Pre-Import Script 26
5. Import the Virtual Machines on the 20247D-LON-Host1
Computer 26
6. Configure the StudentHost2 Computer to Boot to the 20247D-
LON-Host2.vhd 26
7. Install the Hyper-V Server Role 26
8. Create an External Virtual Network 26
9. Run the VM-Pre-Import Scripts 26
10. Import the Virtual Machines on the 20247D-LON-Host2
Computer 27
11. Confirm Hyper-V Host Configuration 27
Appendix A 28
Lab and Demo Dependencies 29
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.
Copyright 2013 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.

Product Number: 20247D

Version 1.2
20247D: Configuring and Deploying a Private Cloud 1

Introducing Microsoft Hyper-V


Important Note: This course requires two host computers for each student and for
the Instructor. The two host computers are identified as LON-Host1 and LON-
Host2 in this setup guide.

This setup requires Windows Server 2012 R2 Hyper-V. In order to successfully


import virtual machines in to Windows Server 2012 R2 Hyper-V, you will have to
run the VM-Pre-Import script that will create symbolic links to the Base images in
the C:\Program Files\Microsoft Learning\20247\Drives
\VirtualMachineName\Virtual Hard Disks\ folders.

This learning product is designed using Microsoft Hyper-V running on Windows


Server 2012. 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 simultaneously on a single physical server. Hyper-V is included
with some versions of Windows Server 2012. Hyper-V can only be run on 64-bit
version of Windows Server 2008 or Windows Server 2012 running on 64-bit
hardware.
Host Computer: The physical computer onto which an operating system and the
Hyper-V server role have been installed.
Host Operating System: The operating system that is running on the physical
computer. With Hyper-V, the only supported host operating systems are Windows
Server 2008 and Windows Server 2012.
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.

Note: Pressing CTRL+ALT+DELETE while working with a virtual machine will


display the Windows Security dialog box for the host operating system. To close
the dialog box, press ESC. To access the Windows Security dialog box for a guest
operating system, press CTRL+ALT+END. Other than this difference, software on
a virtual machine behaves as it would behave on a physical computer.
2 20247D: Configuring and Deploying a Private Cloud

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 2012 and
must be running on 64 bit hardware. For more information on the supported hardware for
Hyper-V, please see the follow web site: http://www.microsoft.com/hyper-v. For the
purposes of this learning product, two host computers assigned to each student are able to
communicate with each other, but they must not be able to communicate with other host
computers on the network. To make it easier to copy the course files during setup, you
can connect all the computers to the same network, but the two host computers assigned
to each user must be isolated before completing the classroom setup. You should note the
administrators user name and password for the host computers and provide this
information to the instructor.

Classroom Requirements
This learning product requires a classroom with a minimum of two computers for the
instructor and two 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 7 (Please note the change to the drive configuration for this course)
64 bit Intel Virtualization Technology (Intel VT) or AMD Virtualization (AMD-V)
processor (2.8 Ghz dual core or better recommended)

Note: The two host machines provided for the instructor and each student must
use the same processor architecture. Both host machines must be running either
Intel Virtualization Technology (Intel VT) or AMD Virtualization (AMD-V) processor,
you cannot use one host machine with each processor architecture.

Two 500 GB hard disks 7200 RPM SATA or faster. Each must be configured as a
separate drive labeled Drive C and Drive D.
16 GB RAM or higher
DVD drive
20247D: Configuring and Deploying a Private Cloud 3

Network adapter
Dual SVGA monitors 17 or larger supporting 1440X900 minimum resolution
Microsoft Mouse or compatible pointing device
Sound card with amplified speakers

In addition, the instructor computer must be connected to a projection display device that
supports SVGA 1024 x 768 pixels, 16 bit colors.

Note: The projection display device needs to be attached to the instructors Host1
computer only.

Note: The network adapters on the Virtual Machines have been configured with a
Jumbo Frame setting of 9KB. During the setup you also configure both network
adapters on each host with the same settings. This is to improve performance in
the lab. For this reason it is important that any Network Switches used in the
classroom support Jumbo Frames. If not, you will experience network
communication issues between the hosts and guest Operating Systems. If Network
Switches with Jumbo Frame support cannot be used then you must disable the
Jumbo Frame setting on all network adapters on both hosts and all virtual
machines.

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
This course requires two host computers for the instructor and for each student. The two
computers for each person must have network connectivity with each other, but must not
be able to communicate with other computers on the network.
The two host computers will be configured to run Hyper-V as part of the classroom
installation, or as part of the student labs. Each host computer will also host several
virtual machines. This classroom setup guide describes how to complete the classroom
setup for both host machines.
4 20247D: Configuring and Deploying a Private Cloud

Important: The two host computers are not configured identically. As you complete
the classroom setup, ensure that you are performing the setup steps on the
appropriate host computer.

Estimated Time to Set up the Classroom: 8 hours


20247D: Configuring and Deploying a Private Cloud 5

Instructor Computer Checklist


1. Install the Course Files
2. Create a Setup Share
3. Copy the Virtual Machine Files to the Student Computers
4. Configure the Host1 Computer to Boot to the 20247D-LON-Host1.vhd
5. Install the Hyper-V Server Role
6. Create an External Virtual Network
7. Run the VM-Pre-Import Script
8. Import the Virtual Machines on the 20247D-LON-Host1 Computer
9.Configure the Host2 Computer to Boot to the 20247D-LON-Host2.vhd
10. Run the VM-Pre-Import Script
11.Install the Hyper-V Server Role
12. Create an External Virtual Network
13.Import the Virtual Machines on the 20247D-Host2 Computer
14.Confirm Hyper-V Host Configuration
15. Install the PowerPoint Slides
6 20247D: Configuring and Deploying a Private Cloud

Instructor Computer Setup


Use the instructions in the following section to set up the classroom manually. Before
starting the installation of the instructor computers, Windows Server 2012 R2 must be
installed on the computer.

Important: The operating systems installed on the virtual machines in this learning
product have not been activated. 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 will either have to run
rearm or activate the virtual machines using your own keys.

If the operating system has not retained this state, you may have time to run the
class before activation is required. Otherwise you can rearm the operating system
by running slmgr rearm at the Administrative command prompt. If no additional
rearms are available, then the virtual machine will go in to notification mode but
will still provide full functionality. You will just have to close the initial messages
about activation.

You may be prompted to restart the computer when the VM is started for the first
time. This is because of the hardware differences on the Host computer.

1. Install the Course Files


On both host computers, you will need to follow the following steps to copy the base
images, and virtual machine files to the server and then configure the virtual machines.

Important: Complete the following step on both Host1 and Host2.

Extract the Course Images


To Extract the Base Images:
1. From the courseware source files location, double-click
Base11A-WS08R2SP1.part01.exe and Base14A-WS12R2.part01.exe.
2. In the Official Microsoft Learning Product License Terms window, click Accept to
indicate that you accept the terms in the license agreement.
3. In the WinRAR self-extracting archive window, in the Destination folder text box,
ensure that C:\Program Files\Microsoft Learning\Base is listed, and then click
Extract. Please wait while the base virtual hard disk file is extracted. This might take
a few minutes.
20247D: Configuring and Deploying a Private Cloud 7

To Extract the Host .VHD Files:

Important: The following step should be completed on the Host1 computer only.

1. From the courseware source files location, double-click


20247D-LON-HOST1.part01.exe.
2. In the Official Microsoft Learning Product License Terms window, click Accept
to indicate that you accept the terms in the license agreement.
3. In the WinRAR self-extracting archive window, in the Destination folder text box,
ensure that C:\Program Files\Microsoft Learning\Base is listed, and then click
Extract. Wait while the virtual hard disk file is extracted. This might take a few
minutes. When the installation is complete, click Close.

Important: The following steps should be completed on the Host2 computer only.

1. From the courseware source files location, double-click


20247D-LON-HOST2.part01.exe.
2. In the Official Microsoft Learning Product License Terms window, click Accept
to indicate that you accept the terms in the license agreement.
3. In the WinRAR self-extracting archive window, in the Destination folder text box,
ensure that C:\Program Files\Microsoft Learning\Base is listed, and then click
Extract. Wait while the virtual hard disk file is extracted. This might take a few
minutes. When the installation is complete, click Close.
8 20247D: Configuring and Deploying a Private Cloud

To Extract the Virtual Machines:

Important: The following steps should be completed on the Host1 computer only.

1. From the courseware source files location, double-click


20247D-H1-LON-DC1.part01.exe
2. In the Official Microsoft Learning Product License Terms window, click Accept
to indicate that you accept the terms in the license agreement.
3. In the WinRAR self-extracting archive window, in the Destination folder text box,
ensure that D:\Program Files\Microsoft Learning\20247\Drives is listed, and then
click Extract. Wait while the virtual hard disk file is extracted. This might take a few
minutes. When the installation is complete, click Close.
4. Repeat steps 1 through 4 for the following files:
20247D-H1-LON-SM1.part01.exe
20247D-H1-LON-DW1.part001.exe
20247D-H1-LON-SQ1.part01.exe
20247D-H1-LON-AP2.part01.exe
20247D-H1-LON-WEB.part01.exe
VM-Pre-Import-20247D-LON-HOST1.exe
20247D: Configuring and Deploying a Private Cloud 9

Important: The following steps should be completed on the Host2 computer only.

1. From the courseware source files location, double-click


20247D-H2-LON-DM1.part01.exe
2. In the Official Microsoft Learning Product License Terms window, click Accept
to indicate that you accept the terms in the license agreement.
3. In the WinRAR self-extracting archive window, in the Destination folder text box,
ensure that D:\Program Files\Microsoft Learning\20247\Drives is listed, and then
click Extract. Wait while the virtual hard disk file is extracted. This might take a few
minutes. When the installation is complete, click Close.
4. Repeat steps 1 through 4 for the following files:
20247D-H2-LON-OM1.part01.exe
20247D-H2-LON-OR1.part01.exe
20247D-H2-LON-AP1.part01.exe
20247D-H2-LON-VM1.part001.exe
20247D-H2-LON-WAP.part01.exe
VM-Pre-Import-20247D-LON-HOST2.exe

Note: After completing the extraction of all of the classroom files, you should have
the following files installed on Host1:

File In Folder
Base11A-WS08R2SP1.vhd C:\Program Files\Microsoft Learning\Base

Base14A-WS12R2.vhd C:\Program Files\Microsoft Learning\Base

20247D-LON-HOST1.vhd C:\Program Files\Microsoft Learning\Base

D:\Program Files\Microsoft Learning\20247\drives


20247D-LON-DC1.vhd
\20247D-LON-DC1\Virtual Hard Disks

D:\Program Files\Microsoft Learning\20247\drives


20247D-LON-SM1.vhd
\20247D-LON-SM1\Virtual Hard Disks

D:\Program Files\Microsoft Learning\20247\drives


20247D-LON-DW1.vhd
\20247D-LON-DW1\Virtual Hard Disks

D:\Program Files\Microsoft Learning\20247\drives


20247D-LON-SQ1.vhd
\20247D-LON-SQ1\Virtual Hard Disks

D:\Program Files\Microsoft Learning\20247\drives


20247D-LON-AP2.vhd
\20247D-LON-AP2\Virtual Hard Disks
10 20247D: Configuring and Deploying a Private Cloud

File In Folder
D:\Program Files\Microsoft Learning\20247\drives
20247D-LON-WEB.vhd
\20247D-LON-WEB\Virtual Hard Disks

VM-Pre-Import-20247D-LON-HOST1.bat D:\Program Files\Microsoft Learning\20247\drives

Note: After completing the extraction of all of the classroom files, you should have
the following files installed on Host2:

File In Folder
Base11A-WS08R2SP1.vhd C:\Program Files\Microsoft Learning\Base

Base14A-WS12R2.vhd C:\Program Files\Microsoft Learning\Base

20247D-LON-HOST2.vhd C:\Program Files\Microsoft Learning\Base

D:\Program Files\Microsoft Learning\20247\drives


20247D-LON-DM1.vhd
\20247D-LON-DM1\Virtual Hard Disks

D:\Program Files\Microsoft Learning\20247\drives


LON-DM1_Storage_Pool.vhd
\20247D-LON-DM1\Virtual Hard Disks

D:\Program Files\Microsoft Learning\20247\drives


20247D-LON-OM1.vhd
\20247D-LON-OM1\Virtual Hard Disks

D:\Program Files\Microsoft Learning\20247\drives


20247D-LON-OR1.vhd
\20247D-LON-OR1\Virtual Hard Disks

D:\Program Files\Microsoft Learning\20247\drives


20247D-LON-AP1.vhd
\20247D-LON-SQ1\Virtual Hard Disks

D:\Program Files\Microsoft Learning\20247\drives


20247-LON-VM1.vhd
\20247D-LON-VM1\Virtual Hard Disks

D:\Program Files\Microsoft Learning\20247\drives


20247D-LON-WAP.vhd
\20247D-LON-WAP\Virtual Hard Disks

VM-Pre-Import-20247D-LON-HOST2.bat D:\Program Files\Microsoft Learning\20247\drives

2. Create a Setup Share


In this task, you will share virtual machine files for copying to student computers.

Note: Complete these steps on both LON-Host1 and LON-Host2.

1. Share the C:\Program Files\Microsoft Learning\Base folder using a share name of


Base_Drives.
20247D: Configuring and Deploying a Private Cloud 11

2. Share the D:\Program Files\Microsoft Learning\20247\Drives folder using a share


name of 20247_Drives.

Note: For information on how to set up a share in Windows Server 2012, see the
topic Share a Resource in Windows Help and Support.

3. Copy the Virtual Machine Files to the Student


Computer
Note: You must perform the file copy prior to completing the rest of the setup. Each
student must be configured with two host computers, indentified in the following
steps as StudentHost1, and StudentHost2.

1. From the StudentHost1 student computer, copy all of the files from the Base_Drives
share on the Host1 instructor computer to C:\Program Files\Microsoft Learning\Base.
2. Copy all of the files from the 20247_Drives share on the Host1 instructor computer
to D:\Program Files\Microsoft Learning\20247\Drives.
3. From the StudentHost2 student computer, copy all of the files from the Base_Drives
share on the Host2 instructor computer to C:\Program Files\Microsoft Learning\Base.
4. Copy all of the files from the 20247_Drives share on the Host2 instructor computer
to D:\Program Files\Microsoft Learning\20247\Drives.

4. Configure the Host1 Computer to Boot to the


20247D-LON-HOST1.vhd
Note: You must perform the following steps on Host1 only.

1. From the Host1 computer, from Server Manager click Tools, then click Computer
Management.
2. Expand Storage, right-click Disk Management, and click Attach VHD.
3. In the Attach Virtual Hard Disk dialog box, click Browse.
4. Browse to C:\Program Files\Microsoft Learning\Base, click
20247-LON-HOST1.vhd. Click Open, and then click OK. Note the drive letter that
is associated with the 126.66 GB partition.
5. Click Start, right-click Command Prompt, and click Run as administrator. If
required, click Yes.
12 20247D: Configuring and Deploying a Private Cloud

6. At the command prompt, type bcdboot <driveLetter>:\windows and press Enter.


Where <driveLetter> is the drive letter that was associated with the 126.66 GB
partition.
7. At the command prompt, type bcdedit /set {default} Description 20247D-LON-
HOST1 and press Enter.
8. Restart the host computer. The computer will restart and by default will boot into the
20247D-LON-HOST1 computer.

Note: These steps configure the server to boot to the 20247D-LON-HOST1


computer as the default. After finishing the course, if you need to boot to the
original host operating system, open a command prompt and type bcdedit /delete
{default} and press Enter. When you restart the computer, it will boot to the
original operating system.

9. After the server restarts, logon as Contoso\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 2012 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 2012 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 20247-LON-Host1.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.

e. Repeat for all bootable host VHD files.


20247D: Configuring and Deploying a Private Cloud 13

10. Resize the screen resolution as needed.


11. If necessary, on the Microsoft Windows prompt, click Restart Now. After the
computer restarts, log on as Contoso\Administrator, using a password of Pa$$w0rd.
12. Click Start, then click Control Panel and then click Device Manager. Verify that
all devices have been installed. If there are any devices that require a driver, obtain
the driver from the host computer manufacturer and install as needed.
13. Perform the following:
Open a command prompt and type slmgr rearm.
Restart the computer as prompted. After the computer restarts, log on as
Contoso\Administrator, using a password of Pa$$w0rd.
14. Open Server Manager, click Local Server and then click the hyperlink next to the
Ethernet 4 device.
15. Right-click the Ethernet 4 device, and click Properties.
16. In the Ethernet Properties dialog box, click Internet Protocol Version 4
(TCP/IPv4), and then click Properties.
17. In the Internet Protocol Version 4 (TCP/IP/IPv4) Properties dialog box, click the
Use the following IP address, and Use the following DNS server addresses
options, and then configure the following network settings:
a. IP address: 10.10.0.101
b. Subnet mask: 255.0.0.0
c. Default Gateway: 10.10.0.1
d. Preferred DNS server: 10.10.0.10
18. Click OK, and if a Microsoft TCP/IP dialog box opens, click Yes.
19. Click Close to close the Ethernet 4 Properties dialog box, and close the open
windows.
20. Close Server Manager.

5. Install the Hyper-V Server Role


In this task, you will install the Hyper-V server role on LON-HOST1.
1. Click Start, then click Server Manager.
2. In the Server Manager console, click Add roles and features.
3. On the Before You Begin page, click Next.
4. On the Installation Type page, click Next.
5. On the Server Selection page, click Next.
14 20247D: Configuring and Deploying a Private Cloud

6. On the Select Server Roles page, select the Hyper-V check box and then click Add
Features and click Next.
7. On the Select Features page, click Next.
8. On the Hyper-V page click Next.
9. On the Create Virtual Switches page, ensure that the Ethernet 4 check box is not
selected, and click Next.
10. On the Virtual Machine Migration page click Next.
11. On the Default Stores page click Next.
12. On the Confirm Installation Selections page, select the Restart the destination
server automatically if required option and then click Yes then click Install.
13. After the server restarts, log on as Contoso\Administrator using a password of
Pa$$w0rd.
14. Open Server Manager and then wait for the Add Roles and Features Wizard to
appear, then complete, then click Close and then close Server Manager.

6. Create an External Virtual Network


1. On the LON-HOST1 machine, click Start, type Hyper and click Hyper-V Manager.
2. In the Hyper-V Manager console, click LON-HOST1, and then on the Action pane
click Virtual Switch Manager.
3. In the center pane, click External, and click Create Virtual Switch.
4. In the Name field, type External Network, click OK. Click Yes.

Note: If the OK button is not visible on the screen, increase the screen resolution
to at least 1024x768,

5. Open Server Manager, click the Local Server and then click the hyperlink next to
vEthernet (External Network).
6. Right-click the vEthernet (External Network) connection and then click
Properties.
7. Click Internet Protocol Version 4 (TCP/IPv4) and then click Properties.
8. In the Properties dialog box configure the IP settings as follows:
IP Address: 10.10.0.101
Subnet Mask: 255.0.0.0
Default Gateway: 10.10.0.1
Preferred DNS Server: 10.10.0.10
20247D: Configuring and Deploying a Private Cloud 15

9. Click OK on the Internet Protocol Version 4 (TCP/IPv4) Properties dialog box.


10. Click Close on the vEthernet (External Network) Properties window.
11. Right-click the vEthernet (External Network) connection and then click
Properties.
12. Click Configure and then click the Advanced tab.
13. Click Jumbo Packet (or Jumbo Frame) and then in the Value box select 9014
Bytes (or 9KB MTU) and then click OK.
14. Repeat steps 11 13 for the Ethernet 4 connection.

Important: It is crucial that the jumbo settings are configured for BOTH network
adapters. If not, networking issues will be experienced in the Labs.

15. Close Network Connections.


16 20247D: Configuring and Deploying a Private Cloud

7. Run the VM-Pre-Import script


Important: The following steps should be completed on the Host1 computer only.

In this task, you will run the VM-Pre-Import file. This script will create links to the Base
image in the import folder necessary for importing each VM.
1. On Host1, browse to <DriveLetter>:\Program Files\Microsoft Learning
\20247\Drives (where <DriveLetter> represents the drive that contains the course
VHD extracted drives).
2. Double-click VM-Pre-Import-20247D-LON-HOST1.bat.
3. At prompt, type the Drive letter that represents the drive that contains the extracted
base images. (Only type the drive letter, you do not need to type :\) and then press
Enter.
4. Press Enter to close the command prompt window.

8. Import the Virtual Machines on the


20247D-LON-Host1 Computer
1. On the LON-HOST1 computer, in Hyper-V Manager, in the Actions pane, click
Import Virtual Machine.
2. On the Locate Folder page click Browse. Browse to <DriveLetter>:\Program
Files\Microsoft Learning\20247\Drives, click
20247D-LON-DC1, and then click Select Folder. (Where <DriveLetter> is the drive
that contains the extracted course VHDs.)
3. Click Next.
4. On the Select Virtual Machine page click Next.
5. On the Choose Import Type page click Next.
6. On the Summary page click Finish.

Note: If you receive a message that the virtual machine imported with warnings,
right-click the virtual machine and click Settings. Under IDE Controller 0, verify
that the hard drive file is connected to the virtual machine. If it is not connected,
click Browse, and browse to <DriveLetter>:\Program Files\Microsoft Learning
\20247\Drives\<VM Name>\Virtual Hard Disks and select the appropriate VHD
file. Also verify that the second hard drive is connected (if applicable).

7. Right-click 20247D-LON-DC1, and click Start.


8. Right-click 20247D-LON-DC1, and click Connect.
20247D: Configuring and Deploying a Private Cloud 17

9. Verify that the virtual machine boots. Log on as Contoso\Administrator, using a


password of Pa$$w0rd.
10. If necessary, on the Microsoft Windows prompt, click Restart Now. After the
computer restarts, log on as Contoso\Administrator, using a password of Pa$$w0rd.
11. If a Windows Activation notification message is displayed, click Cancel and then
perform the following:
a. Open a command prompt and type slmgr rearm.
b. Restart the computer as prompted. After the computer restarts, log on as
Contoso\Administrator, using a password of Pa$$w0rd.
12. Leave 20247D-LON-DC1 running as you complete the following steps.
13. Repeat Steps 1-12 for the following virtual machines. After configuring each virtual
machine, shut down the virtual machine. Leave LON-DC1 running.
20247D-LON-SM1
20247D-LON-DW1
20247D-LON-SQ1
20247D-LON-AP2
20247D-LON-WEB
18 20247D: Configuring and Deploying a Private Cloud

9. Configure the Host2 Computer to Boot to the


20247D-LON-Host2.vhd
Note: You must perform the following steps on Host2 only.

1. On the LON-Host2 computer, from Server Manager click Tools then open
Computer Management.
2. Expand Storage, right-click Disk Management, and click Attach VHD.
3. In the Attach Virtual Hard Disk dialog box, click Browse.
4. Browse to C:\Program Files\Microsoft Learning\Base, click
20247-LON-Host2.vhd. Click Open, and then click OK. Note the drive letter
assigned to the 126.66 GB partition.
5. Click Start, type CMD then right-click Command Prompt, and click Run as
administrator. If required, click Yes.
6. At the command prompt, type bcdboot <driveLetter>:\windows and press Enter.
(Where <driverLetter> is the drive letter associated with the 126.66 GB partition.)
7. At the command prompt, type bcdedit /set {default} Description 20247D-LON-
HOST2 and press Enter.
8. Restart the host computer. The computer will restart and by default will boot into the
LON-HOST2 computer.

Note: In some cases, the computer may display a blue screen with a stop error
when you restart the computer. If this happens, use the troubleshooting steps listed
in the Configure the Host1 Computer to Boot to the 20247D-LON-Host1.vhd to
troubleshoot the issue.

9. After the server restarts, logon as Contoso\Administrator using the password


Pa$$w0rd.

Note: These steps configure the server to boot to the 20247D-LON-HOST2


computer as the default. After finishing the course, if you need to boot to the
original host operating system, open a command prompt and type bcdedit /delete
{default} and press Enter. When you restart the computer, it will boot to the
original operating system.

10. Modify the screen resolution as needed.


11. If necessary, on the Microsoft Windows prompt, click Restart Now. After the
computer restarts, log on as Contoso\Administrator, using a password of Pa$$w0rd.
20247D: Configuring and Deploying a Private Cloud 19

12. Click Start, then click Control Panel and then click Device Manager. Verify that
all devices have been installed. If there are any devices that require a driver, obtain
the driver from the host computer manufacturer and install as needed.
13. Perform the following:
a. Open a command prompt and type slmgr rearm.
b. Restart the computer as prompted. After the computer restarts, log on as
Contoso\Administrator, using a password of Pa$$w0rd.
14. Open Server Manager, click Local Server, and then click the hyperlink next to the
Ethernet 4 device.
15. Right-click the Ethernet 4 device and click Properties.
16. In the Ethernet 4 Properties dialog box, click Internet Protocol Version 4
(TCP/IPv4), and then click Properties.
17. In the Internet Protocol Version 4 (TCP/IP/IPv4) Properties dialog box, click the
Use the following IP address, and Use the following DNS server addresses
options, and then configure the following network settings:
a. IP address: 10.10.0.102
b. Subnet mask: 255.0.0.0
c. Default Gateway: 10.10.0.1
d. Preferred DNS server: 10.10.0.10
18. Click OK, and if a Microsoft TCP/IP dialog box opens, click Yes.
19. Click Close to close the Ethernet 4 Properties dialog box.
20. Close the Network Connections windows.

10. Run the VM-Pre-Import Script

Important: The following steps should be completed on the LON-Host2 computer


only.

In this task, you will run the VM-Pre-Import file. This script will create links to the Base
image in the import folder necessary for importing each VM.
1. On Host2, browse to <DriveLetter>:\Program Files\Microsoft Learning\20247
\Drives (where <DriveLetter> represents the drive that contains the course VHD
extracted drives).
2. Double-click VM-Pre-Import-20247D-LON-HOST2.bat.
20 20247D: Configuring and Deploying a Private Cloud

3. At the prompt, type the Drive letter that represents the drive that contains the
extracted base images. (Only type the drive letter, you do not need to type :\) and
then press Enter.
4. Press Enter to close the command prompt window.

11. Install the Hyper-V Server Role


In this task, you will install the Hyper-V server role on LON-HOST2.
1. Click Start, then click Server Manager.
2. In the Server Manager console, click Add roles and features.
3. On the Before You Begin page, click Next.
4. On the Installation Type page, click Next.
5. On the Server Selection page, click Next.
6. On the Select Server Roles page, select the Hyper-V check box and then click Add
Features and click Next.
7. On the Select Features page, click Next.
8. On the Hyper-V page click Next.
9. On the Create Virtual Switches page, ensure that the Ethernet 4 check box is not
selected, and click Next.
10. On the Virtual Machine Migration page click Next.
11. On the Default Stores page click Next.
12. On the Confirm Installation Selections page, select the Restart the destination
server automatically if required option and then click Yes then click Install.
13. After the server restarts, log on as Contoso\Administrator using a password of
Pa$$w0rd.
14. Open Server Manager and then wait for the Add Roles and Features Wizard to
appear and then complete. Click Close and then close Server Manager.

12. Create an External Virtual Network


1. On LON-HOST2, click Start, type Hyper and then click Hyper-V Manager.
2. In the Hyper-V Manager console, click LON-HOST2, and then on the Action Pane
click Virtual Switch Manager.
3. In the center pane, click External, and click Create Virtual Switch.
4. In the Name field, type External Network, click OK. Click Yes.
20247D: Configuring and Deploying a Private Cloud 21

Note: If the OK button is not visible on the screen, increase the screen resolution
to at least 1024x768.

5. Open Server Manager, click Local Server and then click the hyperlink next to
vEthernet (External Network).
6. Right-click the vEthernet (External Network) connection and then click
Properties.
7. Click Internet Protocol Version 4 (TCP/IPv4) and then click Properties.
8. In the Properties dialog box configure the IP settings as follows:
IP Address: 10.10.0.102
Subnet Mask: 255.0.0.0
Default Gateway: 10.10.0.1
Preferred DNS Server: 10.10.0.10
9. Click OK on the Internet Protocol Version 4 (TCP/IPv4) Properties dialog box.
10. Click Close on the vEthernet (External Network) Properties window.
11. Right-click the vEthernet (External Network) connection and then click
Properties.
12. Click Configure and then click the Advanced tab.
13. Click Jumbo Packet (or Jumbo Frame) and then in the Value box select 9014
Bytes (or 9KB MTU) and then click OK.
14. Repeat steps 11 13 for the Ethernet 4 connection.

Important: It is crucial that the jumbo settings are configured for BOTH network
adapters. If not, networking issues will be experienced in the Labs.

15. Close Network Connections.

13. Import the Virtual Machines on the


20247D-LON-Host2 Computer
1. On the LON-HOST2 computer, in Hyper-V Manager, in the Actions pane, click
Import Virtual Machine.
2. On the Locate Folder page, click Browse. Browse to <DriverLetter>:\Program
Files\Microsoft Learning\20247\Drives, click
22 20247D: Configuring and Deploying a Private Cloud

20247D-LON-DM1, and then click Select Folder. (Where <DriveLetter> is the


drive that contains the extracted VHDs.)
3. Click Next.
4. On the Select Virtual Machine page click Next.
5. On the Choose Import Type page click Next.
6. On the Summary page click Finish.

Note: If you receive a message that the virtual machine imported with warnings,
right-click the virtual machine and click Settings. Under IDE Controller 0, verify
that the hard drive file is connected to the virtual machine. If it is not connected,
click Browse, and browse to <DriveLetter>:\Program Files\Microsoft Learning
\20247\Drives\<VM Name>\Virtual Hard Disks and select the appropriate VHD
file. Also verify that the second hard drive is connected (if applicable).

7. Right-click 20247D-LON-DM1, and click Start.


8. Right-click 20247D-LON-DM1, and click Connect.
9. Verify that the virtual machine boots. Log on as Contoso\Administrator, using a
password of Pa$$w0rd.
10. If necessary, on the Microsoft Windows prompt, click Restart Now. After the
computer restarts, log on as Contoso\Administrator, using a password of Pa$$w0rd.
11. If a Windows Activation notification message is displayed, click Cancel and then
perform the following:
a. Open a command prompt and type slmgr rearm.
b. Restart the computer as prompted. After the computer restarts, log on as
Contoso\Administrator, using a password of Pa$$w0rd.
12. Repeat Steps 1-12 for the following virtual machines. After configuring each virtual
machine, shut down the virtual machine.
20247D-LON-OM1
20247D-LON-OR1
20247D-LON-AP1
20247D-LON-VM1
20247D-LON-WAP

14. Confirm Hyper-V Host Configuration


1. On LON-HOST1 start 20246-LON-DC1. Wait until it is at the logon prompt.
20247D: Configuring and Deploying a Private Cloud 23

2. Open Network and Sharing Center on LON-HOST1 and then click Change
adapter settings.
3. If the vEthernet (External Network) adapter does not display CONTOSO.COM
then right-click the adapter and then click Disable.
4. Right-click the adapter again and then click Enable.
5. Refresh the view until CONTOSO.COM is displayed.
6. Repeat steps 2 5 substituting LON-HOST1 with LON-HOST2.

Note: If the vEthernet (External Network) adapter does not display CONTOSO.COM
after completing the steps above check the following settings on both hosts:
IP address configuration
Time Zones configuration

15. Install the PowerPoint Slides


In this task, you will install the PowerPoint slides for the learning product.
In the Trainer Materials disc, in the \TrainerFiles folder, extract
20247D-ENU-PowerPoint.exe.
24 20247D: Configuring and Deploying a Private Cloud

Student Computer Checklist


1. Configure the StudentHost1 Computer to Boot to the 20247D-LON-Host1.vhd
2. Install the Hyper-V Server Role
3. Create an External Virtual Network
4. Run the VM-Pre-Import Script
5. Import the Virtual Machines on the 20247D-LON-Host1 Computer
6. Configure the StudentHost2 Computer to Boot to the 20247D-LON-Host2.vhd
7. Install the Hyper-V Server Role
8. Create an External Virtual Network
9. Run the VM-Pre-Import Script
10. Import the Virtual Machines on the 20247D-LON-HOST2 Computer
11. Confirm Hyper-V Host Configuration.
20247D: Configuring and Deploying a Private Cloud 25

Student Computer Setup


Use the instructions in the following section to set up the classroom manually. Before
starting the installation of the student computers, Windows Server 2012 must be installed
on the computers.

Caution: Microsoft Learning recommends copying the virtual machines to the


student computers by means of a manually created DVD or universal serial bus
(USB) drive.

Note: Ensure that all extracted courseware files were copied from the Instructor
computer during the Instructor Computer setup. Compare the files on the student
computers with the files listed in the tables in the Instructor Computer setup
section.

1. Configure the StudentHost1 Computer to Boot to


the 20247D-LON-Host1.vhd
Note: You must perform the following steps on StudentHost1 only.

Configure the StudentHost1 computer to boot from the 20247D-LON-Host1.vhd file.


For detailed instructions see the instructor computer setup.

2. Install the Hyper-V Server Role


Note: You must perform the following steps on StudentHost1 only.

Install the Hyper-V server role on LON-Host1. For detailed instructions see the
instructor computer setup.

3. Create an External Virtual Network


In Hyper-V Manager on LON-Host1, create an external virtual network named
External Network. For detailed instructions see the instructor computer setup.
26 20247D: Configuring and Deploying a Private Cloud

4. Run the VM-Pre-Import Script


Run the VM-Pre-Import scripts on LON-HOST1. For detailed instructions see the
instructor computer setup.

5. Import the Virtual Machines on the


20247D-LON-Host1 Computer
Add the virtual machines to the Hyper-V management console. For detailed
instructions see the instructor computer setup.

6. Configure the StudentHost2 Computer to Boot to


the 20247D-LON-Host2.vhd
Note: You must perform the following steps on StudentHost2 only.

Configure the StudentHost2 computer to boot from the 20247D-LON-Host2.vhd file.


For detailed instructions see the instructor computer setup.

7. Install the Hyper-V Server Role


Note: You must perform the following steps on StudentHost2 only.

Install the Hyper-V server role on LON-Host2. For detailed instructions see the
instructor computer setup.

8. Create an External Virtual Network


In Hyper-V Manager on LON-Host2, create an external virtual network named
External Network. For detailed instructions see the instructor computer setup.

9. Run the VM-Pre-Import Scripts


Run the VM-Pre-Import scripts on LON-HOST2. For detailed instructions see the
instructor computer setup.
20247D: Configuring and Deploying a Private Cloud 27

10. Import the Virtual Machines on the


20247D-LON-Host2 Computer
Add the virtual machines to the Hyper-V management console. For detailed
instructions see the instructor computer setup.

11. Confirm Hyper-V Host Configuration


Confirm both Hyper-V Hosts network adapters are connected to the Contoso network.
For detailed instructions see the instructor computer setup.
28 20247D: Configuring and Deploying a Private Cloud

Appendix A
The virtual machines were developed using the English (United States) layout shown
below.

If your physical keyboard doesnt 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.
20247D: Configuring and Deploying a Private Cloud 29

Lab and Demo Dependencies


Some labs and demonstrations are dependent on previous labs and demos being completed. Listed
below are the dependencies for each lab and demo.

Lab and demo dependencies are as follows:

Lab/Demo Dependent on lab


1 None
2 1

3 1 and 2
4 1 and 2
5 1 and 2

6 1, 2 and 5
7 1 and 2
8 1, 2 and 7

9 1, 2 and 5
10 1 and 2
11 1, 2 and 5

12 1, 2, 5 and 9