You are on page 1of 50

Granular, centralized process for VM Deployment

VM Hardware VMM provides all the configuration for VM hardware upfront as part of the Create VM Wizard Intelligent Placement VMM provides placement guidance for deployment of the virtual machine across hosts or clusters Granular Network Control VMM provides granular networking configuration up front, connecting with Logical/Standard Switches, VLANs etc. PowerShell Wizards in VMM enable the administrator to generate a script which is exactly what VMM will perform behind the scenes

Achieve higher levels of density for your Hyper-V hosts


Windows Server 2008 R2 SP1 Introduced Dynamic Memory to enable reallocation of memory automatically between running virtual machines Minimum & Startup Memory Smart Paging Memory Ballooning Runtime Configuration

Maximum memory Maximum memory

Memory in use Memory in use

Minimum memory

Enhanced in Windows Server 2012 & R2

VM1 Hyper-V

Administrator can increase maximum memory without a restart

Physical memory pool

Utilize disk as additional, temporary memory


Hyper-V Smart Paging
Reliable way to keep a VM running when no physical memory is available Performance will be degraded as disk is much slower than memory VM restart No physical memory is available No memory can be reclaimed from other virtual machines on that host

Maximum memory

Maximum memory

Maximum memory

Minimum memory

Minimum memory

Startup increases memory in use Memory in use after startup

Minimum memory

VM1 Hyper-V
Physical memory pool

VM2
Paging file provides Memory reclaimed additional memory after startup for startup

VMn

Used in the following situations:


Removing Virtual machine paged memory starting with after virtual Hyper-V machine smart paging restart

VHDX Provides Increased Scale, Protection & Alignment Features


Storage capacity up to 64 TBs Corruption protection during power failures Optimal structure alignment for large-sector disks
Large allocations and 1 MB aligned
Intent log

Data region (large allocations and 1 MB aligned)


Block Allocation Table (BAT)
User data blocks Sector bitmap blocks

Header region
Header

Metadata region (small allocations and unaligned)


User metadata Metadata table File metadata

Benefits
Increases storage capacity Protects data Helps to ensure quality performance on large-sector disks

Online VHDX Resize provides VM storage flexibility


Expand Virtual SCSI Disks

1. Grow VHD & VHDX files whilst attached to a running virtual machine
2. Then expand volume within the guest Shrink Virtual SCSI Disks 1. Reduce volume size inside the guest

2. Shrink the size of the VHDX file whilst the VM is running

Access Fibre Channel SAN data from a virtual machine


Unmediated access to a storage area network (SAN) Hardware-based I/O path to virtual hard disk stack N_Port ID Virtualization (NPIV) support Single Hyper-V host connected to different SANs Up to four Virtual Fibre Channel adapters on a virtual machine Multipath I/O (MPIO) functionality Supports Live migration

Hyper-V host 1

Hyper-V host 2

Worldwide Name Set A

Worldwide Name Set B

Worldwide Name Set A

Worldwide Name Set B

Live migration maintaining Fibre Channel connectivity

Control allocation of Storage IOPS between VM Disks


Allows an administrator to specify a maximum IOPS cap Takes into account incoming & outgoing IOPS Configurable on a VHDX by VHDX basis for granular control whilst VM is running Prevents VMs from consuming all of the available I/O bandwidth to the underlying physical resource Supports Dynamic, Fixed & Differencing

Provides Near-Line Rate to a VM on Existing Hardware


vRSS makes it possible to virtualize traditionally network intensive physical workloads Extends the RSS functionality built into Windows Server 2012 Maximizes resource utilization by spreading VM traffic across multiple virtual processors Helps virtualized systems reach higher speeds with 40 Gbps and 100 Gbps NICs

vProc vProc vProc vProc

vNIC

Node 0

Node 1

Node 2

Node 3

Requires no hardware upgrade and works with any NICs that support RSS

0 0

1 1

2 2

3 3

Incoming packets

Duplication of a Virtual Machine whilst Running


Export a clone of a running VM Point-time image of running VM exported to an alternate location
VM1 VM2

Useful for troubleshooting VM without downtime for primary VM


Export a full cloned virtual machine from a point-in-time, existing checkpoint of a virtual machine Checkpoints automatically merged into single virtual disk

