20461C Setup Guide
20461C Setup Guide
Server
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
4
Instructor Computer Setup
5
1. Install the Hyper-V Server Role
6
2. Set Up the MSL-TMG1 Virtual Machine
7
3. Install the Virtual Machine Files
7
4. Create a Setup Share
9
5. Copy the Virtual Machine Files to the Student Computer
9
6. Run the VM-Pre-Import script
10
7. Import the Virtual Machines on the Instructor Computer
10
8. Configure the Virtual Machines on the Instructor Computer 10
9. Install the PowerPoint Slides
12
Student Computer Checklist
13
Student Computer Setup
14
1. Install the Hyper-V Server Role
14
2. Install the Base Image / Virtual Machine Files
14
Appendix A Keyboard Layout
15
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.
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.
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 may be 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.
2014 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
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.
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. For this course, the only supported host operating system is 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.
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, it is not necessary for the host computers to be able to
communicate with another network. However, allowing them to communicate with each
other is recommended 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.
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+
Hard Disk: Dual 120 GB hard disks 7200 RM SATA or better (Striped)
In addition, the instructor computer must be connected to a projection display device that
supports SVGA 1024 x 768 pixels, 16 bit colors.
Note: For the best classroom experience, a computer with solid state disks (SSDs) is
recommended. For optimal performance, adapt the instructions below to install the
20461C-MIA-SQL virtual machine on a different physical disk than the other virtual
machines to reduce disk contention.
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 the following virtual machines that
will run in Hyper-V. Domain or workgroup membership does not matter. The network
configuration of the host computers should provide access to the Internet. After
completion of the setup, all computers will be configured to run the virtual machines
named:
MSL-TMG1
20461C-MIA-DC
20461C-MIA-SQL
Note: This course is designed to use an Internet connection inside the virtual
machine. If there is no Internet connection present, this course will need to be
modified to be delivered from a disconnected student machine.
The Internet connection is required to access Microsoft Azure and Office 365, and
the outbound internet connection must have TCP port 1433 open, otherwise Azure
will not connect to the SQL instance in the VM.
1.
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 the local computer is selected, and
then click Next.
5. On the Select 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.
8. On the Select features page, click Next.
9. On the Hyper-V page, click Next.
10. On the Create Virtual Switches page, verify that no selections have been made, and
then click Next.
11. On the Virtual Machine Migration page, click Next.
12. On the Default Stores page, review the location of Default Stores, and then click
Next.
13. On the Confirm Installation Selections page, select Restart the destination server
automatically if required.
14. In the Add Roles and Features Wizard dialog box, review the message about
automatic restarts, and then click Yes.
15. On the Confirm Installation Selections page, click Install.
16. Ensure that you restart the machine.
17. After the final restart, log on using administrator credentials.
7. Please wait while the middle tier virtual hard disk file is extracted. This might take a
few minutes. Once completed you can delete the source files from the local folder.
8. On the Installation Complete page, click Close.
9. Repeat steps 1 through 8 for the following middle tier drives:
MT14-SQL-MIA-SQL.msi
20461C-MIA-SQL.part001.exe
Note: After completing the extraction of all of the classroom files, you should have
the following files installed.
File
In Folder
Base14A-WS12R2.vhd
MT14-SQL-MIA-DC.vhd
MT14SQL-MIA-SQL.vhd
VM-Pre-Import-20461C-MIA-DC.bat
C:\Program Files\Microsoft
Learning\20461\Drives\20461C-MIA-DC
20461C-MIA-DC.vhd
C:\Program Files\Microsoft
Learning\20461\Drives\20461C-MIA-DC\Virtual Hard
Disks
<GUID>.xml
C:\Program Files\Microsoft
Learning\20461\Drives\20461C-MIA-DC\Virtual
Machines
VM-Pre-Import-20461C-MIA-SQL.bat
C:\Program Files\Microsoft
Learning\20461\Drives\20461C-MIA-SQL
20461C-MIA-SQL.vhd
C:\Program Files\Microsoft
Learning\20461\Drives\20461C-MIA-SQL\Virtual Hard
Disks
20461C-MIA-SQL-Allfiles.vhd
C:\Program Files\Microsoft
Learning\20461\Drives\20461C-MIA-SQL\Virtual Hard
Disks
File
In Folder
<GUID>.xml
C:\Program Files\Microsoft
Learning\20461\Drives\20461C-MIA-SQL\Virtual
Machines
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 20461_Drives share on the instructor computer to
C:\Program Files\Microsoft Learning\20461\Drives.
Note: Ensure that all files are copied.
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 see the instructor computer setup.
10
20461C-MIA-SQL
11
20461C-MIA-DC
20461C-MIA-SQL
IP address
10.10.0.10
10.10.0.20
Default gateway
10.10.0.1
10.10.0.1
10.10.0.10
10.10.0.10
9. If prompted to remove the static IP address for a previously configured adapter that is
no longer present, click Yes. Then click Close.
10. In the MIA-SQL virtual machine, open a command prompt and use the following
command to verify network connectivity to the domain controller:
Ping MIA-DC
This command should return four replies from a computer with the IP address
10.10.0.10.
11. If the MSL-TMG1 virtual machine has been configured to use an External Network
virtual network with Internet connectivity, in the MIA-SQL virtual machine, start
Internet Explorer and verify that you can open a web site such as www.bing.com. If
not, verify that you have configured the MSL-TMG1 server networking settings and
enabled the appropriate firewall rules in MSL-TMG1 as specified in the MSL-TMG1
setup guide.
12. In the MIA-SQL virtual machine, open an administrative command prompt and run
the following command (including the quotation marks):
"%ProgramFiles%\Microsoft Office\Office15\ospprearm.exe"
13. In the MIA-SQL virtual machine, in the administrative command prompt, run the
following command, and click OK on the resulting message box:
slmgr -rearm
12
20461C-ENU-PowerPoint.exe
13
14
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 detailed instructions see the instructor
computer setup.
3. Add the virtual machines to the Hyper-V management console. For detailed
instructions see the instructor computer setup.
15
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.