20465d: designing a data solution with microsoft sql...

23
20465D: Designing a Data Solution with Microsoft SQL Server 2014 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 Hyper-V Server Role 7 2. Set Up the MSL-TMG1 Virtual Machine 8 3. Install the Virtual Machine Files 8 4. Create a Setup Share 12 5. Copy the Virtual Machine Files to the Student Computer 12 6. Run the VM-Pre-Import scripts 13 7. Import the Virtual Machines on the Instructor Computer 14 8. Configure the Virtual Machines on the Instructor Computer 15 9. Install the PowerPoint Slides 18 Student Computer Checklist 19 Student Computer Setup 20 1. Install the Hyper-V Server Role 20 2. Install the Base Image / Virtual Machine Files 20 Appendix A Keyboard Layout 21

Upload: others

Post on 01-Feb-2020

9 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 20465D: Designing a Data Solution with Microsoft SQL ...moc.samorodov.su/F0C20172-3025-4AE8-87CB-364113734...Information in this document, including URL and other Internet Web site

20465D: Designing a Data Solution with Microsoft SQL Server 2014

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 Hyper-V Server Role 7 2. Set Up the MSL-TMG1 Virtual Machine 8 3. Install the Virtual Machine Files 8 4. Create a Setup Share 12 5. Copy the Virtual Machine Files to the Student Computer 12 6. Run the VM-Pre-Import scripts 13 7. Import the Virtual Machines on the Instructor Computer 14 8. Configure the Virtual Machines on the Instructor Computer 15 9. Install the PowerPoint Slides 18

Student Computer Checklist 19 Student Computer Setup 20

1. Install the Hyper-V Server Role 20 2. Install the Base Image / Virtual Machine Files 20

Appendix A Keyboard Layout 21

Page 2: 20465D: Designing a Data Solution with Microsoft SQL ...moc.samorodov.su/F0C20172-3025-4AE8-87CB-364113734...Information in this document, including URL and other Internet Web site

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.

© 2016 Microsoft Corporation. All rights reserved.

Microsoft and the trademarks listed at https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/en-us.aspx are trademarks of the Microsoft group of companies. All other trademarks are property of their respective owners

Product Number: 20465D

Page 3: 20465D: Designing a Data Solution with Microsoft SQL ...moc.samorodov.su/F0C20172-3025-4AE8-87CB-364113734...Information in this document, including URL and other Internet Web site

38T20465D: 38TDesigning a Data Solution with Microsoft SQL Server 2014 1

Introducing Microsoft Hyper-V Important Note: This setup requires Windows Server 2012 Hyper-V. To import virtual machines successfully to Windows Server 2012 Hyper-V you will have to run the VM-Pre-Import scripts which will create symbolic links to the Base/Middle-Tier images in the C:\Program Files\Microsoft Learning\20465\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. • 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.

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.

Page 4: 20465D: Designing a Data Solution with Microsoft SQL ...moc.samorodov.su/F0C20172-3025-4AE8-87CB-364113734...Information in this document, including URL and other Internet Web site

2 38T20465D: 38TDesigning a Data Solution with Microsoft SQL Server 2014

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 administrator’s 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 7

• Processor: 64 bit Intel Virtualization Technology (Intel VT) or AMD Virtualization (AMD-V) processor (2.8 Ghz dual core or better recommended)

• Hard Disk: Dual 500 GB hard disks 7200 RPM SATA or faster (striped) • RAM: 16 GB or higher • DVD/CD: DVD; dual layer recommended. • Network Adapter • Sound Card with amplified speakers • Monitor: Dual SVGA monitors 17” or larger supporting 1440X900 minimum

resolution

Page 5: 20465D: Designing a Data Solution with Microsoft SQL ...moc.samorodov.su/F0C20172-3025-4AE8-87CB-364113734...Information in this document, including URL and other Internet Web site

38T20465D: 38TDesigning a Data Solution with Microsoft SQL Server 2014 3

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 20465C-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 • 20465C-MIA-DC • 20465C-MIA-SQL • 20465C-MIA-FCI-CLUST1 • 20465C-MIA-FCI-CLUST2 • 20465C-MIA-FCI-CLUST3 • 20465C-MIA-AG-CLUST1 • 20465C-MIA-AG-CLUST2 • 20465C-MIA-AG-CLUST3 • 20465C-SQL-VM-Template

