ch07 LM WS

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 11

70-740 Installation, Storage, and Compute with Windows Server 2016

LAB 7
INSTALLING AND
CONFIGURING HYPER-
V

THIS LAB CONTAINS THE FOLLOWING EXERCISES AND ACTIVITIES:

Exercise 7.1 Installing Hyper-V

Exercise 7.2 Delegating Virtual Machine Management

Lab Challenge Implementing Nested Virtualization

BEFORE YOU BEGIN

The lab environment consists of student workstations connected to a local area


network, along with a server that functions as the domain controller for a domain
called adatum.com. The computers required for this lab are listed in Table 7-1.
70-740 Installation, Storage, and Compute with Windows Server 2016

Table 7-1
Computers required for Lab 7
Computer Operating System Computer Name
Server (VM 1) Windows Server 2016 LON-DC1
Server (VM 2) Windows Server 2016 LON-SVR1

In addition to the computers, you will also require the software listed in Table 7-2 to
complete Lab 7.

Table 7-2
Software required for Lab 7
Software Location
Lab 7 student worksheet Lab07_worksheet.doc (provided by instructor)

Working with Lab Worksheets


Each lab in this manual requires that you answer questions, shoot screen shots, and
perform other activities that you will document in a worksheet named for the lab, such
as Lab07_worksheet.doc. You will find these worksheets on the book companion site.
It is recommended that you use a USB flash drive to store your worksheets, so you can
submit them to your instructor for review. As you perform the exercises in each lab,
open the appropriate worksheet file using Word, fill in the required information, and
then save the file to your flash drive.

SCENARIO

After completing this lab, you will be able to:

 Install Hyper-V

 Delegate virtual machine management

 Implement virtual machine management

Estimated lab time: 40 minutes

Exercise 7.1 Installing Hyper-V


Overview Often you will install Hyper-V role using Server Manager. In this
exercise, however, you will use the DISM.exe program to install the
Hyper-V role on one of your member servers.
70-740 Installation, Storage, and Compute with Windows Server 2016

Mindset Hyper-V is a hardware virtualization server role that enables you to create
and manage virtual machines (VMs) using a virtual switch. By using
hardware virtualization, you can subdivide the single physical computer to
be subdivided, and allocated, to multiple virtual machines.
Completion time 15 minutes

1. Log on to LON-SVR1 as adatum\administrator with the password of Pa$


$w0rd.

2. Click the Start button and then click Windows PowerShell.

Question
Which type of processor is required to run Hyper-V?
1

Question
Which hardware options must be enabled to run Hyper-V?
2

3. In the Windows PowerShell window, execute the following command:

DISM /online /enable-feature /featurename:Microsoft-Hyper-V

The system installs the Hyper-V role and prompts you to restart the server (see
Figure 7-1).
70-740 Installation, Storage, and Compute with Windows Server 2016

Figure 7-1
The prompt to restart the server

4. Press Y. The system restarts.

5. After the server restarts, log on to LON-SVR1 as adatum\administrator with the


password of Pa$$w0rd.

6. In the Server Manager console, select Manage > Add Roles and Features.

7. In the Add Roles and Features Wizard, on the Before You Begin page, click
Next.

8. On the Installation type page, click Next.

9. On the Server Selection page, click Next.

10. On the Server Roles page, click Next.

11. On the Features page, expand Remote Server Administration Tools, expand
Role Administration Tools, expand the Hyper-V Management Tools node,
and then click to select the Hyper-V GUI Management Tools. Click Next.

12. On the Confirmation page, click Install.


70-740 Installation, Storage, and Compute with Windows Server 2016

13. Take a screen shot of the Installation progress page by pressing Alt+PrtScr and
then paste it into your Lab07_worksheet file in the page provided by pressing
Ctrl+V.

[copy screen shot over this text]

14. Click Close.

Leave the windows open for the next exercise.


70-740 Installation, Storage, and Compute with Windows Server 2016

Exercise 7.2 Delegating Virtual Machine Management


Overview In this exercise, you will add a user to the Hyper-V Manager
Administrators group.

