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



Similar documents
Part 1 - What s New in Hyper-V 2012 R2. Clive.Watson@Microsoft.com Datacenter Specialist

The VMware Administrator s Guide to Hyper-V in Windows Server Brien Posey Microsoft

Cloud Optimize Your IT

What s new in Hyper-V 2012 R2

Microsoft SQL Server 2012 on Cisco UCS with iscsi-based Storage Access in VMware ESX Virtualization Environment: Performance Study

How To Use Vsphere On Windows Server 2012 (Vsphere) Vsphervisor Vsphereserver Vspheer51 (Vse) Vse.Org (Vserve) Vspehere 5.1 (V

Scale-Out File Server. Subtitle

MS Configuring and Administering Hyper-V in Windows Server 2012

Live Migration. Aidan Finn

Veeam Study Webinar Server Virtualization with Windows Server Hyper-V and System Center. Orin

Virtual SAN Design and Deployment Guide

Virtualizing your Datacenter

Hyper-V Networking. Aidan Finn

Feature Comparison. Windows Server 2008 R2 Hyper-V and Windows Server 2012 Hyper-V

Storage and High Availability with Windows Server

Hyper-V R2: What's New?

VMware vsphere 5.0 Boot Camp

Best Practices for Virtualised SharePoint

High Availability (HA) Aidan Finn

Windows Server 2012 授 權 說 明

RUNNING vtvax FOR WINDOWS

Microsoft Hyper-V Performance Tuning

Supported File Systems

VMware vsphere 5.1 Advanced Administration

Dell Compellent Storage Center SAN & VMware View 1,000 Desktop Reference Architecture. Dell Compellent Product Specialist Team

Index C, D. Background Intelligent Transfer Service (BITS), 174, 191

Windows Server 2008 R2 Hyper-V Server and Windows Server 8 Beta Hyper-V

Windows Server 2012 Hyper-V Installation and Configuration Guide

NET ACCESS VOICE PRIVATE CLOUD

EXAM Installing and Configuring Windows Server Buy Full Product.

Windows Server 2008 R2 Hyper-V Live Migration

10971: Storage and High Availability with Windows Server

my forecasted needs. The constraint of asymmetrical processing was offset two ways. The first was by configuring the SAN and all hosts to utilize

Best Practices for Monitoring Databases on VMware. Dean Richards Senior DBA, Confio Software

Microsoft Certification Exam : Server Virtualization with Windows Server Hyper-V and System Center. Study Guide by Orin Thomas

Monitoring Databases on VMware

In addition to their professional experience, students who attend this training should have technical knowledge in the following areas.

Microsoft Exchange Solutions on VMware

Hyper-V over SMB: Remote File Storage Support in Windows Server 2012 Hyper-V. Jose Barreto Principal Program Manager Microsoft Corporation

Nutanix Tech Note. VMware vsphere Networking on Nutanix

Windows Server 2008 R2 Hyper V. Public FAQ

A First Look at Windows Server 2012 R2 and Hyper-V

Mit Soft- & Hardware zum Erfolg. Giuseppe Paletta

Microsoft Hyper-V chose a Primary Server Virtualization Platform

vsphere 6.0 Advantages Over Hyper-V

Cisco Unified Computing System with Microsoft Hyper-V Recommended Practices

Choices for implementing SMB 3 on non Windows Servers Dilip Naik HvNAS Pty Ltd Australians good at NAS protocols!

VIRTUALIZATION 101. Brainstorm Conference 2013 PRESENTER INTRODUCTIONS

Pivot3 Reference Architecture for VMware View Version 1.03

Preparation Guide. How to prepare your environment for an OnApp Cloud v3.0 (beta) deployment.

Private cloud computing advances

Big data Devices Apps

Deploy the ExtraHop Discover Appliance with Hyper-V

Cool New Hyper-V Features in Windows Server 2012 R2. Aidan Finn

VMware vsphere 4.1 with ESXi and vcenter

Microsoft HyperV 3 versus Vmware vsphere 5

NETFORT LANGUARDIAN INSTALLING LANGUARDIAN ON MICROSOFT HYPER V

Dell Converged Infrastructure

The last 18 months. AutoScale. IaaS. BizTalk Services Hyper-V Disaster Recovery Support. Multi-Factor Auth. Hyper-V Recovery.

Broadcom Ethernet Network Controller Enhanced Virtualization Functionality

Best Practices: Microsoft Private Cloud Implementation

High Availability with Windows Server 2012 Release Candidate

Introduction to Hyper-V High-Availability

RED HAT ENTERPRISE VIRTUALIZATION FOR SERVERS: COMPETITIVE FEATURES

StarWind Virtual SAN for Microsoft SOFS

Expert Reference Series of White Papers. VMware vsphere Distributed Switches

A virtual SAN for distributed multi-site environments

Enterprise Manager. Version 6.2. Administrator s Guide

Bosch Video Management System High Availability with Hyper-V

Maximizing SQL Server Virtualization Performance

Hyper-V Enterprise Ready! Presented by Luther Allin

ZEN LOAD BALANCER EE v3.04 DATASHEET The Load Balancing made easy

Why Microsoft? For Virtualizing & Managing SharePoint. Microsoft System Center 2012 R2. July 2014 v1.0

IOmark- VDI. Nimbus Data Gemini Test Report: VDI a Test Report Date: 6, September

IOmark- VDI. HP HP ConvergedSystem 242- HC StoreVirtual Test Report: VDI- HC b Test Report Date: 27, April

What s New with VMware Virtual Infrastructure

Where IT perceptions are reality. Test Report. OCe14000 Performance. Featuring Emulex OCe14102 Network Adapters Emulex XE100 Offload Engine

Dell Compellent Storage Center

SMB Direct for SQL Server and Private Cloud

Best Practices for Installing and Configuring the Hyper-V Role on the LSI CTS2600 Storage System for Windows 2008

Introduction to Hyper-V High- Availability with Failover Clustering

VMware vsphere-6.0 Administration Training

ZEN LOAD BALANCER EE v3.02 DATASHEET The Load Balancing made easy

DELL. Dell Microsoft Windows Server 2008 Hyper-V TM Reference Architecture VIRTUALIZATION SOLUTIONS ENGINEERING

Storage and High Availability with Windows Server 10971B; 4 Days, Instructor-led

Performance characterization report for Microsoft Hyper-V R2 on HP StorageWorks P4500 SAN storage

Introduction to MPIO, MCS, Trunking, and LACP

Windows Server 2008 R2 Hyper-V Live Migration

Enterprise Storage Solution for Hyper-V Private Cloud and VDI Deployments using Sanbolic s Melio Cloud Software Suite April 2011

EMC VNXe HIGH AVAILABILITY


Security. Environments. Dave Shackleford. John Wiley &. Sons, Inc. s j}! '**»* t i j. l:i. in: i««;