Estimated Time to Set up the Classroom: 90 Minutes

Page 6: 20465D: Designing a Data Solution with Microsoft SQL ...moc.samorodov.su/F0C20172-3025-4AE8-87CB-364113734...Information in this document, including URL and other Internet Web site

4 38T20465D: 38TDesigning a Data Solution with Microsoft SQL Server 2014

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.

Page 7: 20465D: Designing a Data Solution with Microsoft SQL ...moc.samorodov.su/F0C20172-3025-4AE8-87CB-364113734...Information in this document, including URL and other Internet Web site

38T20465D: 38TDesigning a Data Solution with Microsoft SQL Server 2014 5

Instructor Computer Checklist 1. Install the Hyper-V Server Role. 2. Set Up the MSL-TMG1 Virtual Machine. 3. Install the Virtual Machine Files. 4. Create a Setup Share. 5. Copy the Virtual Machine Files to the Student Computer 6. Run the VM-Pre-Import scripts 7. Import the Virtual Machines on the Instructor Computer 8. Configure the Virtual Machines on the Instructor Computer 9. Install the PowerPoint Slides

Page 8: 20465D: Designing a Data Solution with Microsoft SQL ...moc.samorodov.su/F0C20172-3025-4AE8-87CB-364113734...Information in this document, including URL and other Internet Web site

6 38T20465D: 38TDesigning a Data Solution with Microsoft SQL Server 2014

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 Office Power Point® 2007 must be installed on the computer.

Important: The operating systems installed on the virtual machines in this learning product have not been activated and each virtual machine is in the Notification state.

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

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. You can restart if you wish or just click Restart Later to close the message.

Page 9: 20465D: Designing a Data Solution with Microsoft SQL ...moc.samorodov.su/F0C20172-3025-4AE8-87CB-364113734...Information in this document, including URL and other Internet Web site

38T20465D: 38TDesigning a Data Solution with Microsoft SQL Server 2014 7

1. Install the Hyper-V Server Role In this task, you will install the Hyper-V server role on the Windows Server 2012 host computer.

Important: If Hyper-V is already installed, you can skip this procedure.

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.

Page 10: 20465D: Designing a Data Solution with Microsoft SQL ...moc.samorodov.su/F0C20172-3025-4AE8-87CB-364113734...Information in this document, including URL and other Internet Web site

8 38T20465D: 38TDesigning a Data Solution with Microsoft SQL Server 2014

2. Set Up the MSL-TMG1 Virtual Machine You must set up the TMG Virtual Machine before continuing to set up the course Virtual Machines. 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.

After completing the steps in the MSL-TMG1 setup guide, shut down the MSL-TMG1 virtual machine and in Hyper-V Manager, edit its settings to set its memory to the static value 512 MB. Then start MSL-TMG1 and ensure that it is running for the remainder of the build process.

3. Install the Virtual Machine Files After installing the Hyper-V server role, you will need to follow 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 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.

To Extract the Middle Tier Images:

1. Copy the files from the courseware source files location to a local folder, and then double-click MT14-SQL-MIA-DC.msi.

2. In the MT14-SQL-MIA-DC dialog box, on the Welcome to the MT14-SQL-MIA-DC Setup Wizard page, click Next.

3. On the Select Installation Folder page, click Next.

4. On the Confirm Installation page, click Next.

5. On the License Agreement page, click I Agree to indicate that you accept the terms in the license agreement, and then click Next.

Page 11: 20465D: Designing a Data Solution with Microsoft SQL ...moc.samorodov.su/F0C20172-3025-4AE8-87CB-364113734...Information in this document, including URL and other Internet Web site

38T20465D: 38TDesigning a Data Solution with Microsoft SQL Server 2014 9

6. In the WinRAR self-extracting archive window, in the Destination folder box, ensure that C:\Program Files\Microsoft Learning\Base\Drives is listed, and then click Extract.

7. Please wait while the middle tier virtual hard disk file is extracted. This might take a few minutes.

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

• MT14-SQL-MIA-CLUST1.msi

• MT14-SQL-MIA-CLUST2.msi

• MT14-SQL-MIA-CLUST3.msi

To Extract the Virtual Machines:

