• No results found

Windows Server 2012 R2 Hyper-V: Designing for the Real World

N/A
N/A
Protected

Academic year: 2021

Share "Windows Server 2012 R2 Hyper-V: Designing for the Real World"

Copied!
58
0
0

Loading.... (view fulltext now)

Full text

(1)

Windows Server 2012 R2 Hyper-V:

Designing for the Real World

(2)
(3)
(4)
(5)
(6)

Legacy Network Configuration

(Server 2008 R2)

Management

Hyper-V Host

vNIC vNIC vNIC

VM Cluster

(7)

Problems with Legacy Network Configuration

Management

Hyper-V Host

vNIC vNIC vNIC

(8)

Server 2012 Introduces Converged Fabric

10Gb 10Gb 10Gb 10Gb

Hyper-V Host

(9)

Benefits of Converged Fabric

10G 10G 10G 10G

Hyper-V Host

(10)

Wait! Where’s my 40Gbps of bandwidth?!?!?

(11)

NIC Teaming: LACP (Switch Dependent) & Address Hashing

10G 10G 10G 10G

Hyper-V Host

vNIC vNIC vNIC vNIC vNIC vNIC

(12)

NIC Teaming: Switch Independent & Hyper-V Port Load Balancing

10G 10G 10G 10G

Hyper-V Host

(13)

NIC Teaming: Server 2012 R2 Switch Independent & Dynamic Load

Balancing

10G 10G 10G 10G

Hyper-V Host

vNIC vNIC vNIC vNIC vNIC vNIC

(14)
(15)

Converged Fabric Diagram

10Gb 10Gb 10Gb 10Gb

Hyper-V Host

(16)

QoS – Three ways to create rules

Hyper-V Host

vNIC vNIC

(17)

What is the difference?

QoS Enabled Virtual Switch

• Very simple, especially when using converged fabrics (all interfaces are vNICs). • Each rule is applied to a virtual NIC (VM or Management OS).

• You can define a default bucket for unspecified.

QoS Packet Scheduler

• Used for creating per protocol rules handled by the Management OS.

Data Center Bridging (DCB)

• DCB is handled by hardware.

(18)

QoS Packet Scheduler Built in Filters

Workload Built-in Filter (PowerShell

Parameter)

Filter Implementation

iSCSI -iSCSI Match TCP or UDP port 3260

NFS -NFS Match TCP or UDP port 2049

SMB -SMB Match TCP or UDP port 445

Live Migration -LiveMigration Match TCP port 660 Wild Card -Default Any traffic that is not

(19)

Hyper-V QoS (Virtual Switch) > Omit this

slide! – I will just talk about it

Guarantee a minimum level of service to a vNIC, protocol, or an IP port

Bits per second-based rules – Gives exact speed but what if VMs are

moved to host with different speed NICs?

Weight-based rules – More flexible as its based on a share of bandwidth

with no consideration of actual speed

Minimum Bandwidth – Guarantee a minimum share of the host’s

bandwidth to a vNIC or protocol

Maximum Bandwidth – Limit the bandwidth consumption of a vNIC or

protocol

The most flexible and common option is to implement

(20)

QoS – Guaranteeing a % of Bandwidth

Unspecified 35 % Cluster 40% Management 5% Live Migration 20%

(21)

QoS – Example Configuration

# Apply a default weight to the vSwitch (any vNIC which is unspecified will fall into this bucket)

Set-VMSwitch “Converged-vSwitch” -DefaultFlowMinimumBandwidthWeight 35

# Assign a weight to Management OS vNICs

SetVMNetworkAdapter ManagementOS Name "Cluster" -MinimumBandwidthWeight 40

SetVMNetworkAdapter ManagementOS Name "LiveMigration" -MinimumBandwidthWeight 20

SetVMNetworkAdapter ManagementOS Name "Management" -MinimumBandwidthWeight 5

# Calculate the percentage of bandwidth based on your specified weights

(22)
(23)

iSCSI within the Converged Fabric

10G 10G

Hyper-V Host

vNIC vNIC vNIC vNIC vNIC

Storage Controller B

10G 10G

(24)

Converged Fabric / iSCSI Fault Domains

10G 10G

Hyper-V Host

vNIC vNIC vNIC vNIC

(25)

Testing Fabric

• Test throughput

• Use consume.exe to consume the memory on a VM with 64GB of ram > Then Live Migrate the VM!