Export from an existing checkpoint

Capability Virtual CPUs per VM Memory per VM Dynamic Memory

Hyper-V (2012 R2) 64 1TB Yes

vSphere Hypervisor 8 1TB Yes

vSphere 5.5 Enterprise Plus 641 1TB Yes

Maximum Virtual Disk Size


Online Virtual Disk Resize Storage QoS Virtual Fibre Channel Dynamic Virtual Machine Queue IPsec Task Offload SR-IOV with Live Migration Virtual Receive Side Scaling Network QoS VM Live Cloning

64TB
Yes Yes Yes Yes Yes Yes Yes Yes Yes

62TB
Grow Only No Yes NetQueue2 No No3 Yes (VMXNet3) No No

62TB
Grow Only Yes Yes NetQueue2 No No3 Yes (VMXNet3) Yes Yes4

vSphere Hypervisor / vSphere 5.x Ent+ Information: http://www.vmware.com/products/vsphere/buy/editions_comparison.html, http://www.vmware.com/pdf/vsphere5/r55/vsphere-55configuration-maximums.pdf, http://www.vmware.com/pdf/Perf_Best_Practices_vSphere5.1.pdf, http://www.vmware.com/pdf/Perf_Best_Practices_vSphere5.5.pdf

Comprehensive feature support for virtualized Linux


Significant Improvements in Interoperability
Multiple supported Linux distributions and versions on Hyper-V. Includes Red Hat, SUSE, OpenSUSE, CentOS, and Ubuntu 64 vCPU SMP Virtual SCSI, Hot-Add & Online Resize Full Dynamic Memory Support

Configuration Store

Worker Processes

WMI Provider Management Service

Comprehensive Feature Support

Windows Kernel

Virtual Service Provider

Independent Hardware Vendor Drivers

Hyper-V Server Hardware

Live Backup
Deeper Integration Services Support

Deeper Integration for Streamlined Linux Deployment


VMM Templates can be used to deploy both Windows and Linux Guest Operating Systems Enables Linux to be deployed to Hyper-V hosts

Enables Linux to be part of Service Templates


Supports a number of customization options: Root password, Computername, DNSDomainName, IP address, Timezone, Root ssh public key, Run once commands Linux VM is requires to have latest Linux Integration Services and VMM agent for Linux

VMs built on Optimized, Software-Based Devices


Ease of Management & Operations PXE boot from Optimized vNIC Hot-Add CD/DVD Drive VMs have UEFI firmware with support for GPT partitioned OS boot disks >2TB

Dynamic Storage

Faster Boot from Virtual SCSI with Online Resize & increased performance
Removal of emulated devices reduces attack surface

Security

VM UEFI firmware supports Secure Boot

Support for Generation 2 VMs on Hyper-V 2012 R2


VMM provides comprehensive Generation 2 VM lifecycle support: Creation, Import/Export/Clone, Migration, Store, Correct UI/CLI Hardware Profile Support, Sysprep, Placement

VMM UI reflects key Generation 2 VM hardware configuration options VMM provides support for Generation 2 VM Templates VMM does not support Generation 2 VMs for Service Templates VMM prevents deployment onto older hosts

Enhancing VMConnect for the Richest Experience


Improved VMBus Capabilities enable:

Audio over VMConnect


Copy & Paste between Host & Guest Smart Card Redirection Remote Desktop Over VMBus

Enabled for Hyper-V on both Server & Client Fully supports Live Migration of VMs

Simplifying Activation of Windows Server 2012 R2 VMs


Activate VMs without managing product keys on a VM by VM basis VMs activated on start-up Reporting & Tracking built-in Activate VMs in remote locations, with or without internet connectivity Works with VM Migration Generic AVMA key for VMs activates against a valid, activated Windows Server 2012 R2 Hyper-V host

VMware Comparison
Capability Linux Guest OS Support VMs with Secure Boot & UEFI Firmware Enhanced VM Administration Experience Automatic VM Activation Hyper-V (2012 R2) Yes Yes Yes Yes vSphere Hypervisor Yes No No No vSphere 5.5 Enterprise Plus Yes No No No