1. From the courseware source files location, double-click 20465C-MIA-DC.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\20465\Drives is listed, and then click Extract.

4. Repeat steps 1 through 3 for the following virtual machines:

• 20465C-MIA-SQL.part001.exe

• 20465C-MIA-FCI-CLUST1.part01.exe

• 20465C-MIA-FCI-CLUST2.part01.exe

• 20465C-MIA-FCI-CLUST3.part01.exe

• 20465C-MIA-AG-CLUST1.exe

• 20465C-MIA-AG-CLUST2.exe

• 20465C-MIA-AG-CLUST3.exe

• 20465C-SQL-VM-Template.part01.exe

Page 12: 20465D: Designing a Data Solution with Microsoft SQL ...moc.samorodov.su/F0C20172-3025-4AE8-87CB-364113734...Information in this document, including URL and other Internet Web site

10 38T20465D: 38TDesigning a Data Solution with Microsoft SQL Server 2014

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

File In Folder

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

MT14-SQL-MIA-DC.vhd C:\Program Files\Microsoft Learning\Base\Drives

MT14-SQL-MIA-SQL.vhd C:\Program Files\Microsoft Learning\Base\Drives

MT14-SQL-MIA-CLUST1.vhd C:\Program Files\Microsoft Learning\Base\Drives

MT14-SQL-MIA-CLUST2.vhd C:\Program Files\Microsoft Learning\Base\Drives

MT14-SQL-MIA-CLUST3.vhd C:\Program Files\Microsoft Learning\Base\Drives

VM-Pre-Import-20465C-MIA-DC.bat C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-DC

20465C-MIA-DC.vhd C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-DC\Virtual Hard Disks

20465C-MIA-DC-ISCSITarget.vhd C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-DC\Virtual Hard Disks

<GUID>.xml C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-DC\Virtual Machines

VM-Pre-Import-20465C-MIA-SQL.bat C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-SQL

20465C-MIA-SQL.vhd C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-SQL\Virtual Hard Disks

20465C-MIA-SQL-Allfiles.vhd C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-SQL\Virtual Hard Disks

<GUID>.xml C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-SQL\Virtual Machines

VM-Pre-Import-20465C-MIA-FCI-CLUST1.bat

C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-FCI-CLUST1

20465C-MIA-FCI-CLUST1.vhd C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-FCI-CLUST1\Virtual Hard Disks

20465C-MIA-FCI-CLUST1-Allfiles.vhd C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-FCI-CLUST1\Virtual Hard Disks

<GUID>.xml C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-FCI-CLUST1\Virtual Machines

VM-Pre-Import-20465C-MIA-FCI-CLUST2.bat

C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-FCI-CLUST2

Page 13: 20465D: Designing a Data Solution with Microsoft SQL ...moc.samorodov.su/F0C20172-3025-4AE8-87CB-364113734...Information in this document, including URL and other Internet Web site

38T20465D: 38TDesigning a Data Solution with Microsoft SQL Server 2014 11

File In Folder

20465C-MIA-FCI-CLUST2.vhd C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-FCI-CLUST2\Virtual Hard Disks

<GUID>.xml C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-FCI-CLUST2\Virtual Machines

VM-Pre-Import-20465C-MIA-FCI-CLUST3.bat

C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-FCI-CLUST3

20465C-MIA-FCI-CLUST3.vhd C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-FCI-CLUST3\Virtual Hard Disks

<GUID>.xml C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-FCI-CLUST3\Virtual Machines

VM-Pre-Import-20465C-MIA-AG-CLUST1.bat

C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-AG-CLUST1

20465C-MIA-AG-CLUST1.vhd C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-AG-CLUST1\Virtual Hard Disks

20465C-MIA-AG-CLUST1-Allfiles.vhd C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-AG-CLUST1\Virtual Hard Disks

<GUID>.xml C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-AG-CLUST1\Virtual Machines

VM-Pre-Import-20465C-MIA-AG-CLUST2.bat

C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-AG-CLUST2

20465C-MIA-AG-CLUST2.vhd C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-AG-CLUST2\Virtual Hard Disks

<GUID>.xml C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-AG-CLUST2\Virtual Machines

VM-Pre-Import-20465C-MIA-AG-CLUST3.bat

C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-AG-CLUST3

20465C-MIA-AG-CLUST3.vhd C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-AG-CLUST3\Virtual Hard Disks

