Top Banner
@ITCAMPRO #ITCAMP17 Community Conference for IT Professionals The best of Hyper-V 2016 Thomas Maurer Cloud Architect @ itnetX Microsoft MVP www.thomasmaurer.ch Twitter: @ThomasMaurer
65

The best of Hyper-V 2016 - Thomas Maurer

Mar 18, 2018

Download

Technology

ITCamp
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

The best of Hyper-V 2016

Thomas Maurer

Cloud Architect @ itnetX

Microsoft MVP

www.thomasmaurer.ch

Twitter: @ThomasMaurer

Page 2: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Thomas Maurer

• Cloud Architect, itnetX

– Microsoft Cloud

– MCSE Private Cloud

– MCSE Server Infrastructure

– MCSD Azure Solution Architect

– Microsoft MVP Cloud & Datacenter

• Twitter & Blog

– www.thomasmaurer.ch

– @thomasmaurer

Page 3: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

MMS Minnesota 2014

Page 4: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

▪ Intro

▪ 12 Cool Things in Windows Server 2016 Hyper-V ☺

▪ Q & A

Agenda

Page 5: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

• x86 Server Virtualization Share For The Past 5+ Years

We are winning virtualization share

Q1 CY2008

Windows Server 2008Released

Q3 CY2009

Windows Server 2008 R2Released

Q3 CY2012

Windows Server 2012Released

Q3 CY2014

CURRENT

Change

Since Hyper-V Released

MicrosoftHyper-V

Server0.0% 11.8% 25.9% 30.6% +30.6 Pts

ESX

40.0% 46.6% 51.4% 46.2% +6.2 Pts

Page 6: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Page 7: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals#1

Nano Server

Page 8: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Nano Server

• Headless server

• No UI

• Everything remotely managed

• Extremely low footprint

• Works with packages:

–Hyper-V

–SOFS

–DNS

–…

Nano ServerServer Core

Minimal Server Interface

GUI Shell

Windows Server 2016

Page 9: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals#2Shielded VMs

Page 10: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Challenges in protecting high-value assets

Page 11: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Confidently protect sensitive customer data:

Designed for ‘zero-trust’ environments

Page 12: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals#3

Storage Enhancements

Page 13: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Networking & Storage Enhancements

• Distributed Storage QoS (one or more virtual disks

on SOFS)

• Deduplication optimization for virtualized backup

workloads

• VHDX improvements on ReFS

Page 14: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Storage Spaces Direct

Reliability, scalability, flexibility •

Use cases•

Cloud design points and management•

Page 15: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Storage Spaces Direct Scenarios

Hyper-converged Converged (Disaggregated)

Page 16: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

DEMO: STORAGE SPACES DIRECT

Page 17: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Page 18: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Storage Replica

Page 19: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

• Volume based block-level storage replication

• synchronous or asynchronous

• HW agnostic (any type of source / destination volume)

• SMB3 as transport protocol

• Leverages RDMA / SMB3 Encryption Multichanneling

• I/Os pre-aggregated prior to transfer

• Managed via Powershell, cluadmin, ASR

Storage Replica at a glance

Page 20: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

DEMO: REFS

Page 21: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals#4

PowerShell

Page 22: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

PowerShell Direct

• No network, no firewall requirements no nothing…

• Enter-PSSession –VMName VMName

• Invoke-Command –VMName VMName –ScriptBlock { Commands }

• Connected to a W10 or WS 2016 TP host with VM that run W10 or WS 2016 TP as the guest OS

• You need to be logged in with Hyper-V administrator credentials on the host.

• You need user credentials for the virtual machine.

• The virtual machine that you want to connect to must run locally on the host and be booted.

Page 23: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

DEMO: NANO SERVER & POWERSHELL DIRECT

Page 24: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals#5

Virtual Machines

Page 25: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

VM Configuration & Format

• Current at 8.0

• Might need to get manually updated

– Update-VmVersion vmname (or vmobject)

• VM needs to be off

• Format is now binary

• .VMCX

