View
227
Download
1
Category
Preview:
Citation preview
Windows Server 2008 R2 Hyper-V and Microsoft Hyper-V Server 2008 R2
Vijay Tewari, Principal Program Manager, Window Server, MicrosoftAlex Kibkalo, MCS Architect, Microsoft Russia
Agenda
What’s new in Microsoft VirtualizationWindows Server 2008 R2 Hyper-V OverviewFeature OverviewSystem Center Virtual Machine Manager R2Microsoft Hyper-V Server 2008 R2Q & A
What's new in Microsoft Virtualization
Momentum
• IDC Virtualization Tracker says Microsoft now has 23% of virtualization market!
• Over 400 servers certified for Hyper-V by over 40 OEMs• Over 1M customers have downloaded RTM of Windows Server 2008
• Over 100,000 download of Microsoft Hyper-V Server 2008
Product Updates
• Windows Server 2008 R2 general availability now• Microsoft Hyper-V Server 2008 R2 available now• System Center Virtual Machine Manager 2008 R2 available now
Recent New
s
• Microsoft submitted Hyper-V integration components to the Linux kernel under GPLv2
• Free Microsoft Hyper-V Server 2008 R2, will include Live Migration and Failover clustering at no cost
• Agreement with Red Hat to support Red Hat Enterprise Linux on Hyper-V
• Citrix releases Essentials for Hyper-V
Hyper-V R2: Production ScalabilityMicrosoft.com: ~50% Hyper-V and growing
http://www.microsoft.com~1.2 billion hits a month
MSDN/TechNet: 100% Hyper-V~1 million hits a day each
Connect, Codeplex, Social 100% Hyper-VMicrosoft IT (4 clusters including a 16 node cluster)Microsoft Global Foundation Services
1300 VM’s including for Windows Live games
Windows Server 2008 R2 Hyper-VNew Features
Live Migration
New Processor SupportImproved Performance
Lower Power Costs
Enhanced scalabilityGreater VM Density
Lower TCO
Networking EnhancementsImprove Performance
10 Gb/E Ready
Dynamic VM Capabilities
Enhancements to Server CoreEase Management
Lower TCO
Scenario 1: Host servicing
Live Migrate VMs from Source to Destination
Service Source – Patching or Hardware Servicing, no downtime seen by VMs on Destination
Live Migrate VMs from back from Destination to Source
No workload downtime during maintenance window
Scenario 2: load balancing
R2
SCVMM 2008 R2 driven by PRO (Performance Resource Optimization) can dynamically live migrate VM’s to
meet changing load
Live Migration: How It Works
1. Create VM on target server
Host 1 Host 2Blue = StorageYellow = Networking
Shared Storage
3. Final state transfera) Pause virtual machineb) Move storage connectivity from source host to target host via Ethernet
4. Run new VM on target; Delete VM on source
2. Copy memory pages from the source to the target via Ethernet
Storage Model with Failover Clustering in Windows Server 2008
Failover Clustering implemented a “shared nothing” storage model for the last decadeEach Disk is owned by a single node at any one time, and only that node can perform I/O to it
Shared Storage
Only one node accesses a LUN at a
time
SAN
Migration & StorageWindows Server 2008 R2 Hyper-V
NEW Cluster Shared Volume (CSV)CSV provides a single consistent file name spaceAll Windows Server 2008 R2 servers see the same storage
Easy setup; Uses NTFSNo reformatting SANsCreate one big data storeNo more drive letter problemsExisting tools just work
Node Fault Tolerance
Volume relocates to a healthy node
Brief queuing of I/O while volume ownership is
changed
VHD
Coordination Node
VM running on Node 2 is unaffected
SAN
I/O Connectivity Fault Tolerance
VM running on Node 2 is unaffected
Coordination Node
SAN Connectivity
Failure
VHD
I/O Redirected via network
VM’s can then be Live Migrated to another node with zero downtime
SAN
Hot Add of VM storage
Ability to add/remove storage to running VMs
Reduces downtime and provides flexibility to admins to add/remove storage as needed
Admin needs to add storage space to VMHe would need to stop the VM to do thisWith VMM R2 and Win2k8 R2
Admin can create additional storage and add it to running VM
Admin needs to backup a VMCan create VSS snapshot of his running OSUse the new disk as destination of snapshotRemove the disk from running VM
Disk type comparison (Write)Fixed VHD vs. Pass Through disk in Windows Server 2008 R2
64K Sequential Write 4K Random Write
Native PhysicalFixed VHD in Win7Fixed VHD in Win2K8Dynamic VHD in Win7Dynamic VHD in Win2K8Passthru in Win7Passthru in Win2K8
Th
rou
gp
ut(
MB
ps)
(Log Scaled by 10)
Equal
Fixed VHD performance is almost identical to Pass Through disk
~4%
Disk type comparison (Write)Fixed VHD vs. Dynamic disks in Windows Server 2008 R2
64K Sequential Write 4K Random Write
Native PhysicalFixed VHD in Win7Fixed VHD in Win2K8Dynamic VHD in Win7Dynamic VHD in Win2K8Passthru in Win7Passthru in Win2K8
Th
rou
gp
ut(
MB
ps)
(Log Scaled by 10)
~15% difference
~6% difference
Dynamic VHD performance in Windows Server 2008 R2 is comparable to fixed VHD performance
64 Logical Processor Support
Overview
4x improvement over Hyper-V V1
Hyper-V can take advantage of larger scale-up systems with greater amount of compute resources
Up to 384 Running Virtual Machines & Support for up to 512 Virtual Processors (VPs) PER SERVER
384 single VP VMs OR
256 dual VP VMs (512 Virtual Processors) OR
128 quad VP VMs (512 Virtual Processors) OR
any combination so long as you're running up to 384 VMs and up to 512 Virtual Processors
Processor Compatibility Mode
OverviewAllows live migration across different CPU versions within the same processor family (i.e. Intel-to-Intel and AMD-to-AMD).
Does NOT enable cross platform from Intel to AMD or vice versa.
Configure compatibility on a per-VM basis.
Abstracts the VM down to the lowest common denominator in terms of instruction sets available to the VM.
• Benefits• Greater flexibility within
clusters• Enables migration across
a broader ranger of Hyper-V host hardware
How does Compatibility work?
When a VM is started the hypervisor exposes guest visible processor featuresWith Processor Compatibility Enabled processor features are “hidden” from the VM
CPUID will not return presence of hidden features
List of processor features hided in compatibility mode
Host running AMD based processor
Host running Intel based processor
SSSE3, SSE4.1, SSE4.A, SSE5, POPCNT, LZCNT, Misaligned SSE, AMD 3DNow!, Extended
AMD 3DNow!
SSSE3, SSE4.1, SSE4.2, POPCNT, Misaligned SSE,
XSAVE, AVX
Cluster Example
Pentium 4 VT Circa 2005
Core 2 Duo Circa 2006
Core 2 Quad Circa 2008
Core i7 (Nehalem) 2009
Hardware:4 Generations of Intel VT Processors4 Node Cluster using 1 Gb/E iSCSI
Test:Created script to continuously Live Migrate VMs every 15 seconds
Result: 20,000+ Migrations in a week!
Windows Server 2008 R2Core Parking
OverviewScheduling virtual machines on a single server for density as opposed to dispersionThis allows “park/sleep” cores by putting them in deep C states
BenefitsEnhances Green IT by reducing CPU power consumption
R2 Power Efficiency Improvement
0% 10%
20%
30%
40%
50%
60%
70%
80%
90%
100%
30%
40%
50%
60%
70%
80%
90%
100%
127
167
207
247
287
327
367
407
WS2003 SP2 WS2008 R2 RC
Workload (% of Max Workload)
Pow
er
- %
of
Max W
att
s
Pow
er
(Watt
s)
5%
15% 63 W
Power saving at the same load:10% - 15%
59 W
Hyper-V R2 Networking10 Gb/E Ready
Chimney Support (10Gb/E)TCP/IP traffic in a VM can be offloaded to a physical NIC on the host computer.
Reduce CPU burden; Live Migration is fully supported with Full TCP Offload
Works best with long-lived connections with large data transfers
VMQ Support (10Gb/E)NIC can DMA packets directly into VM memory
Host no longer has device DMA data in its own buffer resulting in a shorter path length for I/O (performance gain)
Jumbo Frame Support (1 Gb/E & 10 Gb/E)Enables 6x larger payload per packet
Improves throughput
Reduce CPU utilization of large file transfers
Network I/O Data Path With VMQ
Parent Partition VM1 VM2
Ethernet
VM BUS
TCP/IP TCP/IP
VM NIC 1 VM NIC 2
Virtual Machine Switch
MiniportDriver
Switch/Routing unit
DefaultQueue
RoutingVLAN filtering
Data Copy Port 1Port 2
NIC
Parent Partition
Virtual Machine Switch (VSP)
MiniportDriver
Routing, VLAN Filtering, Data Copy
Port 1Port 2
Q2Q1
Maximize ResourcesCentralized virtual machine deployment and management for Hyper-V, Virtual Server, and VMware ESX serversIntelligent placement of Virtual MachinesFast and reliable P2V and V2V conversionComprehensive application and service-level monitoring with Operations ManagerIntegrated Performance and Resource Optimization (PRO) of VMs
Increase AgilityRapid provisioning of new and virtual machines with templatesCentralized library of infrastructure componentsLeverage and extend existing storage infrastructure and clustersAllow for delegated management and access of VMs
Leverage SkillsFamiliar interface, common foundation Monitor physical and virtual machines from one console Fully scriptable using Windows PowerShell
A centralized, heterogeneous management solution for the virtual datacenter
What’s new in VMM 2008 R2
Support for new Windows Server 2008 R2 featuresLive migrationSupport for CFS (Clustered Shared Volumes and 3rd party solutions)Hot add/remove of VHDs, Pass-through disks
Maintenance modeEvacuate VMs from host using Live migration
Storage Enhancements Storage Vmotion SupportQuick Storage Migration w/Hyper-VEnhanced Migration of VMs for clusters
Rapid Provisioning of Virtual Machines
Storage MigrationVMM R2 adds support for Quick Storage Migration
Migrate VM to a different location with minimal downtimeOn same Host or different host
VMM R2 also enables VMWare storage vMotion
Feature Quick Storage Migration
VMWare Storage vMotion
Storage agnostic Yes No (requires VMFS)
VM downtime < 2 mins < 2 sec
Migration of VMs with snapshots
Yes No
Requires access to both source and target storage
No Yes
Migrate VM to different host along with migrating storage
Yes No
Source Disk
Destination Disk
Quick Storage Migration
Quick Storage Migration Enables VM Migration from one storage infrastructure to another!
Microsoft Hyper-V Server 2008 R2Free download from
http://www.microsoft.com/hvs
New FeaturesLive Migration
High Availability
New Processor SupportSecond Level Address Translation
Core Parking
Networking EnhancementsTCP/IP Offload Support
VMQ & Jumbo Frame Support
Hot Add/Remove virtual storage
Enhancements to SCONFIG
Enhanced scalability
Supports boot from USB connected storage as OEM supported scenario
Microsoft Hyper-V Server V1 vs. V2 V2 Microsoft Hyper-V Server
2008Microsoft Hyper-V Server
2008 R2
Processor Support Up to 4 processors Up to 8 processors
Physical Memory Support Up to 32 GB Up to 1 TB
Virtual Machine Memory Support
Up to 32 GB total(e.g. 31 1 GB VMs or
5 6 GB VMs)
64 GB of memory per VM
Live Migration No YesHigh Availability(can be clustered with Windows Server 2008 R2 server core)
No Yes
Management Options Free RSAT,Windows Server 2008/R2
MMC, SCVMM
Free RSAT,Windows Server 2008 R2
MMC, SCVMM
Microsoft Virtualization:Customers Win
Vir
tual S
erv
er
20
05
R
2 32-bit Guests: Up to 4 GB per VMUni-Processor GuestsHigh Availability via scriptsUp to 8 Cluster Nodes
Win
dow
s S
erv
er
20
08 Hyper-V R1
16 LP Support/Up to 128 VMs1 Terabyte Memory32-bit/64-bit (Up to 64 GB per VM)SMP GuestsHigh Performance I/O (VSP/VSC/VMBus)HA Integrated/IncludedQuick Migration IncludedUp to 16 Cluster Nodes
Win
dow
s S
erv
er
20
08
R2 Hyper-V R2
64 LP Support/Up to 384 VMs/Up to 512 VPsLive MigrationCluster Shared VolumesProcessor FlexibilityPower Enhancements10 Gb/E ReadyHot Add Virtual StorageConnection Broker for Hosted DesktopsQuick Storage Migration with SCVMM R2
Greater Performance
More Capabilities
High Availability
Built-InIncreased Scalability
Live Migration Built-InReady for
Next Gen Servers
November 2005 June 2008 July 2009
Online ResourcesMicrosoft Virtualization Home/Case Studies from customers around the world:
http://www.microsoft.com/virtualization
Windows Server Virtualization Blog Site:
http://blogs.technet.com/virtualization/default.aspx
Windows Server Virtualization TechNet Site:
http://technet2.microsoft.com/windowsserver2008/en/servermanager/virtualization.mspx
MSDN & TechNet Powered by Hyper-V
http://blogs.technet.com/virtualization/archive/2008/05/20/msdn-and-technet-powered-by-hyper-v.aspx
Virtualization Solution Accelerators
http://technet.microsoft.com/en-us/solutionaccelerators/cc197910.aspx
How to install the Hyper-V role
http://www.microsoft.com/windowsserver2008/en/us/hyperv-install.aspx
Windows Server 2008 Hyper-V Performance Tuning Guide
http://www.microsoft.com/whdc/system/sysperf/Perf_tun_srv.mspx
Using Hyper-V & BitLocker White Paper
http://www.microsoft.com/downloads/details.aspx?FamilyID=2c3c0615-baf4-4a9c-b613-3fda14e84545&DisplayLang=en
Recommended