The Future of Computing Cisco Unified Computing System. Markus Kunstmann Channels Systems Engineer

Transcription:

Windows Server 2012 R2 Hyper-V: Designing for the Real World Steve Evans @scevans www.loudsteve.com Nick Hawkins @nhawkins www.nickahawkins.com

Is Hyper-V for real?

Microsoft Fan Boys Reality

VMware Hyper-V

Networking

Legacy Network Configuration (Server 2008 R2) Hyper-V Host vnic vnic vnic Management Live Migration Cluster VM

Problems with Legacy Network Configuration Hyper-V Host vnic vnic vnic Management Live Migration Cluster VM

Server 2012 Introduces Converged Fabric Hyper-V Host vnic vnic vnic vnic vnic vnic 10Gb 10Gb 10Gb 10Gb

Benefits of Converged Fabric Hyper-V Host vnic vnic vnic vnic vnic vnic 10G 10G 10G 10G

Wait! Where s my 40Gbps of bandwidth?!?!? Hyper-V Host

NIC Teaming: LACP (Switch Dependent) & Address Hashing Hyper-V Host Data transfer to VM 7 vnic vnic vnic vnic vnic vnic 10G 10G 10G 10G

NIC Teaming: Switch Independent & Hyper-V Port Load Balancing Hyper-V Host vnic vnic vnic vnic vnic vnic 10G 10G 10G 10G

NIC Teaming: Server 2012 R2 Switch Independent & Dynamic Load Balancing Hyper-V Host Similar to Hyper-V port but outbound traffic flows are not limited to a single NIC. Inbound will still be determined by the teaming mode specified with the switch. vnic vnic vnic vnic vnic vnic 10G 10G 10G 10G

Demo: Building Converged Fabric with PowerShell

Converged Fabric Diagram Hyper-V Host vnic vnic vnic vnic vnic vnic 10Gb 10Gb 10Gb 10Gb

QoS Three ways to create rules Hyper-V Host vnic vnic vnic vnic vnic

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. DCB offers the best performance. Requires DCB capable hardware.

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 otherwise classified

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 Minimum- Bandwidth rules based on Weight. This solution makes no assumptions about hardware capacity and it is elastic allowing vnics and protocols to exceed the minimum guarantee when there is not bandwidth contention.

QoS Guaranteeing a % of Bandwidth Live Migration vnic Management vnic Cluster vnic Unspecified 35 % Cluster 40% Management 5% Live Migration 20%

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 Set-VMNetworkAdapter -ManagementOS -Name "Cluster" - MinimumBandwidthWeight 40 Set-VMNetworkAdapter -ManagementOS -Name "LiveMigration" - MinimumBandwidthWeight 20 Set-VMNetworkAdapter -ManagementOS -Name "Management" - MinimumBandwidthWeight 5 # Calculate the percentage of bandwidth based on your specified weights Get-VMNetworkAdapter -ManagementOS -Name * ft Name, BandwidthPercentage, IsManagementOS -AutoSize