Mindset By default, Hyper-V allows the administrators group to create and


manage virtual machines. You can grant administrative access by
adding a user to the Administrators group or the Hyper-V
Administrators group. However, you can also allow a non-
administrative user to create and control virtual machines by using
the Authorization Manager console.
Completion time 15 minutes

1. Log on to LON-DC1 as adatum\administrator with the password of Pa$


$w0rd.

2. In Server Manager, click Tools > Active Directory Users and Computers. The
Active Directory Users and Computers console opens, as shown in Figure 7-2.

Figure 7-2
Opening the Active Directory Users and Computers console
70-740 Installation, Storage, and Compute with Windows Server 2016

3. In Active Directory Users and Computers, expand Adatum.com and then click
the Users node.

4. Right-click the Users node and choose New > User.

5. In the New Object – User dialog box, type the followng information and click
Next.

First name: Jim

Last name: Tache

Full name: Jim Tache

User login name: JTache

User Logon name: JTache

6. In the Password text box and the Confirm password text box, type Pa$$w0rd.
Click Next. Click Finish.

7. On LON-SVR1, in Server Manager, click Tools > Computer Management.

8. Click Local Users and Groups and then click the Groups node (see Figure 7-3).
70-740 Installation, Storage, and Compute with Windows Server 2016

Figure 7-3
Managing Groups

9. Double-click the Hyper-V Administrators group. The Hyper-V Administrators


Properties dialog box opens.

10. Click Add.

Question When you specify a group or user, what is the location that it
3 will search?

11. In the Select Users dialog box, type JTache and click OK.

12. Take a screen shot of the Hyper-V Administrators Properties dialog box by
pressing Alt+PrtScr and then paste it into your Lab07_worksheet file in the page
provided by pressing Ctrl+V.

[copy screen shot over this text]


70-740 Installation, Storage, and Compute with Windows Server 2016

13. Close the Hyper-V Administrators Properties dialog box by clicking OK.

End of Lab. Log off of all servers.

Lab Challenge Implementing Nested Virtualization


Overview In this exercise, you will create a virtual machine and then
activate nested virtualization for the new virtual machine.

Mindset Windows Server 2016 supports nested virtualization, which allows a


Hyper-V guest virtual machine to become a Hyper-V host and run a
Hyper-V guest operating system. In other words, it allows you to run
a guest virtual machine in a guest virtual machine.
Completion time 10 minutes

You will not be able to perform this exercise on the MOAC Labs Online
NOTE

systems. Instead, you need to use a computer running Windows Server


2016 with Hyper-V installed.

1. On a local server running Windows Server 2016 and Hyper-V, click the Start
button and then click Windows Administrative Tools > Hyper-V Manager.
Hyper-V Manager opens, as shown in Figure 7-4.
70-740 Installation, Storage, and Compute with Windows Server 2016

Figure 7-4
Opening Hyper-V Manager

2. Under Actions, click New > Virtual Machine.

3. In the New Virtual Machine Wizard, on the Before You Begin page, click Next.

4. On the Specify Name and Location page, in the Name text box, type VHOST1
and then click Next.

5. On the Specify Generation page, click Next.

6. On the Assign Memory page, in the Startup memory, specify 4096 MB.

Question
What must be disabled to implement nested virtualization?
4

7. Click Next.

8. On the Configure Networking page, click Next.

9. On the Connect Virtual Hard Disk page, click Next.


70-740 Installation, Storage, and Compute with Windows Server 2016

10. On the Installation Options page, click Next.

11. On the Summary page, click Finish.

12. Click the Start button and then click Windows PowerShell (Admin).

13. To enable the Virtualization Extension of the vCPU, execute the following
Windows PowerShell command:

Set-VMProcessor -VMName "VHOST1"


-ExposeVirtualizationExtensions $true

14. Take a screen shot of the Hyper-V Administrators Properties page by pressing
Alt+PrtScr and then paste it into your Lab07_worksheet file in the page provided by
pressing Ctrl+V.

[copy screen shot over this text]

15. Close the Windows PowerShell window.

End of lab. Log off of your local server.

You might also like