The best of Hyper-V 2016 - Thomas Maurer

Preview:

Citation preview

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

The best of Hyper-V 2016

Thomas Maurer

Cloud Architect @ itnetX

Microsoft MVP

www.thomasmaurer.ch

Twitter: @ThomasMaurer

@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

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

MMS Minnesota 2014

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

▪ Intro

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

▪ Q & A

Agenda

@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

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals#1

Nano Server

@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

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

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Challenges in protecting high-value assets

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Confidently protect sensitive customer data:

Designed for ‘zero-trust’ environments

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals#3

Storage Enhancements

@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

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Storage Spaces Direct

Reliability, scalability, flexibility •

Use cases•

Cloud design points and management•

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Storage Spaces Direct Scenarios

Hyper-converged Converged (Disaggregated)

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

DEMO: STORAGE SPACES DIRECT

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Storage Replica

@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

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

DEMO: REFS

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals#4

PowerShell

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

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

DEMO: NANO SERVER & POWERSHELL DIRECT

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals#5

Virtual Machines

@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

@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

@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

@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)

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

DEMO: HOT ADD AND REMOVE

SHIELDED VMS

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals#6

Clustering

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Clustering

• Storage Replica

• Cloud Witness

• Virtual Machine Resiliency

• Site-aware Failover Clusters

@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

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Cluster OS Rolling Upgrade

• Mixed OS mode is a new transition state for Failover

Clusters

@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

@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

@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

@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

@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

@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

@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

@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

@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

@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

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals#7

Hyper-V Manager

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Hyper-V manager

• Alternate Credentials Support

• Managing earlier versions

• Updated Management Protocol

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals#8

Networking Enhancements

@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…

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals#9

Production Checkpoints

@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

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

#10Nested Virtualization

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

@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

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals#11

Container

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

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Bare-Metal

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Virtual Machines

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Container Run-time

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals#12

Much more

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Much more

• Compatible with Connected Standby

• Discrete device assignment

• Host resource protection

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

ONE MORE THING…

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Core Based Licensing

@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/

@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/

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Q & A

www.thomasmaurer.ch

@ThomasMaurer

@ITCAMPRO #ITCAMP17Community Conference for IT Professionals

Many thanks to our sponsors & partners!

GOLD

SILVER

PARTNERS

PLATINUM

POWERED BY

Recommended