QoS Setting a Maximum Bandwidth Limitation

iscsi within the Converged Fabric Hyper-V Host vnic vnic vnic vnic vnic 10G 10G 10G 10G Storage Controller A Storage Controller B

Converged Fabric / iscsi Fault Domains Hyper-V Host vnic vnic vnic vnic vnic vnic vnic 10G 10G 10G 10G Storage Controller A Storage Controller B

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 All of the above during throughput tests

Real World Testing Example with SQLIO Unbalanced iscsi Interface utilization Balanced iscsi Interface utilization

Failover in Action!

Storage

Cluster Shared Volumes v1 (WS 2008 R2) A B

Cluster Shared Volumes v2 (WS 2012) A B

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 Improved boot times from 211 seconds to 29 seconds (average)

Software Defined Storage SMB3 Scale Out iscsi Target Failover Cluster Storage Spaces (SAS Enclosure) File Server

Storage Spaces Storage Pool Storage Pool Hot Spares Virtual Disks Simple Mirror 2/3 Way Parity

Scale Out File Services

Block Level Disk for VMs Guest iscsi vnic vnic vnic Hyper-V Host vnic vnic vnic vnic vnic 10G 10G 10G 10G

Clustering

Quorum Windows Server 2008 (R2)

Quorum Windows Server 2008 (R2)

Dynamic Quorum Windows Server 2012 Requirements 1. The cluster has already achieved quorum 2. Sequential failures of nodes have occurred

Cluster Size Rack #1

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 60 cores x 2:1 ratio = 120 vcpu s 60 cores x 3:1 ratio = 180 vcpu s 60 cores x 8:1 ratio = 480 vcpu s

Cluster Size Rack #1 Rack #2 Rack #3

Cluster Aware Updating

Cluster Aware Updating

Hotfixes 2 very useful TechNet Wiki pages for checking Hyper-V related updates: Hyper-V: Update List for Windows Server 2012 List of Failover Cluster Hotfixes for Windows Server 2012

Hypervisor

Scale enhancements System Resource Maximum number Windows 2008 R2 Windows Server 2012 Improvement factor Logical processors on hardware 64 320 5 Host Physical memory 1 terabyte 4 terabytes 4 Virtual processors per host 512 1,024 2 Virtual processors per virtual machine 4 64 16 Memory per virtual machine 64 GB 1 terabyte 16 Virtual machine Cluster Active virtual machines 384 1,024 2.7 Virtual disk size 2 terabytes 64 terabytes 32 Nodes 16 64 4 Virtual machines 1,000 4,000 4

VM Migrations

Shared Nothing Live Migration Constrained Delegation Delegation Settings SOFS01.techdays.com SOFS.techdays.com SOFS01.techdays.com HVSTORAGE01.techdays.com - MVSMS: HV01.techdays.com - MVSMS: HV02.techdays.com - CIFS: SOFS.techdays.com - CIFS: HV01.techdays.com - CIFS: HV02.techdays.com HV01.techdays.com - MVSMS: HVSTORAGE.techdays.com - MVSMS: HV02.techdays.com - CIFS: SOFS.techdays.com - CIFS: HV02.techdays.com - CIFS: HVSTORAGE.techdays.com HVSTORAGE01.techdays.com HV01.techdays.com HV02.techdays.com HV02.techdays.com - MVSMS: HV01.techdays.com - MVSMS: HVSTORAGE01.techdays.com - CIFS: SOFS.techdays.com - CIFS: HV01.techdays.com - CIFS: HVSTORAGE01.techdays.com

Hyper-V Replica

Guest iscsi iscsi C: drive for VM1 iscsi VM1 SAN / SOFS C: drive for VM2 iscsi iscsi VM2

Shared VHDX iscsi SAN / SOFS C: drive for VM1 C: drive for VM2 S: drive for SQL VM1 VM2 iscsi

Dynamic Memory Strategy 8gb SQL 4gb OS 4gb Dynamic Startup: 12gb Minimum: 12gb Maximum: 16gb 4gb OS 8gb Dynamic Startup: 6gb Minimum: 4gb Maximum: 12gb 7.5gb Dynamic Startup: 1gb Minimum: 512mb Maximum: 8gb 512mb Minimum

Server Core vs Minimal Shell vs GUI Mode

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 Storage Spaces Tiered Storage

Summary Pay attention to network design Think through failure points Pay attention to network design

VMware Hyper-V

Questions? Steve Evans @scevans www.loudsteve.com Nick Hawkins @nhawkins www.nickahawkins.com