<GUID>.xml C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-AG-CLUST3\Virtual Machines

VM-Pre-Import-20465C-MIA-AG-CLUST3.bat

C:\Program Files\Microsoft Learning\20465\Drives\20465C-SQL-VM-Template

20465C-SQL-VM-Template.vhd C:\Program Files\Microsoft Learning\20465\Drives\20465C-SQL-VM-Template\Virtual Hard Disks

Page 14: 20465D: Designing a Data Solution with Microsoft SQL ...moc.samorodov.su/F0C20172-3025-4AE8-87CB-364113734...Information in this document, including URL and other Internet Web site

12 38T20465D: 38TDesigning a Data Solution with Microsoft SQL Server 2014

File In Folder

<GUID>.xml C:\Program Files\Microsoft Learning\20465\Drives\20465C-SQL-VM-Template\Virtual Machines

4. Create a Setup Share In 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\20465\Drives folder using a share name of 20465_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.

5. Copy the Virtual Machine Files to the Student Computer

Note: You must perform the file copy prior to importing the virtual machines. Once you 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 20465_Drives share on the instructor computer to C:\Program Files\Microsoft Learning\20465\Drives.

Note: Ensure that all files are copied.

• C:\Program Files\Microsoft Learning\20465 and all included folders and files

• C:\Program Files\Microsoft Learning\Base

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.

Page 15: 20465D: Designing a Data Solution with Microsoft SQL ...moc.samorodov.su/F0C20172-3025-4AE8-87CB-364113734...Information in this document, including URL and other Internet Web site

38T20465D: 38TDesigning a Data Solution with Microsoft SQL Server 2014 13

6. Run the VM-Pre-Import scripts In this task, you will run the VM-Pre-Import-xxxxx-VirtualMachineName.bat files. These scripts will create links to the Base and Mid-Tier images in the import folder necessary for importing each VM.

1. Double-click VM-Pre-Import-20465C-MIA-DC.bat (found in the C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-DC folder).

2. Verify that the links are created in the following folder:

• C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-DC\Virtual Hard Disks

3. Double-click VM-Pre-Import-20465C-MIA-SQL.bat (found in the C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-SQL folder).

4. Verify that the links are created in the following folder:

• C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-SQL\Virtual Hard Disks

5. Double-click VM-Pre-Import-20465C-MIA-FCI-CLUST1.bat (found in the C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-FCI-CLUST1 folder).

6. Verify that the links are created in the following folder:

• C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-FCI-CLUST1\Virtual Hard Disks

7. Double-click VM-Pre-Import-20465C-MIA-FCI-CLUST2.bat (found in the C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-FCI-CLUST2 folder).

8. Verify that the links are created in the following folder:

• C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-FCI-CLUST2\Virtual Hard Disks

9. Double-click VM-Pre-Import-20465C-MIA-FCI-CLUST3.bat (found in the C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-FCI-CLUST3 folder).

10. Verify that the links are created in the following folder:

• C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-FCI-CLUST3\Virtual Hard Disks

11. Double-click VM-Pre-Import-20465C-MIA-AG-CLUST1.bat (found in the C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-AG-CLUST1 folder).

Page 16: 20465D: Designing a Data Solution with Microsoft SQL ...moc.samorodov.su/F0C20172-3025-4AE8-87CB-364113734...Information in this document, including URL and other Internet Web site

14 38T20465D: 38TDesigning a Data Solution with Microsoft SQL Server 2014

12. Verify that the links are created in the following folder:

• C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-AG-CLUST1\Virtual Hard Disks

13. Double-click VM-Pre-Import-20465C-MIA-AG-CLUST2.bat (found in the C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-AG-CLUST2 folder).

14. Verify that the links are created in the following folder:

• C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-AG-CLUST2\Virtual Hard Disks

15. Double-click VM-Pre-Import-20465C-MIA-AG-CLUST3.bat (found in the C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-AG-CLUST3 folder).

16. Verify that the links are created in the following folder:

• C:\Program Files\Microsoft Learning\20465\Drives\20465C-MIA-AG-CLUST3\Virtual Hard Disks

17. Double-click VM-Pre-Import-20465C-SQL-VM-Template.bat (found in the C:\Program Files\Microsoft Learning\20465\Drives\20465C-SQL-VM-Template folder).