Live Migration
Faster, Simultaneous Migration of VMs Without Downtime
Faster live migrations, taking full advantage of available network Simultaneous Live Migrations Uses SMB Direct if network bandwidth available is over 10 gigabits Supports flexible storage choices No clustering required if virtual machine resides on SMB 3.0 File Share

Modified Memory Storage Live migration pages handle transferred moved setup

VM
MEMORY

Modified memory pages Configuration Memory content data

VM

IP connection

iSCSI, FC or SMB Storage

Intelligently Accelerates Live Migration Transfer Speed


Utilizes available CPU resources on the host to perform compression

Modified Memory pages Storage Livecompressed, migration handle moved setup then transferred

Operates on networks with less than 10 gigabit bandwidth available Enables a 2X improvement in Live Migration performance

MEMORY

Compressed memory sent across the network faster

Modified memory pages Configuration Memory content data

IP connection

iSCSI, FC or SMB Storage

Live Migration over SMB


Harness RDMA to Accelerate Live Migration Performance
SMB Multichannel uses multiple NICs for increased throughput and resiliency

Modified Memory Storage pages Live migration transferred handle moved setup at high speed

Supports speeds up to 56Gb/s Windows Server 2012 R2 supports RoCE, iWARP & Infiniband RDMA solutions Delivers the highest performance for Live Migrations Cannot be used with Compression

MEMORY

Remote Direct Memory Access delivers low latency network, CPU utilization & higher bandwidth

Modified memory pages Configuration Memory content data

IP Connection using RDMA

iSCSI, FC or SMB Storage

Storage Live Migration


Increased Flexibility through Live Migration of VM Storage
Move virtual hard disks attached to a running virtual machine Manage storage in a cloud environment with greater flexibility and control Move storage with no downtime Update physical storage available to a virtual machine (such as SMB-based storage) Windows PowerShell cmdlets
Source device Target device

Disk Disk Reads writes contents are andmirrored; writes are copied gooutstanding to to new new Reads and writes go to the source VHD changes destination are replicated VHD

Host running Hyper-V


Virtual machine

Shared-Nothing LM
Complete Flexibility for Virtual Machine Migrations
Increase flexibility of virtual machine placement & increased administrator efficiency Simultaneously live migrate VM & virtual disks between hosts

Disk Reads Disk contents writes and writes are are copied mirrored; go toto the new Live Live Migration Migration Completes Continues outstanding source VHD. destination source changes Live Migration VHD VHD are replicated Begins
MEMORY

Source Hyper-V
Virtual machine

Live Migration Configuration data Modified memory pages Memory content

Destination Hyper-V
Virtual machine

IP connection

Nothing shared but an ethernet cable


No clustering or shared storage requirements Reduce downtime for migrations across cluster boundaries
Source device Target device

Live Migration Upgrades


Simplified upgrade process from 2012 to 2012 R2
Customers can upgrade from Windows Server 2012 Hyper-V to Windows Server 2012 R2 Hyper-V with no VM downtime
Supports Shared Nothing Live Migration for migration when changing storage locations If using SMB share, migration transfers only the VM running state for faster completion Automated with PowerShell One-way Migration Only

Hyper-V Cluster Upgrade without Downtime


2012 Cluster Nodes 2012 R2 Cluster Nodes

Capability

Hyper-V (2012 R2)

vSphere Hypervisor

vSphere 5.5 Enterprise Plus

VM Live Migration VM Live Migration with Compression VM Live Migration over RDMA 1GB Simultaneous Live Migrations 10GB Simultaneous Live Migrations

Yes Yes Yes Unlimited3 Unlimited3

No1 No No N/A N/A

Yes2 No No 4 8

Live Storage Migration


Shared Nothing Live Migration Live Migration Upgrades

Yes
Yes Yes

No4
No N/A

Yes5
Yes5 Yes

vSphere Hypervisor / vSphere 5.x Ent+ http://www.vmware.com/pdf/vsphere5/r55/vsphere-55-configuration-maximums.pdf, http://www.vmware.com/products/vsphere/compare.html,

Integrated Virtual Machine Backup Capabilities


Allows incremental backup of virtual hard disks Is Volume Shadow Copy Service (VSS)-aware Backs up the Hyper-V environment Requires no backup agent inside virtual machines Saves network bandwidth Reduces backup sizes Saves disk space Lowers backup cost

