20414a_hvs

Upload: pobu-popo

Post on 02-Jun-2018

215 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/10/2019 20414A_hvs

    1/22

    20414A: Implementing an AdvancedServer Infrastructure

    MicrosoftHyper-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-LON-

    HOST1.vhd 105. Configure the Host Computer to Boot to the 20414A-LON-

    HOST2.vhd 12

    6. Configure network settings on LON-HOST1 and LON-HOST2 13

    7. Install the Hyper-V Server Role on LON-HOST1 and LON-HOST2 14

    8. Configure the Hyper-V External Network on LON-HOST1 andLON-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 18Student Computer Setup 18

    1. Install the Base Image/Virtual Machine Files 18

    Appendix A 19

    Appendix B Activat ing the Windows 8 Virtual Mach ines 19

  • 8/10/2019 20414A_hvs

    2/22

    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 2012 Microsoft Corporation. All rights reserved.

    Microsoft and the trademarks listed at http://www.microsoft.com/about/legal/en/us/IntellectualProperty

    /Trademarks/EN-US.aspxare trademarks of the Microsoft group of companies. All other trademarks are

    property of their respective owners.

    Product Number: 20414A

    Version 1.2

    http://www.microsoft.com/about/legal/en/us/IntellectualProperty/Trademarks/EN-US.aspxhttp://www.microsoft.com/about/legal/en/us/IntellectualProperty/Trademarks/EN-US.aspxhttp://www.microsoft.com/about/legal/en/us/IntellectualProperty/Trademarks/EN-US.aspxhttp://www.microsoft.com/about/legal/en/us/IntellectualProperty/Trademarks/EN-US.aspx
  • 8/10/2019 20414A_hvs

    3/22

    20414A: Implementing an Advanced Server Infrastructu re 1

    Introducing Microsoft Hyper-V

    This learning product is designed using MicrosoftHyper-V running on Windows Server

    2008 R2 SP1. 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 virtualdevices 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 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 virtualmachine.

    Note: Pressing CTRL+ALT+DELETE while working with a virtual machine willdisplay the Windows Security dialog box for the host operating system. To closethe dialog box, press ESC. To access the Windows Security dialog box for a guestoperating system, press CTRL+ALT+END. Other than this difference, software ona virtual machine behaves as it would behave on a physical computer.

  • 8/10/2019 20414A_hvs

    4/22

    2 20414A: Implementing an Advanced Server Infrastructure

    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 inorder to successfully run Windows Server 2012\Windows 8 in a virtual machinerunning 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 8/Server 2012 virtual machine may stop responding.

    The Windows Server 2008 R2 host computer may display a stop errormessage and restart automatically. This behavior brings down all other runningvirtual machines together with the host computer.

    Windows 8 Virtual Machine Activation

    A new requirement exists that necessitates the activation of VMs used in this course that

    are based on Windows 8. Instructions for activating Windows 8 virtual machines can be

    found in the section titled Configure the Virtual Machines on the Instructor

    Computer.

    More information on this new requirement and steps on how to obtain product keys for

    activation can be found here: http://go.microsoft.com/fwlink/?LinkId=270851

    http://go.microsoft.com/fwlink/?LinkId=270851http://go.microsoft.com/fwlink/?LinkId=270851
  • 8/10/2019 20414A_hvs

    5/22

    20414A: Implementing an Advanced Server Infrastructu re 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.

  • 8/10/2019 20414A_hvs

    6/22

    4 20414A: Implementing an Advanced Server Infrastructure

    HardwareThe classroom computers require the following hardware and software configuration.

    Hardware Level 6 (Note: Additional RAM requirements needed for this course)

    Intel Virtualization Technology (Intel VT) or AMD Virtualization (AMD-V)

    processor Dual 120 gigabyte (GB) hard disks 7200 RM SATA or better*

    16 GB random access memory (RAM) or higher

    DVD drive

    Network adapter

    Super VGA (SVGA) 17-inch monitor

    Microsoft Mouse or compatible pointing device

    Sound card with amplified speakers

    *Striped

    Additionally, the instructor computer must be connected to a projection display device

    that supports SVGA 1024 x 768 pixels, 16-bit colors.

    SoftwarePlease 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 virtualmachine from one host to another. For this lab to succeed, the processors on thetwo host machines must be identical. So it is very important that each pair ofstudent computers have identical processors. If this is not possible, then studentswill need to select the Migrate to a physical computer with a differentprocessor versioncheck box under Processor Compatibility Configuration for the

    virtual machine used in the live migration exercise.

  • 8/10/2019 20414A_hvs

    7/22

    20414A: Implementing an Advanced Server Infrastructu re 5

    Estimated Time to Set Up the Classroom: 180 Minutes

    Instructor Computer Checklist 1. Install the Virtual Machine Files

    2. Create a Setup Share

    3. Copy the Virtual Machine Files to the Student Computer

    4. Configure the Host Computer to Boot to 20414A-LON-HOST1.vhd

    5. Configure the Host Computer to Boot to 20414A-LON-HOST2.vhd

    6. Configure network settings on LON-HOST1 and LON-HOST2

    7. Install the Hyper-V Server Role on LON-HOST1 and LON-HOST2

    8. Configure the Hyper-V External Network on LON-HOST1 and LON-HOST2

    9. Run the VM-Pre-Import Script

    10. Import Virtual Machines on LON-HOST1

    11. Install the PowerPoint Slides

  • 8/10/2019 20414A_hvs

    8/22

    6 20414A: Implementing an Advanced Server Infrastructure

    Instructor Computer Setup

    Use the instructions in the following section to set up the classroom manually. Before

    starting the installation of the instructor computer, a supported operating system and

    Microsoft Power Point 2007 must be installed on the computer.

    Important: The operating systems installed on the virtual machines in this learningproduct have notbeen activated and each virtual machine is in the Notificationstate.

    As stated earlier the Windows 8 client virtual machines needto be activated, asper steps outlined below. The Windows Server 2012 virtual machines do not needto be activated but they will need to be placed in a grace period by running theslmgr rearm at the administrative command prompt.

    You may be prompted to restart the computer when the virtual machine is startedfor the first time. This is because of the hardware differences on the Hostcomputer. You can restart if you wish or just click Restart Laterto close the

    prompt.

    1. Install the Virtual Machine FilesComplete the following steps to copy the base images, middle tiers, and virtual machine

    files to the server, and then configure the virtual machines.

    Extract the Course Images

    To Extract the Base Images:

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

    Base12A-WS12-TMP.part01.exe.

    2. In the Official Microsoft Learning Product License Terms window, click Acceptto

    indicate that you accept the terms in the license agreement.

    3. In the WinRAR self-extracting archive window, in the Destination foldertext box,

    ensure that C:\Program Files\Microsoft Learning\Baseis listed, and then click

    Extract. Wait while the base virtual hard disk file is extracted. This might take a few

    minutes.

    4. From the courseware source files location, double-click Base12B-W8.part01.exe.

    5. In the Official Microsoft Learning Product License Terms window, click Acceptto

    indicate that you accept the terms in the license agreement.6. In the WinRAR self-extracting archive window, in the Destination foldertext box,

    ensure that C:\Program Files\Microsoft Learning\Baseis listed, and then click

    Extract. Wait while the base virtual hard disk file is extracted. This might take a few

    minutes.

    To Extract the Middle-Tier Images:

  • 8/10/2019 20414A_hvs

    9/22

    20414A: Implementing an Advanced Server Infrastructu re 7

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

    MT12-WS12-LON-DC1-TMP.part1.exe

    2. In the Official Microsoft Learning Product License Terms window, click Acceptto

    indicate that you accept the terms in the license agreement.

    3. In the WinRAR self-extracting archive window, in the Destination foldertext box,ensure that C:\Program Files\Microsoft Learning\Base\Drivesis listed, and then

    click Extract. Wait while the middle-tier virtual hard disk file is extracted. This

    might take a few minutes.

    4. From the courseware source files location, double-click MT12-W8-CL1-

    Office2010SP1.part01.exe.

    5. In the Official Microsoft Learning Product License Terms window, click Acceptto

    indicate that you accept the terms in the license agreement.

    6. In the WinRAR self-extracting archive window, in the Destination foldertext box,

    ensure that C:\Program Files\Microsoft Learning\Base\Drivesis listed, and thenclick Extract. Wait while the middle-tier virtual hard disk file is extracted. This

    might take a few minutes.

  • 8/10/2019 20414A_hvs

    10/22

    8 20414A: Implementing an Advanced Server Infrastructure

    To Extract the Virtual Machines:

    (If required for disk space, you can extract the course-specific files to a different drive as

    long as the Base images and the Middle Tiers are located in the default path.)

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

    DC1.part01.exe.

    2. In the Official Microsoft Learning Product License Terms window, click Acceptto

    indicate that you accept the terms in the license agreement.

    3. In the WinRAR self-extracting archive window, in the Destination foldertext box,

    ensure that C:\Program Files\Microsoft Learning\20414\Drivesis listed, and then

    click Extract. Wait while the virtual hard disk file is extracted. This might take a few

    minutes.

    4. Repeat steps 1 through 3 for the following files:

    NOTE: If the Confirm file replacedialog box appears, click No.

    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

    20414A-LON-HOST1.exe(Extract files to C:\Program Files\Microsoft Learning\Base)

    20414A-LON-HOST2.exe(Extract files to C:\Program Files

    \Microsoft Learning\Base)

    VM-PRE-Import-20414A-LON-HOST1.exe

  • 8/10/2019 20414A_hvs

    11/22

    20414A: Implementing an Advanced Server Infrastructu re 9

    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 C:\Program Files\Microsoft Learning\Base

    Base12B-W8.vhd C:\Program Files\Microsoft Learning\BaseMT12-W8-CL1-Office2010SP1.vhd C:\Program Files\Microsoft Learning\Base\Drives

    MT12-WS12-LON-DC1-TMP.vhd C:\Program Files\Microsoft Learning\Base\Drives

    20414A-LON-Host1.vhd C:\Program Files\Microsoft Learning\Base

    20414A-LON-Host2.vhd C:\Program Files\Microsoft Learning\Base

    20414A-LON-DC1.vhd

    20414A-LON-DC1-Storage.vhd

    C:\Program Files\Microsoft Learning\20414\Drives

    \20414A-LON-DC1\Virtual Hard Disks

    20414A-LON-CA1.vhd C:\Program Files\Microsoft Learning\20414\Drives

    \20414A-LON-CA1\Virtual Hard Disks

    20414A-LON-CL1.vhd C:\Program Files\Microsoft Learning\20414\Drives

    \20414A-LON-CL1\Virtual Hard Disks

    20414A-LON-CORE.vhd C:\Program Files\Microsoft Learning\20414\Drives

    \20414A-LON-CORE\Virtual Hard Disks

    20414A-LON-DM1.vhd

    20414A-LON-DM1-Backup.vhd

    C:\Program Files\Microsoft Learning\20414\Drives

    \20414A-LON-DM1\Virtual Hard Disks

    20414A-LON-OM1.vhd

    20414A-LON-OM1-Allfiles.vhd

    C:\Program Files\Microsoft Learning\20414\Drives

    \20414A-LON-OM1\Virtual Hard Disks

    20414A-LON-OR1.vhd C:\Program Files\Microsoft Learning\20414\Drives

    \20414A-LON-OR1\Virtual Hard Disks

    20414A-LON-SVR1.vhd

    20414A-LON-SVR1-Allfiles.vhd

    C:\Program Files\Microsoft Learning\20414\Drives

    \20414A-LON-SVR1\Virtual Hard Disks

    20414A-LON-SVR1-B.vhd C:\Program Files\Microsoft Learning\20414\Drives

    \20414A-LON-SVR1-B\Virtual Hard Disks

    20414A-LON-SVR2.vhd C:\Program Files\Microsoft Learning\20414\Drives

    \20414A-LON-SVR2\Virtual Hard Disks

    20414A-LON-VMM1.vhd

    20414A-LON-VMM1-Allfiles.vhd

    C:\Program Files\Microsoft Learning\20414\Drives

    \20414A-LON-VMM1\Virtual Hard Disks

    20414A-LON-WSUS.vhd C:\Program Files\Microsoft Learning\20414\Drives

    \20414A-LON-WSUS\Virtual Hard Disks

    20414A-PRS-CL1.vhd C:\Program Files\Microsoft Learning\20414\Drives

    \20414A-PRS-CL1\Virtual Hard Disks

    20414A-PRS-DC1.vhd C:\Program Files\Microsoft Learning\20414\Drives\20414A-PRS-DC1\Virtual Hard Disks

    20414A-TOR-SS1.vhd

    20414A-TOR-SS1-Storage

    C:\Program Files\Microsoft Learning\20414\Drives

    \20414A-TOR-SS1\Virtual Hard Disks

    20414A-TOR-SVR1.vhd C:\Program Files\Microsoft Learning\20414\Drives

    \20414A-TOR-SVR1\Virtual Hard Disks

    VM-PRE-Import-20414A-LON-HOST1.ps1 C:\Program Files\Microsoft Learning\20414\Drives

  • 8/10/2019 20414A_hvs

    12/22

    10 20414A: Implementing an Advanced Server Infrastructure

    2. Create a Setup ShareIn this task, you will share virtual machine files for copying to student computers.

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

    Base_Drives.

    2. Share the C:\Program Files\Microsoft Learning\20414\Drives folder using a share

    name of 20414_Drives.

    Note:For information on how to set up a share in Windows Server 2008, refer to

    Share a Resource in Windows Help and Support.

    3. Copy the Virtual Machine Files to the StudentComputer

    Note:You must perform the file copy prior to importing the virtual machines. Onceyou import the virtual machines, you will not be able to import them again.

    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.

    4. Configure the Host Computer to Boot to 20414A-LON-HOST1.vhd

    1. From the Host computer, open Server Manager.

  • 8/10/2019 20414A_hvs

    13/22

    20414A: Implementing an Advanced Server Infrastructure 11

    2. Expand Storage, right-click Disk Management, and click Attach VHD.

    3. In the Attach Virtual Hard Diskdialog box, click Browse.

    4. Browse to C:\Program Files\Microsoft Learning\Base, click

    20414A-LON-Host1.vhd. Click Open, and then click OK. Note the drive letter that

    is associated with the 63.66 GB partition.

    5. Click Start, right-click Command Prompt, and click Run as administrator. If

    required, click Yes.

    6. At the command prompt, type bcdboot :\windowsand press Enter.

    Where is the drive letter that was associated with the 63.66 GB

    partition.

    7. At the command prompt, type bcdedit /set {default} Description 20414A-LON-

    HOST1and press Enter.

    8. In Server Manager, right-click the attached VHD and then click Detach VHD. Click

    OK. (Make sure that the check box next to Delete the virtual hard disk file after

    removing the diskis NOT selected).

    9. Restart the host computer. The computer will restart and by default will boot into the

    20414A-LON-HOST1computer.

    Note: These steps configure the server to boot to the 20414A-LON-HOST1computer as the default. After finishing the course, if you need to boot to theoriginal 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.After the server restarts, log on as Adatum\Administratorusing the password

    Pa$$w0rd.

    Note: In some cases, the computer may display a blue screen with a stop errorwhen you restart the computer. If this happens, restart the computer and completethe following troubleshooting steps.

    1. Boot into the Windows Server 2008 R2 installation and verify that you have atleast 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, moveon to the next step.

    3. Your disk controller may require a custom driver in order for the operatingsystem in the VHD to access the hard drives. To install the custom driver, bootinto the Windows Server 2008 R2 installation and complete the following steps.

    a. Download the hardware-specific storage driver from hardwaremanufacturers website. Save the drivers to C:\Drivers folder.

  • 8/10/2019 20414A_hvs

    14/22

    12 20414A: Implementing an Advanced Server Infrastructure

    b. Reattach the 20414A-LON-Host1.vhd file as described in steps 1-4 above.

    c. Open a command prompt and type the following command, and then pressEnter.

    DISM /Image:E:\ /Add-Driver /Driver:C:\Drivers /recurse

    d. Restart the computer.

    11.Open an administrative command prompt, and type slmgr rearm.

    12.After the computer restarts, log on as Adatum\Administrator, using the password

    Pa$$w0rd.

    5. Configure the Host Computer to Boot to 20414A-LON-HOST2.vhd

    Note: Complete the following steps only on every second machine in a pair.

    1. From the Host computer, open Server Manager.

    2. Expand Storage, right-click Disk Management, and click Attach VHD.

    3. In the Attach Virtual Hard Diskdialog box, click Browse.

    4. Browse to C:\Program Files\Microsoft Learning\Base, click

    20414A-LON-Host2.vhd. Click Open, and then click OK. Note the drive letter that

    is associated with the 63.66 GB partition.

    5. Click Start, right-click Command Prompt, and click Run as administrator. If

    required, click Yes.

    6. At the command prompt, type bcdboot :\windowsand press Enter.

    Where is the drive letter that was associated with the 63.66 GB

    partition.

    7. At the command prompt, type bcdedit /set {default} Description 20414A-LON-

    HOST2and press Enter.

    8. In Server Manager, right-click the attached VHD and then click Detach VHD. Click

    OK. (Make sure that the check box next to Delete the virtual hard disk file afterremoving the disk is NOT selected.)

    9. Restart the host computer. The computer will restart and by default will boot into the

    20414A-LON-HOST2computer.

    Note: These steps configure the server to boot to the 20414A-LON-HOST2computer as the default. After finishing the course, if you need to boot to the

  • 8/10/2019 20414A_hvs

    15/22

    20414A: Implementing an Advanced Server Infrastructure 13

    original host operating system, open a command prompt and type bcdedit /delete{default}and press Enter.

    10.After the server restarts, logon as Adatum\Administratorusing the password

    Pa$$w0rd.

    Note: In some cases, the computer may display a blue screen with a stop errorwhen you restart the computer. If this happens, restart the computer and completethe following troubleshooting steps.

    1. Boot into the Windows Server 2008 R2 installation and verify that you have atleast 100 GB of free space on the C: drive.

    2. Reboot the computer and access the computer BIOS, and check the ControllerMode. 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, moveon to the next step.

    3. Your disk controller may require a custom driver in order for the operatingsystem in the VHD to access the hard drives. To install the custom driver, bootinto the Windows Server 2008 R2 installation and complete the following steps.

    a. Download the hardware-specific storage driver from hardwaremanufacturers 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 pressEnter.

    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.

    6. Configure network settings on LON-HOST1 andLON-HOST2

    Note: Complete these steps on both 20414A-LON-HOST1 and20414A-LON-HOST2.

    1. Restart the host computer, and in the Windows Boot Manager, select either

    20414A-LON-HOST1 or20414A-LON-HOST2.

    2. Log on as Adatum\Administratorwith the password Pa$$w0rd.

  • 8/10/2019 20414A_hvs

    16/22

    14 20414A: Implementing an Advanced Server Infrastructure

    3. In Server Manager, click Local Server.

    4. In the Properties pane, click the IPv4 address assigned by DHCP, IPv6 enabled

    link.

    5. In the Network Connectionsdialog box, right-click the network object, and then

    click Properties.

    6. In the Propertiesdialog box, click Internet Protocol Version 4 (TCP/IPv4), and

    then click Properties.

    7. On the Generaltab, click Use the following IP address,and then configure the

    following:

    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 Generaltab, click Use the following DNS server addresses, and thenconfigure the following:

    Preferred DNS server: 172.16.0.10

    9. Click OKto close the Ethernet Properties dialog box.

    10.Click Yeson the Microsoft TCP/IP dialog box.

    11.Click OK.

    12.Close the Network Connections dialog box.

    7. Install the Hyper-V Server Role on LON-HOST1 andLON-HOST2

    Note: Complete these steps on both 20414A-LON-HOST1 and20414A-LON-HOST2.

    1. In the Server Manager console, on the Managemenu, click Add Roles and Features.

    2. On the Before you beginpage of the Add Roles and Features Wizard, click Next.

    3. On the Select installation typepage, select Role-basedorfeature-based

    installation, and then click Next.

    4. On the Select destination serverpage, ensure that LON-HOST1.Adatum.comor

    LON-HOST2.Adatum.comis selected, and then click Next.

    5. On the Server Rolespage, select Hyper-V.

    6. In the Add Roles and Features Wizarddialog box, click Add Features.

    7. On the Select Server Rolespage of the Add Roles and Features Wizard, click Next.

  • 8/10/2019 20414A_hvs

    17/22

    20414A: Implementing an Advanced Server Infrastructure 15

    8. On the Select featurespage, click Next.

    9. On the Hyper-Vpage, click Next.

    10.On the CreateVirtual Switchespage, verify that no selections have been made, and

    then click Next.

    11.On the Virtual Machine Migrationpage, click Next.

    12.On the Default Storespage, review the location of Default Stores, and then click

    Next.

    13.On the Confirm Installation Selectionspage, select Restart the destination server

    automatically if required.

    14. In the Add Roles and Features Wizarddialog box, review the message about

    automatic restarts, and then click Yes.

    15.On the Confirm Installation Selectionspage, click Install.

    16.Ensure that you restart the machine, and then select 20414A-LON-HOST1 or20414A-LON-HOST2. The computer will restart several times.

    17.After the final restart, log on as Adatum\Administrator with the password

    Pa$$w0rd.

    8. Configure the Hyper-V External Network on LON-HOST1 and LON-HOST2

    Note: Complete these steps on both 20414A-LON-HOST1 and20414A-LON-HOST2.

    1. In Server Manager, click Tools, and then click Hyper-V Manager.

    2. In Hyper-V Manager, click LON-HOST1 or LON-HOST2, and then on the Actions

    pane, click Virtual Switch Manager.

    3. In the Virtual Switch Managerdialog box, select New virtual network switch.

    Ensure that Externalis selected, and then click Create Virtual Switch.

    4. In the Virtual Switch Propertiesarea of the Virtual Switch Manager dialog box,

    specify the following information, and then click OK:

    Name: External Network

    External Network: Mapped to the host computer's physical network adapter. Will

    vary depending on host computer

    5. In the Apply Networking Changesdialog box, review the warning, and then click

    Yes.

  • 8/10/2019 20414A_hvs

    18/22

    16 20414A: Implementing an Advanced Server Infrastructure

    9. Run the Pre-Import ScriptIn this task, you will run the VM-Pre-Import file. This script will create links to the Base

    and Mid-Tier images in the import folder, which are necessary for importing each virtual

    machine with Hyper-V.

    1. On LON-HOST1, right-click E:\Program Files\Microsoft Learning\20414\drives\VM-Pre-Import-20414A-LON-HOST1.ps1and then click Run with PowerShell.

    At the Execution Policy Change prompt, type Yfor Yes and then press Enter.

    10. Import Virtual Machines on LON-HOST1

    Note: Complete these steps on 20414A-LON-HOST1.

    1. In the Actions pane of the Hyper-V Manager console, click Import Virtual Machine.

    2. On the Before You Beginpage of the Import Virtual Machine wizard, click Next.

    3. On the Locate Folderpage, perform the following task, and then click Next:

    On LON-HOST1, type the path: E:\Program Files\Microsoft

    Learning\20414\Drives\20414A-LON-DC1.

    4. On the Select Virtual machinepage select 20414A-LON-DC1, clickNext.

    5. On the Choose Import Typepage, select Register the virtual machine in-place

    (use the existing unique ID), and then click Next.

    6. On the Summarypage, click Finish.

    7. In the Hyper-V Manager console, select 20414A-LON-DC1,and then click Settings.

    8. In the Settings Window, select Legacy Network Adapterin the navigation pane,

    and verify that the Virtual Switch is set to External Network. Click OK.

    9. Start and connect to 20414A-LON-DC1.

    10.Sign in as Adatum\Administratorusing the password Pa$$w0rd. Open an

    administrative command prompt, and type slmgr rearm.

    11.Restart the computer as prompted. When the computer restarts, sign in as

    Adatum\Administratorusing the password Pa$$w0rd.

    12.Shut down the virtual machine.

    13.After the virtual machine shuts down, in the Hyper-V Manager, under Virtual

    Machines, right-click the virtual machine, and then click Snapshot.

    14.Wait for the Snapshot process to finish. In the Snapshots pane, right-click the

    snapshot name, and then click Rename.

  • 8/10/2019 20414A_hvs

    19/22

    20414A: Implementing an Advanced Server Infrastructure 17

    15.Type StartingImage, and then press Enter.

    16.Repeat steps 1 through 14 for the following virtual machines:

    20414A-LON-CA1 (Log on as Administrator with the password Pa$$w0rd)

    20414A-LON-DM1

    20414A-LON-OM1

    20414A-LON-OR1

    20414A-LON-SVR1

    20414A-LON-SVR1-B (Do not start this VM at the same time as 20414A-

    LON-SVR1)

    20414A-LON-SVR2

    20414A-LON-VMM1

    20414A-LON-WSUS

    20414A-PRS-DC1 (Log on as TreyResearch\Administrator with the

    password of Pa$$w0rd.)

    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

    20414A-PRS-CL1 (Log on as TreyResearch\Administrator with the

    password of Pa$$w0rd.)

    18.Complete the product activation instructions in Appendix B.

    11. Install the PowerPoint SlidesIn this task, you will install the Office PowerPoint slides for the learning product on the

    instructors machine.

    In the Trainer Materials disc, in the\TrainerFiles folder, extract

    20414A-ENU-PowerPoint.exe.

  • 8/10/2019 20414A_hvs

    20/22

    18 20414A: Implementing an Advanced Server Infrastructure

    Student Computer Checklist

    1. Install the Base Image/Virtual Machine Files

    Student Computer SetupUse the instructions in the following section to set up the classroom manually. Beforestarting the installation of the student computer, a supported operating system must be

    installed on the computer. You can check the supported systems list at

    http://go.microsoft.com/fwlink/?LinkId=94481.

    Caution: These instructions assume network connectivity between the instructorcomputer and the student computers. If you do not have connectivity, MicrosoftLearning recommends copying the activated virtual machines to the studentcomputers by means of a manually created DVD or universal serial bus (USB)drive.

    1. Install the Base Image/Virtual Machine Files

    Note: Ensure that all extracted courseware virtual machine files were copiedfrom the Instructor computer during the Instructor Computer setup. You will needthe following directories to ensure that the student has all necessary files:C:\Program Files\Microso ft Learning\20414and all included folders and filesC:\Program Files\Microso ft Learning \Base

    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.

  • 8/10/2019 20414A_hvs

    21/22

    20414A: Implementing an Advanced Server Infrastructure 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.

    Appendix B Activat ing the Windows 8 VirtualMachines

    Obtaining Product Keys for ActivationTo receive product keys that you will use to activate the Windows 8 virtual machinesaccompanying this course, please follow the guidelines described here:http://go.microsoft.com/fwlink/?LinkId=270851

    Activating a Windows 8 Virtual MachineYou must first ensure that the TMG virtual machine and any domain controller (ifrequired for the course) have been started and that the TMG virtual machine has internetconnectivity. Then perform the following steps to activate the Windows 8 Virtual

    Machine:

    1. On the Windows start page, type cmd.

    1. Right-click Command Prompt, and then click Run as Administrator.

    2. If prompted, click Yeson the User Account Controldialog box.

    3. On the command prompt, type slmgr /ipk, and press ENTER.

    4. Click OKon the dialog box.

    5. On the command prompt, type slmgr /ato, and press ENTER.

    http://go.microsoft.com/fwlink/?LinkId=270851http://go.microsoft.com/fwlink/?LinkId=270851
  • 8/10/2019 20414A_hvs

    22/22

    20 20414A: Implementing an Advanced Server Infrastructure

    6. Note:In order for you to be able to activate the virtual machine successfully, the

    virtual machine must have internet connectivity.

    7. Click OKon 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-TMG1virtual machine, the

    virtual machine and associated setup guide is available from the MCT Download Center.

    High level details are included here below.

    To Configure the MSL-TMG1 Virtual Machine

    1. Set up the MSL-TMG1 virtual machine. The MSL-TMG1 virtual machine and its

    related setup guide can be downloaded from the MCT Download Center in the Base

    Virtual Hard Disks Mid-Tiers (ENGLISH) folder. The TMG VM requires

    Base11A-WS08R2SP1.VHD which is also available on the DLC in the Base Virtual

    Hard Disks (ENGLISH) folder.

    2. Configure the MSL-TMG1 virtual machine to use dynamic memory. In the Hyper-V

    Management console, access the MSL-TMG1 virtual machine settings. Click

    Memory, click Dynamic, and set Startup RAMto 1024 MBand Maximum RAM

    to 4096 MB.

    3. Perform the following additional configuration changes on MSL-TMG1:

    a. Change the IP address of the virtual machine to be 172.16.0.1, subnet mask:

    255.255.0.0, DNS: 172.16.0.10.

    b. Open ForeFront TMG Management, click Networking, click the Networks tab,

    click Internal, and then click Edit Selected Network. In the Internal Properties

    dialog box, click the Addresses tab, and then click Add Adapter button, select

    Private, and then click OK. Click OK, and then click the Apply button. Click

    Apply one more time and then click OK.

    c. Click the Web Access Policy node, and enable the Allow Web access for All

    Users access rule.