18. Verify that the links are created in the following folder:

• C:\Program Files\Microsoft Learning\20465\Drives\20465C-SQL-VM-Template\Virtual Hard Disks

7. Import the Virtual Machines on the Instructor Computer

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

2. In the Before You Begin dialog box, click Next.

3. In the Import Virtual Machine dialog box, click Browse. Browse to C:\Program Files\Microsoft Learning\20465\Drives, click 20465C-MIA-DC, and then click Select Folder, click next.

4. In Select Virtual Machine dialog box, click next.

5. In Choose Import Type dialog box, ensure Register the virtual machine in-place (use the existing unique ID) selected, click next.

6. In the Completing Import Wizard, click Finish.

Page 17: 20465D: Designing a Data Solution with Microsoft SQL ...moc.samorodov.su/F0C20172-3025-4AE8-87CB-364113734...Information in this document, including URL and other Internet Web site

38T20465D: 38TDesigning a Data Solution with Microsoft SQL Server 2014 15

7. Repeat Steps 1-6 for the following virtual machines:

• 20465C-MIA-SQL

• 20465C-MIA-FCI-CLUST1

• 20465C-MIA-FCI-CLUST2

• 20465C-MIA-FCI-CLUST3

• 20465C-MIA-AG-CLUST1

• 20465C-MIA-AG-CLUST2

• 20465C-MIA-AG-CLUST3

• 20465C-SQL-VM-Template

8. Configure the Virtual Machines on the Instructor Computer

1. Right-click 20465C-MIA-DC, and then click Start.

2. Right-click 20465C-MIA-DC, and then click Connect.

3. Verify that the server starts. Log on as ADVENTUREWORKS\Administrator using the password Pa$$w0rd. Verify that the logon is successful.

4. If Windows installs new hardware, and you are prompted to restart, click Restart Now. When the virtual machine restarts, log back in.

5. Repeat steps 1–4 for the following virtual machines, but log on as ADVENTUREWORKS\Student with the password Pa$$w0rd:

• 20465C-MIA-SQL

• 20465C-MIA-FCI-CLUST1

• 20465C-MIA-FCI-CLUST2

• 20465C-MIA-FCI-CLUST3

6. Repeat steps 1–4 for the following virtual machine, but log on as Administrator with the password Pa$$w0rd:

• 20465C-SQL-VM-Template

7. In all virtual machines, on the Start screen, type Network and Sharing Center, and in the Search pane, in the Settings category, click Network and Sharing Center. Then click Change Adapter Settings.

8. Right-click the local area connection adapter and click Properties, and then select Internet Protocol Version 4 (TCP/IPv4) and click Properties.

Page 18: 20465D: Designing a Data Solution with Microsoft SQL ...moc.samorodov.su/F0C20172-3025-4AE8-87CB-364113734...Information in this document, including URL and other Internet Web site

16 38T20465D: 38TDesigning a Data Solution with Microsoft SQL Server 2014

9. Ensure that the connection uses the following settings, and then click OK.

Virtual Machine IP Address Default gateway

Preferred DNS server

20465C-MIA-DC 10.10.0.10 10.10.0.1 127.0.0.1

20465C-MIA-SQL 10.10.0.20 10.10.0.1 10.10.0.10

20465C-MIA-FCI-CLUST1

10.10.0.31 10.10.0.1 10.10.0.10

20465C-MIA-FCI-CLUST2

10.10.0.32 10.10.0.1 10.10.0.10

20465C-MIA-FCI-CLUST3

10.10.0.33 10.10.0.1 10.10.0.10

20465C-SQL-VM-Template

10.10.0.50 10.10.0.1 10.10.0.10

10. If prompted to remove the static IP address for a previously configured adapter that is no longer present, click Yes. Then click Close.

11. 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.

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

14. Shut down the MIA-SQL virtual machine.

15. In the SQL-VM-Template virtual machine, open an administrative command prompt, run the following command, and click OK on the resulting message box:

slmgr -rearm

16. Shut down the SQL-VM-Template virtual machine.

17. In each of the MIA-FCI-CLUSTx virtual machines, open an Administrative 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.

Page 19: 20465D: Designing a Data Solution with Microsoft SQL ...moc.samorodov.su/F0C20172-3025-4AE8-87CB-364113734...Information in this document, including URL and other Internet Web site