Sunday
First full backup after enabling incremental backup
Before backup During backup After backup

Monday
First incremental backup
Before backup During backup After backup

Differences 1

Differences 1

Differences 1

Differences 1

Differences 2

Differences 2

Tuesday
Second incremental backup
Before backup During backup After backup

Friday: Restore to Tuesdays Backup


Incremental restore
Before restore During restore After restore

Merge

Merge

Differences 2

Differences 2

Differences 3

Differences 3

Differences 1

Differences 3

Differences 2

Files in blue are backed up


Differences 3

Windows Server Backup Integrated with Cloud Services


Simple installation and configuration Ability to leverage Windows Azure Backup cloud services to back up data
Windows Azure Backup portal

Third-party cloud
Third-party online backup portal

Use either the Windows Azure Backup Service Agent or the Windows Azure Backup PowerShell cmdlets
Reduced cost for backup storage and management Options for third-party cloud services Ideal for small businesses, branch offices, and departmental business needs

Sign up Billing

Windows Azure Backup service

Third-party online backup service

Sign up Billing

Registration Backup/ Restore Registration

Inbox engine Inbox UI Windows Server 2012 R2


Windows Server 2012 R2 backup (extensible)

Agents Windows Azure Backup Third-party agents IT Pro

Replicate Hyper-V VMs from a Primary to a Replica site


Affordable in-box business continuity and disaster recovery Configurable replication frequencies of 30 seconds, 5 minutes and 15 minutes Secure replication across network Agnostic of hardware on either site No need for other virtual machine replication technologies Automatic handling of live migration Simple configuration and management

Once Once Upon replicated, Hyper-V site failure, Replica changes VMs is can enabled, replicated be started VMs on on chosen begin secondary replication frequency site

Replicate to 3rd Location for Extra Level of Resiliency


Once a VM has been successfully replicated to the replica site, replica can be replicated to a 3rd location Chained Replication Extended Replica contents match the original replication contents Extended Replica replication frequencies can differ from original replica Useful for scenarios such as SMB -> Service Provider -> Service Provider DR Site

Replication canconfigured be enabled on the 1st replica to a 3rd site Replication from primary to secondary

Orchestrate protection and recovery of private clouds


Protect important services by coordinating replication and recovery of VMM-managed private clouds Automates replication of VMs within clouds between sites Hyper-V Replica provides replication, orchestrated by Hyper-V Recovery Manager Can be used for planned, unplanned and testing failover between sites Integrate with scripts for customization of recovery plans

Capability

Hyper-V (2012 R2)

vSphere Hypervisor

vSphere 5.5 Enterprise Plus

Incremental Backup Inbox VM Replication

Yes Yes

No1 No1

Yes1 Yes1

Replication Capability

Hyper-V Replica

vSphere Replication

Architecture Replication Type RTO Replication Planned Failover Unplanned Failover

Inbox with Hypervisor Asynchronous 30s, 5, 15m Tertiary Yes Yes

Virtual Appliance Asynchronous 15 Minutes-24 Hours Secondary No Yes

Test Failover
Simple Failback Process Automatic Re-IP Address Point in Time Recovery Orchestration

Yes
Yes Yes Yes, 15 points Yes, PowerShell, HVRM

No
No No No No, SRM

vSphere Hypervisor / vSphere 5.x Ent+ Information: http://www.vmware.com/products/vsphere/compare.html, http://www.vmware.com/products/vsphere/features/replication.html, http://www.vmware.com/files/pdf/vsphere/VMware-vSphere-Replication-Overview.pdf,

Network Isolation & Flexibility without VLAN Complexity


Secure Isolation for traffic segregation, without VLANs VM migration flexibility Seamless Integration Provider Address Unique IP addresses routable on physical network VM Networks Boundary of isolation between different sets of VMs Customer Address VM Guest OS IP addresses within the VM Networks Policy Table maintains relationship between different addresses & networks
Network/VSID Blue (5001) Blue (5001) Blue (5001) Red (6001) Red (6001) Red (6001) Provider Address 192.168.2.10 192.168.2.10 192.168.2.12 192.168.2.13 192.168.2.14 192.168.2.12 Customer Address 10.10.10.10 10.10.10.11 10.10.10.12 10.10.10.10 10.10.10.11 10.10.10.12