Page 26: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Integration Services

• No more ISO

• Delivered through Windows Update

• In the hands of the tenants now

• Linux Integration Services (LIS) or FreeBSD

Integration Services (BIS) can be built-in or require

download

Page 27: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Linux Secure Boot

• Booting with the Secure Boot option enabled

• Generation 2 required

• Ubuntu 14.04 (or later), SUSE Linux Enterprise Server

12 (or later), Red Hat Enterprise Linux 7.0 (or later)

and CentOS 7.0 (or later)

• Before booting first time:

– Set-VMFirmware vmname –SecureBootTemplate MicrosoftUEFICertificateAuthority

Page 28: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Hot Add/Remove

• Add vNICs to a running VM

• Change memory of a running VM (add only if

memory is available)

Page 29: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

DEMO: HOT ADD AND REMOVE

SHIELDED VMS

Page 30: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals#6

Clustering

Page 31: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Clustering

• Storage Replica

• Cloud Witness

• Virtual Machine Resiliency

• Site-aware Failover Clusters

Page 32: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

• You can now upgrade a 2012 R2 Hyper-V cluster to

Windows Server 2016 with:

– No new hardware

– No downtime

– The ability to roll-back safely if needed

Rolling Cluster Upgrade

Page 33: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Cluster OS Rolling Upgrade

• Mixed OS mode is a new transition state for Failover

Clusters

Page 34: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Cluster OS Rolling Upgrade Process

• Start with a Windows Server 2012 R2 cluster

– All nodes running Windows Server 2012 R2

– The workload supports Cluster OS Rolling Upgrade process

Windows Server 2012 R2

Cluster Functional Level = Windows Server 2012 R2

Windows Server 2012 R2

Windows Server 2012 R2

Windows Server 2012 R2

Windows Server 2012 R2

Page 35: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Cluster OS Rolling Upgrade Process

• Migrate Workloads Off Cluster Node

–Pause | Drain the node

Windows Server 2012 R2

Cluster Functional Level = Windows Server 2012 R2

Windows Server 2012 R2

Windows Server 2012 R2

Windows Server 2012 R2

Windows Server 2012 R2

Failover Cluster

Page 36: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Cluster OS Rolling Upgrade Process

• Evict Idle Cluster Node

Windows Server 2012 R2

Cluster Functional Level = Windows Server 2012 R2

Windows Server 2012 R2

Windows Server 2012 R2

Windows Server 2012 R2

Windows Server 2012 R2

Failover Cluster

Page 37: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Cluster OS Rolling Upgrade Process

• Re-Provision Node

– Install New OS

– Install and Configure any Workload Requirements

Windows Server 2012 R2

Cluster Functional Level = Windows Server 2012 R2

Windows Server 2012 R2

Windows Server 2012 R2

Windows Server 2012 R2

Windows Server 2016

Failover Cluster

Page 38: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Cluster OS Rolling Upgrade Process

• Re-Add Node To Cluster

–Using Cluster UI or PowerShell

–Cluster Functional Level Remains Windows Server 2012

R2

Windows Server 2012 R2

Cluster Functional Level = Windows Server 2012 R2

Windows Server 2012 R2

Windows Server 2012 R2

Windows Server 2012 R2

Windows Server 2016

Page 39: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Cluster OS Rolling Upgrade Process

• Ready To Migrate Workloads Back

–Migrate workloads to Windows Server 2016 Node

–Validate functionality

Windows Server 2012 R2

Cluster Functional Level = Windows Server 2012 R2

Windows Server 2012 R2

Windows Server 2012 R2

Windows Server 2012 R2

Windows Server 2016

Page 40: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Cluster OS Rolling Upgrade Process

• Repeat For Remaining Nodes

Cluster Functional Level = Windows Server 2012 R2

Windows Server 2016

Windows Server 2016

Windows Server 2016

Windows Server 2016

Windows Server 2012 R2

Page 41: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Cluster OS Rolling Upgrade Process

• All Nodes Are Upgraded