38T20465D: 38TDesigning a Data Solution with Microsoft SQL Server 2014 17

18. In the MIA-FCI-CLUSTx virtual machines, in the administrative command prompt, run the following command, and click OK on the resulting message box:

slmgr -rearm

19. Shut down the MIA-FCI-CLUSTx virtual machines.

20. Start the following virtual machines and log onto each one as ADVENTUREWORKS\Student with the password Pa$$w0rd:

• 20465C-MIA-AG-CLUST1

• 20465C-MIA-AG-CLUST2

• 20465C-MIA-AG-CLUST3

21. In each of the MIA-AG-CLUSTx virtual machines, on the Start screen, type Network and Sharing Center, and in the Search pane, in the Settings category, click Network and Sharing Center. Then click Change Adapter Settings.

22. Right-click the local area connection adapter and click Properties, and then select Internet Protocol Version 4 (TCP/IPv4) and click Properties.

23. Ensure that the connection uses the following settings, and then click OK.

Virtual Machine IP Address Default gateway

Preferred DNS server

20465C-MIA-AG-CLUST1

10.10.0.31 10.10.0.1 10.10.0.10

20465C-MIA-AG-CLUST2

10.10.0.32 10.10.0.1 10.10.0.10

20465C-MIA-AG-CLUST3

10.10.0.33 10.10.0.1 10.10.0.10

24. In each of the MIA-AG-CLUSTx virtual machines, open an Administrative 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.

25. In each of the MIA-AG-CLUSTx virtual machines, in the administrative command prompt, run the following command, and click OK on the resulting message box:

slmgr -rearm

26. Shut down the MIA-AG-CLUSTx virtual machines.

Page 20: 20465D: Designing a Data Solution with Microsoft SQL ...moc.samorodov.su/F0C20172-3025-4AE8-87CB-364113734...Information in this document, including URL and other Internet Web site

18 38T20465D: 38TDesigning a Data Solution with Microsoft SQL Server 2014

27. In the MIA-DC virtual machine, open an administrative command prompt and run the following command. Click OK on the resulting message box:

slmgr -rearm

28. Shut down the MIA-DC virtual machine.

29. In Hyper-V Manager, under Virtual Machines. perform the following steps for each virtual machine:

a. Right-click the virtual machine and click Snapshot.

b. Wait for the snapshot process to finish.

c. In the Snapshots pane, right-click the snapshot name, click Rename.

d. Type StartingImage; and then press Enter.

9. Install the PowerPoint Slides Install the PowerPoint slides for the learning product by extracting the files included in:

• 20465D-ENU-PowerPoint.exe

Page 21: 20465D: Designing a Data Solution with Microsoft SQL ...moc.samorodov.su/F0C20172-3025-4AE8-87CB-364113734...Information in this document, including URL and other Internet Web site

38T20465D: 38TDesigning a Data Solution with Microsoft SQL Server 2014 19

Student Computer Checklist 1. Install the Hyper-V Server Role 2. Install the Base Image / Virtual Machine Files.

Page 22: 20465D: Designing a Data Solution with Microsoft SQL ...moc.samorodov.su/F0C20172-3025-4AE8-87CB-364113734...Information in this document, including URL and other Internet Web site

20 38T20465D: 38TDesigning a Data Solution with Microsoft SQL Server 2014

Student Computer Setup Use the instructions in the following section to set up the classroom manually. Before starting 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://www.microsoft.com/hyper-v.

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

1. Install the Hyper-V Server Role

Note: If Hyper-V is already installed, you can skip this procedure.

For detailed instructions see the instructor computer setup.

2. Install the Base Image / Virtual Machine Files

Note: Ensure that all extracted courseware virtual machine files were copied from the Instructor computer during the Instructor Computer setup.

• C:\Program Files\Microsoft Learning\20465 and all included folders and files

• C:\Program Files\Microsoft Learning\Base

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.

Page 23: 20465D: Designing a Data Solution with Microsoft SQL ...moc.samorodov.su/F0C20172-3025-4AE8-87CB-364113734...Information in this document, including URL and other Internet Web site

38T20465D: 38TDesigning a Data Solution with Microsoft SQL Server 2014 21

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

If your physical keyboard doesn’t 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.