Key Concepts

Network Isolation & Flexibility without VLAN Complexity


Network Virtualization using Generic Route Encapsulation uses encapsulation & tunneling Standard proposed by Microsoft, Intel, Arista Networks, HP, Dell & Emulex VM traffic within the same VSID routable over different physical subnets VMs packet encapsulated for transmission over physical network Network Virtualization is part of the Hyper-V Switch

192.168.2.10 -> GRE Key 10.10.10.10 -> MAC 192.168.5.12 (5001) 10.10.10.11

Network Virtualization Packet Flow Blue1 sending to Blue2

Hyper-V Switch
VSID ACL Enforcement

Hyper-V Switch
VSID ACL Enforcement Network Virtualization IP Virtualization Policy Enforcement Routing

Network Virtualization IP Virtualization Policy Enforcement Routing

ARP TABLE 10.10.10.11 34:29:af:c7:d9:12

MACB1 -> MACB2

10.10.10.10 -> 10.10.10.11

Network Virtualization Packet Flow Blue1 sending to Blue2

Hyper-V Switch
VSID ACL Enforcement
5001 MACB1 -> MACB2 10.10.10.10 -> 10.10.10.11

Hyper-V Switch
VSID ACL Enforcement Network Virtualization IP Virtualization Policy Enforcement Routing

Network Virtualization IP Virtualization Policy Enforcement Routing

MACP1 -> MACP2

192.168.2.10 -> 192.168.5.12

5001

MACB1 -> MACB2

10.10.10.10 -> 10.10.10.11

Bridge Between VM Networks & Physical Networks


Multi-tenant VPN gateway in Windows Server 2012 R2

Integral multitenant edge gateway for seamless connectivity


Guest clustering for high availability BGP for dynamic routes update Encapsulates & De-encapsulates NVGRE packets Multitenant aware NAT for Internet access

Accelerated deployment of VMs with VMM Templates


Hardware VMM uses hardware profiles, along with a sysprepped VHD/X file to streamline deployment. VMM will create the sysprepped VHD/X for you. OS Config Configuration of domain join, admin password, product key, but even the Windows Server Roles & Features App Config Add application-level configurations, such as MS Deploy Web Packages, Server App-V, or SQL DAC SQL Config VMM allows admins to add SQL configuration/deployment files to a VM deployment, to accelerate DB deployment in the environment

Application-Level Config within the VM Template


Application profiles provide instructions for Application Virtualization (Server App-V), Microsoft Web Deploy, Microsoft SQL Server DACs, Scripts when deploying a virtual machine as part of a service

Scripts can be executed pre or post install, and support specific parameters for execution
Application profiles enable automatic configuration within the VM, i.e. a web site, or configuration of a database Application profiles accelerate deployment of services within the virtualized infrastructure

Granular Configuration Control for SQL with VMs


Allows for the standardized deployment of new VMs containing SQL Server IT Admin specifies key SQL data such as Instance Name, Run As Account

SQL configuration requires a sysprepped VHD/X with SQL pre-installed:


SQL installed inside guest using advanced installation and selecting Image preparation of a stand-alone instance of SQL Server

SQL Media needs to be accessible to the Guest OS at deployment time

Granular Configuration Control for SQL with VMs


SQL Profile in VMM tells VMM which SQL settings to apply to complete SQL installation at deployment time Combine with SQL DAC Application Profiles to customize database configuration on top of the deployed SQL instance SQL DAC can combine with pre/post installation scripts This combination provides an automated, controlled way to deploy SQL inside VMs.

Model Business Services within the Virtualized Infrastructure


Utilizes existing templates as building blocks to form interconnected, multi-tier, multi-VM services Tiers can be configured for scale and designed for high availability through availability sets Intelligent placement ensures optimal placement of all VMs within each tier of the Service Template at deployment time Service templates can specify logical networks, load balancers Set service-related properties, such as cost center, description, release version

Microsoft Official Courses


Course 20409A: Server Virtualization with Windows Server Hyper-V and System Center
5 days Instructor Led Hands-On Labs

Microsoft Certification
Exam 74-409: Server Virtualization with Windows Server Hyper-V and System Center

You might also like