003 Hyper-V
003 Hyper-V
HOTLINE
09251222279
Install and configure Hyper-V
• Determine hardware and compatibility requirements for installing Hyper-V
• Install Hyper-V
Functionality Description
• To enable Client Hyper-V on Windows 10, go to Control Panel > Programs > Turn
Windows Features on or off, check Hyper-V, making sure all components are selected,
and click OK. Once enabled, you can now launch the Hyper-V Manager console from the
Start menu.
Tips for Hyper-V
Requirements for Client Hyper-V
• Client Hyper-V, the Hyper-V feature in Windows 8, Windows 8.1, and Windows 10 operating systems, has slightly
different processor requirements than Hyper-V on Windows Server 2012, Windows Server 2012 R2 and Windows
Server 2016. Specifically, with Windows 8, Windows 8.1, and Windows 10 client operating systems, the computer:
• Must have an x64 platform that supports Second Level Address Translation (SLAT).
• Have a minimum of 4 gigabytes (GB) of random access memory (RAM).
• In Virtual Desktop Infrastructure (VDI), client operating systems are hosted centrally as virtual machines, and
clients connect to these virtual machines by using client software, such as Remote Desktop Client (RDC). You can
configure a server to support VDI by selecting a Remote Desktop Services installation in the Add Roles and
Features Wizard. When you configure a virtualization server to function as a VDI server, you install the Remote
Desktop Virtualization Host role feature in addition to the Hyper-V role.
Desktop Virtualization Continued :
• RemoteFX
• RemoteFX is a technology that benefits VDI deployments by providing a set of
enhancements to remote desktop connections. RemoteFX enables virtual
machines to display rich graphics and video capabilities, including media
streaming. It also provides support for multi-touch. RemoteFX requires:
• A graphics processing unit (GPU) that supports DirectX® 9.0c or newer
• A central processing unit (CPU) that supports SLAT.
Microsoft Azure Virtualization
On networks that use Windows Server 2016, the Remote Desktop Services server role provides presentation
virtualization. Clients can access presentation virtualization in the following ways:
• Full Desktop. Clients can use a remote desktop client, such as RDC, to access a full desktop session and run
programs on the Windows Server 2016 virtualization server
• RemoteApp programs. Rather than use a full desktop client, such as RDC, the Windows Server feature RemoteApp
makes it possible for programs that run on the Windows Server 2016 server to display on the client computer.
• Remote Desktop Web Access. Using Remote Desktop Web Access (RD Web Access), clients can access a website
on a specially configured server, and then launch RemoteApp programs and Remote Desktop sessions from their
browser.
• Hyper-V is the hardware virtualization role that is available in Windows Server 2016. Hardware
virtualization provides a hypervisor layer that has direct access to the host server’s hardware. The host
operating system and all virtual machines that are running on the host access the hardware through
the hypervisor layer.
You can install the Hyper-V role on the Server Core installation of Windows Server 2016 and there also is a
free Microsoft Hyper-V Server 2016 edition, which includes only the components necessary to host virtual
machines.
Hyper-V requirements
Hardware
• 64-bit CPU with SLAT
• VM Monitor mode extensions • GUI mode
• Virtualization support on in BIOS/UEFI • Server Core
• Nano server
Intel-VT/AMD-V DEP enabled
• Enough RAM for workloads
• Windows Vista – Windows 10
Other features require other hardware such as • Windows Server 2008 – WS2016
TPM for shielded VMs, and UEFI 2.3.1c for • Linux
secure boot & measured boot • FreeBSD
PowerShell Direct
• Uses PowerShell
remoting to a VM
where you would not
have network access to
normally
Nested virtualization
New feature in WS2016
Requires:
• Host running WS2016 Hyper-V
• VM running WS2016 or Windows 10 anniversary update
• A Hyper-V VM with configuration version 8.0 or greater
• An Intel processor with VT-x and EPT technology
To configure:
1. Create a virtual machine
2. While the virtual machine is in the OFF state, run the following on the Hyper-V host to enable nested
virtualization
• NUMA spanning
• Dynamic memory
• CPU(s)
• Integration services (and when to configure
them)
• Smart paging and other paths
Types
Fixed
• Uses physical space from day 1 equal to disk size
Dynamically expanding
• Space is consumed on demand up to max disk size
Differencing
• Disk chains allow parent-child disk relationships
for speed of deployment
Shared VHDX files
External
• Uses physical NIC in host to allow LAN/Internet
connectivity.
• VM NIC must use IP address relevant to physical
subnet
Internal
• Connectivity between VMs and host only on the
same switch
Private
• Connectivity between VMs only on the same switch
Bandwidth Management
New NAT switch in WS2016 VLAN ID
New-VMSwitch -Name “NATSwitch” -SwitchType NAT - SR-IOV
NATSubnetAddress 172.16.1.0/24 VMQ
NIC teaming
Configurable in VM or host
To create a virtual switch with SET, use the following Windows PowerShell command:
Configure NIC settings
MAC addresses assigned from a pool
• Configurable on host, always starts 00-15-5D
You can assign static MAC
• Know when you would – NLB, Nested VMs
When to use spoofing?
• If a VM uses NLB or similar services that use a common MAC
address
DHCP Guard
• Protects leakage of packets from a VM acting as a DHCP server
Router Guard
• Suppresses router advertisements from VMs configured as
routers
Port Mirroring and more!
Practice Question
You plan to deploy a Hyper-V based nested virtualization solution onto a number of servers. The nested servers
need access to the Internet. You have the following virtual machines (VMs) available.
You need to identify which servers from the following table can be used for this purpose.
VM Name Installation VM Configuration Network configuration
type version
Server1 Server with 7.0 Internal network switch
GUI
Server2 Server Core 8.0 External network switch
Server3 Nano Server 8.0 NAT switch
Server4 Server Core 8.0 MAC address spoofing configured
Which servers should you identify?
A. Server1 and Server2
B. Server2 and Server3
C. Server1 and Server3
D. Server3 and Server4
https://msdn.microsoft.com/en-us/virtualization/hyperv_on_windows/user_guide/nesting
Hyper-V Networking
SR-IOV
VMQ
NIC Teaming