Student Lab - Configuring Hyper-V
docx
keyboard_arrow_up
School
Santa Fe College *
*We aren’t endorsed by this school
Course
CET1600
Subject
Information Systems
Date
Dec 6, 2023
Type
docx
Pages
16
Uploaded by BaronTurtleMaster3907
Student Lab:
Configuring Hyper-V VM Settings
THIS LAB CONTAINS THE FOLLOWING EXERCISES AND ACTIVITIES:
------------------------------------------------------------------------------------------------------------
Exercise 8.1
Creating a Virtual Machine
Exercise 8.2
Managing VM Memory and Smart Paging
Exercise 8.3
Importing and Exporting VMs
Exercise 8.4
Implementing Hyper-V Security Options
BEFORE YOU BEGIN
*** The lab,
Enabling Hyper-V in Santa Fe NetLab
must be done before beginning this lab.***
The lab environment consists of student workstations connected to a local area
network.
The computers required for this lab are listed in Table 8-1.
Table 8-1
Computers required for Lab 8
Computer
Operating System
Computer Name
Windows 10 Workstation
Windows 10
Pro/Enterprise/EDU
LON-VM1
In addition to the computers, you will also require the software listed in Table 8-2 to
complete Lab 8.
Table 8-2
Software required for Lab 8
Software
Location
Lab 8 student worksheet
Worksheet in Assignment
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 Lab08_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.
Student Lab:
Configuring Hyper-V VM Settings
SCENARIO
After completing this lab, you will be able to:
▪
Create a virtual machine
▪
Manage VM memory and smart paging
▪
Import and export VMs
▪
Implement Hyper-V security options
▪
Configure Non-Uniform Memory Access (NUMA) support
Estimated lab time: 65 minutes
Exercise 8.1
Creating a Virtual Machine
Overview
In this exercise, you will create a virtual machine called VM1.
Mindset
A virtual machine (VM) is a self-contained, isolated unit that can
be easily moved from one physical computer to another, runs its
own operating system, and includes its own virtual hardware
configuration. Within the Hyper-V Manager console, you can
create virtual machines, import VMs (Action > Import Virtual
Machine), and create virtual hard disks (Action > New > Virtual
Hard Disk) to be used by VMs or by the host PC.
Completion time
15 minutes
1.
Log on to
LON-VM1
as
Administrator
with the password of
Pa$$word
.
2.
On
LON-VM1
, click the
Start
button, click the
Windows Administrative Tools
menu item (not the tile), then click
Hyper-V Manager
.
3.
Click
LON-VM1
, as shown in Figure 8-1.
Student Lab:
Configuring Hyper-V VM Settings
Figure 8-1
Opening Hyper-V
4.
Under Actions, click
New > Virtual Machine
.
5.
In the New Virtual Machine Wizard, on the Before You Begin page, click
Next
.
6.
On the Specify Name and Location page, in the Name text box, type
VM1
.
Question 1
What is the default storage location for the virtual machine?
The Machine Folder
7.
Click
Next
.
8.
In the Specify Generation page, answer the following question and then click
Next
.
Question 2
Which generation must be used when you need to deploy a
system running a 32-bit operating system?
Generation 1
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Student Lab:
Configuring Hyper-V VM Settings
9.
On the Assign Memory page, in the Startup memory, 1024 MB is already seleced.
Select to enable the
Use Dynamic Memory for this virtual machine
and click
Next
.
Question 3
What must be disabled to implement nested virtualization?
Dynamic memory must be disabled to implement nested
virtualization.
10.
On the Configure Networking page, answer the following question and then
select Default Switch and click
Next
.
Question 4
How many network connections are available to choose?
1 Connection available.
11.
On the Connect Virtual Hard Disk page, answer the following question. For the
size, type
60
GB and then click
Next
.
Question 5
What is the default storage location for the virtual disks?
C: Drive
12.
On the Installation Options page, click to select the
Install an operating system
later
option.
Click Next
13.
On the Summary page, take a screen shot of the New Virtual Machine Wizard by
pressing
Alt+PrtScr
and then paste it into your Lab08_worksheet file in the page
provided by pressing
Ctrl+V
.
Student Lab:
Configuring Hyper-V VM Settings
[copy screen shot over this text]
14.
Click
Finish
.
On LON-VM1, leave Hyper-V Manager open for the next exercise.
Exercise 8.2
Managing VM Memory and Smart Paging
Overview
In this exercise, you will configure the VM memory and smart
paging settings for VM1.
Mindset
When you create a virtual machine, you define startup RAM, which
is the amount of memory that a virtual machine will use
when the computer boots and represents the minimum amount of
physical memory the virtual machine will use.
Completion time
10 minutes
1.
On
LON-VM1
, using Hyper-V Manager, right-click
VM1
and choose
Settings
.
The Settings for VM1 on LON-VM1 dialog box opens, as shown in Figure 8-2.
Student Lab:
Configuring Hyper-V VM Settings
Figure 8-2
Configuring VM Settings
2.
Click the
Memory
node.
3.
Change the RAM from 1024 MB to
2048
MB.
Question 6
What are the minimum RAM and maximum RAM settings?
Minimum: 512 MB , Maximum: 1048576 MB
4.
Change the Minimum RAM settings from 512 MB to
1024
MB.
Question 7
What is the memory buffer set to?
20%
5.
Take a screen shot of the Settings for VM1 on LON-VM1 page by pressing
Alt+PrtScr
and then paste it into your Lab08_worksheet file in the page provided
by pressing
Ctrl+V
.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Student Lab:
Configuring Hyper-V VM Settings
[copy screen shot over this text]
6.
Under Management, click the
Smart Paging File Location
node.
Question 8
Where are the Smart Paging files stored?
C:\PromgramData\Microsoft\Windows\Hyper-V
7.
Close the Settings for VM1 on LON-VM1 page by clicking
OK
.
Remain logged on to LON-VM1 for the next exercise.
Exercise 8.3
Importing and Exporting a VM
Overview
In this exercise, you will export a copy of VM1 and then create a new
virtual machine called VM2 based on the exported virtual machine.
Student Lab:
Configuring Hyper-V VM Settings
Mindset
VMs are easy to create. By leveraging the exporting, importing, and
copying functions of Hyper-V, you significantly reduce the time
spent creating duplicate VMs.
Completion time
10 minutes
1.
On
LON-VM1
, open File Explorer by clicking the
File Explorer
tile on the
taskbar.
2.
Click the
Windows 10 (C:)
drive.
3.
Right-click the
Windows 10 (C:)
drive and choose
New > Folder
. Name the new
folder by typing
BAK
and pressing
Enter
.
4.
Close File Explorer.
5.
Usng
Hyper-V Manager
, right-click
VM1
and choose
Export
.
6.
In the Export Virtual Machine dialog box (as shown in Figure 8-3), type
C:\BAK
and then click
Export
.
Figure 8-3
Specifying the location to save the virtual machine
Student Lab:
Configuring Hyper-V VM Settings
7.
Right-click
LON-VM1
and choose
Import Virtual Machine
.
8.
In the Import Virtual Machine wizard, click
Next
.
9.
On the Location Folder page, in the Folder text box, type
C:\BAK\VM1\
and
click
Next
.
10.
On the Select Virtual Machine page, the VM1 is already selected. Click
Next
.
11.
On the Choose Import Type page, click
Copy the virtual machine (create a new
unique ID)
.
Question 9
Which option is used when you want to import a VM multiple
times?
Copy the virtual machine.
12.
Click
Next
13.
On the Choose Destination page, click to select the
Store the virtual machine in
a different location
. In the Virtual machine configuration folder text box,
Snapshot store text box, and Smart Paging folder text box, type
C:\VM2
and then
click
Next
.
14.
On the Choose Storage Folders page, in the Location text box, type
C:\VM2
and
then click
Next
.
15.
On the Completing Import Wizard, click
Finish
.
16.
Take a screen shot showing Hyper-V Manager with both VM1 virtual machines
VM1 by pressing
Alt+PrtScr
and then paste it into your worksheet file in the
page provided by pressing
Ctrl+V
.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Student Lab:
Configuring Hyper-V VM Settings
[copy screen shot over this text]
17.
Right-click the second
VM1
and choose
Rename
. Type
VM2
and press
Enter
.
Remain logged on to LON-VM1 for the next exercise.
Exercise 8.4
Implementing Hyper-V Security Options
Overview
In this exercise, you will create a new Generation 2 VM and then
configure the Hyper-V security options for the new VM.
Mindset
Windows Server 2016 includes multiple options that help secure the
virtual machines. These options include Secure Boot, encryption
support, and shielding.
Completion time
15 minutes
1.
On
LON-VM1
, using Hyper-V Manager, under Actions, click
New > Virtual
Machine
.
2.
In the New Virtual Machine Wizard, on the Before You Begin page, click
Next
.
Student Lab:
Configuring Hyper-V VM Settings
3.
On the Specify Name and Location page, in the Name text box, type
VM3
. Click
Next
.
4.
In the Specify Generation page, click to select
Generation 2
and then click
Next
.
5.
On the Assign Memory page, in the Startup memory,
1024
MB is already
selected. Select to enable the
Use Dynamic Memory for this virtual machine
and click
Next
.
6.
On the Configure Networking page, click
Next
.
7.
On the Connect Virtual Hard Disk page for the size, type
60
GB and then click
Next
.
8.
On the Installation Options page, click to select
Install an operating system
later.
9.
On the Installation Options page, click
Next
.
10.
On the Summary page, take a screen shot of the New Virtual Machine Wizard by
pressing
Alt+PrtScr
and then paste it into your worksheet file in the page
provided by pressing
Ctrl+V
.
Student Lab:
Configuring Hyper-V VM Settings
[copy screen shot over this text]
11.
Click
Finish
.
12.
Right-click
VM3
and choose
Settings
.
13.
In the Settings for VM3 on LON-VM1 dialog box, click the
Security
node.
14.
On the Security page, Enable Secure Boot is already selected. To select the TPM,
select the
Enable Trusted Platform Module
option.
15.
To encrypt state and virtual machine migration traffic, select
Encrypt state and
virtual machine migration traffic.
16.
To shield the virtual machine, select
Enable Shielding
.
Question
10
What happens to the other security options when you select
the Enable Shielding option?
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Student Lab:
Configuring Hyper-V VM Settings
After selecting the enable shielding option we cannot select
another option.
17.
Take a screen shot of the Security page by pressing
Alt+PrtScr
and then paste it
into your Lab08_worksheet file in the page provided by pressing
Ctrl+V
.
[copy screen shot over this text]
18.
Close the Settings window by clicking
OK
.
Student Lab:
Configuring Hyper-V VM Settings
Remain logged on to LON-VM1 for the next exercise.
Lab
Challenge
Configuring Non-Uniform Memory Access (NUMA)
Support
Overview
In this exercise, you will configure the NUMA support settings based
on the current hardware.
Mindset
Non-Uniform Memory Access (NUMA) is a computer system
architecture that is used with multiprocessor designs that organizes
memory into regions; these regions are assigned access latencies based
on how these larger systems’ processors and memory are
interconnected. For large multiprocessor systems, NUMA organizes
memory and processors into groups called NUMA nodes.
Completion time
10 minutes
1.
On
LON-VM1
, using Hyper-V Manager, right-click
LON-VM1
and choose
Hyper-V Settings
.
2.
In the Hyper-V Settings window, select the NUMA Spanning node, as shown in
Figure 8-4.
Student Lab:
Configuring Hyper-V VM Settings
Figure 8-4
Configuring NUMA spanning
3.
On the NUMA Spanning page, the Allow virtual machines to span physical
NUMA nodes option is already selected.
4.
Take a screen shot of the NUMA settings page by pressing
Alt+PrtScr
and then
paste it into your Lab08_worksheet file in the page provided by pressing
Ctrl+V
.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Student Lab:
Configuring Hyper-V VM Settings
5.
To close the Hyper-V Settings window, click
Cancel
.
End of lab. Log off of all systems.