–Cluster Functional Level remains Windows Server 2012 R2

–Functionality is limited to Windows Server 2012 R2 levels

Windows Server 2016

Cluster Functional Level = Windows Server 2012 R2

Windows Server 2016

Windows Server 2016

Windows Server 2016

Windows Server 2016

Page 42: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Cluster OS Rolling Upgrade Process

• Upgrade Functional Level– Cluster Functional Level upgraded To Windows Server 2016:

Update-ClusterFunctionalLevel cmdlet

– New functionality added in Windows Server 2016 enabled

Windows Server 2016

Cluster Functional Level = Windows Server 2016

Windows Server 2016

Windows Server 2016

Windows Server 2016

Windows Server 2016

Page 43: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Cluster OS Rolling Upgrade Process

• Upgrade is completed

Windows Server 2016

Cluster Functional Level = Windows Server 2016

Windows Server 2016

Windows Server 2016

Windows Server 2016

Windows Server 2016

Failover Cluster

Page 44: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals#7

Hyper-V Manager

Page 45: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Hyper-V manager

• Alternate Credentials Support

• Managing earlier versions

• Updated Management Protocol

Page 46: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals#8

Networking Enhancements

Page 47: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Software Defined Networking

• Bringing Software Defined Networking to the next

level

–VXLAN and NVGRE support

–Virtual Firewall

–Software Load Balancer

– Improved Gateways

–RDMA using vNICs

–And much much more…

Page 48: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals#9

Production Checkpoints

Page 49: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Production Checkpoints

• Allows you to create “point-in-time” images of a VM

• Full support for application workloads

• VSS on windows (application-consistent)

• File system buffer flush on Linux (file-consistent)

• Still can switch to the standard method

• New VMs use production checkpoints as default

• Fixes the “wrong usage of checkpoints”

• NOT a backup solution

• Native CBT will be implemented for backup vendors

Page 50: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

#10Nested Virtualization

Page 51: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Page 52: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Nested Virtualization

• Possible in Windows 10 build 10565 (with restrictions)

• Possible in TP5

• Only Intel at this point in time

• Dynamic Memory needs to be off

• Enabling requires specific scripts:

https://msdn.microsoft.com/virtualization/hyperv_on

_windows/user_guide/nesting

Page 53: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals#11

Container

Page 54: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

What are Containers

LXC (Linux Containers) is an operating-system-level

virtualization environment for running multiple

isolated Linux systems (containers) on a single Linux

control host. Containers provide operating system-

level virtualization through a virtual environment that

has its own process and network space, instead of

creating a full-fledged virtual machine.

Page 55: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Bare-Metal

Page 56: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Virtual Machines

Page 57: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Container Run-time

Page 58: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals#12

Much more

Page 59: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Much more

• Compatible with Connected Standby

• Discrete device assignment

• Host resource protection

Page 60: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

ONE MORE THING…

Page 61: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Core Based Licensing

Page 62: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Core Based Licensing

• License all the physical cores in the server

• Minimum of 8 core licenses required for each proc

• Minimum of 16 core licenses required for each server

• Core licenses will be sold in packs of two.

• 8 two-core packs will be the minimum required to license each physical

server.

• The two-core pack for each edition is 1/8th the price of a two proc license

for corresponding 2012 R2 editions.

http://www.thomasmaurer.ch/2015/12/windows-server-2016-

licensing-and-pricing/

Page 63: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Switch now!

• From September 1, 2016, through June 30, 2017, customers who switch workloads from VMware to Hyper-V can get free Windows Server Datacenter licenses when buying Windows Server Datacenter + Software Assurance.

• http://www.thomasmaurer.ch/2016/08/microsofts-new-vmware-migration-offer-for-windows-server-2016/

Page 64: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Q & A

www.thomasmaurer.ch

@ThomasMaurer

Page 65: The best of Hyper-V 2016 - Thomas Maurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Many thanks to our sponsors & partners!

GOLD

SILVER

PARTNERS

PLATINUM

POWERED BY