• Use iPerf to test the throughput from vNIC to vNIC

• Notice the throughput difference on a Live Migration when Jumbo Frames are not configured • Use Jumbo Frames!

• Test disk throughput with SQL-IO

• Verify you have Jumbo Frames configured end to end

• ping –l 8000 –f 192.168.1.50

• Failing Components

• Network interfaces • Switches

• Storage connectivity

(26)

Real World Testing Example with SQLIO

Unbalanced iSCSI Interface utilization

(27)
(28)
(29)

Cluster Shared Volumes v1 (WS 2008 R2)

(30)

Cluster Shared Volumes v2 (WS 2012)

(31)

CSV Cache

Uses system memory

• Up to 20% in Windows Server 2012 • Up to 80% in Windows Server 2012 R2

Improves Read Performance

• VDI Environment

(32)

Failov

er Clu

st

er

SMB3

Software Defined Storage

(33)
(34)
(35)

Block Level Disk for VMs – Guest iSCSI

10G 10G

Hyper-V Host

vNIC vNIC vNIC

(36)
(37)
(38)
(39)

Dynamic Quorum – Windows Server 2012

Requirements

(40)

Cluster Size

(41)

Cluster Size

Rack #1 Rack #2 1 node = 100gb RAM & 10 Cores

8 node cluster

- 2 redundant nodes 6 nodes

6 nodes x 96gb RAM = 576gb RAM 6 nodes x 10 Cores = 60 cores

(42)

Cluster Size

(43)
(44)
(45)

Hotfixes

2 very useful TechNet Wiki pages for checking Hyper-V related

updates:

• Hyper-V: Update List for Windows Server 2012

(46)
(47)

System Resource

Maximum number

Improvement factor

Windows 2008 R2 Windows Server 2012

Host

Logical processors on hardware 64 320 Physical memory 1 terabyte 4 terabytes Virtual processors per host 512 1,024

Virtual machine

Virtual processors per virtual machine 4 64 16× Memory per virtual machine 64 GB 1 terabyte 16× Active virtual machines 384 1,024 2.7× Virtual disk size 2 terabytes 64 terabytes 32× Cluster

Nodes 16 64

Virtual machines 1,000 4,000

(48)
(49)

SOFS.techdays.com

Shared Nothing Live Migration – Constrained Delegation

(50)
(51)
(52)
(53)
(54)
(55)

WS 2012 R2 – Hyper-V Enhancements

• Live Migration • Compressed • Cross-Version • SMB Capable

Linux Support Improvements

• Dynamic Memory • Online backup

• Supports Kdump/kexec

Automatic Guest Activation

• Built-in NVGRE Gateway • Dynamic Mode NIC Teaming • Enhanced Session Mode

• Your clipboard will work!!

• Live resizing of VHDX!!!

• Live Virtual Machine Cloning • Shared VHDX

(56)

Summary

Pay attention to network design

Think through failure points

(57)
(58)

References

Related documents

Microsoft Hyper-V Network Virtualization (NVGRE), Microsoft Hyper-V Server Virtualization, Microsoft System Center 2012R2, Windows Server 2012 R2 and Windows Storage Server 2012

The following virtual products have been tested: Microsoft Windows Server 2012 Hyper-V,  Windows Server 2008 R2 Hyper-V, Microsoft Windows Server 2008 Hyper-V, Microsoft

Windows Server 2008 R2 64-bit and supported Windows Client platforms for Data Transfer Station and Qvera Interface Engine (QIE).  Hyper-V: Microsoft Hyper-V Server 2012 or

TEAMING UP for WOMEN’S HEALTH 2015 ACOG Annual Clinical and Scientific Meeting San Francisco, CA May 2-6, 2015 ADVERTISING OPPORTUNITIES INSIDE Print Marketing.. Final Program

Sixty adult male Wistar rats divided into six groups of (10 animals in each group) divided randomly into two periods, two groups in first period C (control group), 20 male rats

Windows Server 2003 or 2008 R2 Standard Windows Server 2008 Standard Edition Table 9: Required Licensing for Hyper-V Host, Per Server Role (*Allowed if already licensed under

Two R710 servers running Windows Server 2008 R2 Hyper-V server core are used to host various infrastructure server VMs to include XenDesktop Delivery Controller 4.0, Citrix

Support for backup of Hyper-V host and virtual machines in Windows Server 2008 R2 / Windows Server 2012.. SHR and ReZoom features provide a means to restore virtual