Injustice - Developers Among Us (SciFiDevCon 2024)
IT Camp Windows Server 2012 Beta Hyper-V Overview
1. Windows Server 2012 Beta
Hyper-V:
A More Complete Virtualization Platform
Harold Wong
blogs.technet.com/haroldwong
@haroldwong
The information contained in this document relates to a pre-release product which may be substantially
modified before it is commercially released. Microsoft makes no warranties, express or implied with respect to
the information presented here.
2. Beyond virtualization
Basic server virtualization technology helps
achieve cost savings and operational efficiencies
Let’s go beyond basic Create more dynamic
virtualization. platforms to:
• Build private clouds.
• Create more flexible virtualization
solutions on site to support core line of
business applications and high
availability solutions.
Windows Server 2012 Beta – Pre-release information only 2
3. Hyper-V before Windows Server 2012 Beta
Hyper-V history Windows Server 2008 R2 improvements to
• Introduced with Windows Server 2008
Hyper-V
• New version in Windows Server 2008 R2
• Increased availability for moving virtual machines
• Update with Windows Server 2008 R2 SP1
• Increased availability for adding and removing virtual
machine storage
Two manifestations of Hyper-V • Improved management of virtual data centers
• Hypervisor-based virtualization feature of Windows • Simplified method for physical and virtual computer
Server 2008 R2 deployments
• Microsoft Hyper-V Server, a free stand-alone product • Hyper-V processor compatibility mode for live
containing only: migration
– Windows Hypervisor • Improved virtual networking performance
– Windows Server driver model
• Improved virtual machine memory management
– Virtualization components
Windows Server 2012 Beta – Pre-release information only 3
4. A more complete virtualization platform
Hyper-V in Windows Server 2012 Beta
More secure multitenancy
Flexible infrastructure, when and where you need it
Scale, performance, and density
High availability
Windows Server 2012 Beta – Pre-release information only 4
5. More secure multitenancy
Extending the Hyper-V
Multitenant security and
Extensible Switch for new
isolation
capabilities
Helps ensure that each customer’s data is completely separate and secure
from other customers’ information.
Windows Server 2012 Beta – Pre-release information only 5
6. Multitenant security and isolation
Hyper-V Extensible Switch
• New feature
• Handles network traffic between:
– Virtual machines
– The external network
– The host operating system
• Layer-2 virtual interface
• Programmatically managed
• Extensible
NIC = network adapter
Windows Server 2012 Beta – Pre-release information only 6
7. Multitenant security and isolation
Private virtual LAN (PVLAN)
• Isolate virtual machines from other
virtual machines in your data center.
• Create community groups of virtual
machines that can exchange data
packets.
Example PVLAN:
‒ Primary VLAN ID is 2
‒ Secondary VLAN IDs are 4 and 5
Windows Server 2012 Beta – Pre-release information only 7
8. Multitenant security and isolation
Other tools Benefits
• ARP spoofing protection • Enhanced security and isolation
• DHCP guard protection • Manageability
• Virtual port ACLs • Isolation of customers’ networks from
one another
• Trunk mode to virtual machines
• No need to set up and maintain VLANs
• Monitoring
• Protection against malicious data
• Windows PowerShell/WMI
interception
Windows Server 2012 Beta – Pre-release information only 8
9. Extending the Hyper-V Extensible Switch for new capabilities
Two platforms for extensions:
• NDIS filter drivers
• WFP callout drivers
You can extend or replace:
• Ingress filtering
• Destination lookup and forwarding
• Egress filtering
Other features:
• Extension monitoring
• Extension uniqueness
• Extensions that learn virtual machine
life cycle
• Extensions that can veto state changes
• Multiple extensions on same switch
Architecture of the Hyper-V Extensible Switch
Windows Server 2012 Beta – Pre-release information only 9
10. Hyper-V Extensible Switch extension types
Extension Purpose Potential Examples Extensible component
Inspecting network packets, but not
Network Packet Inspection altering them
sFlow and network monitoring NDIS filter driver
Injecting, modifying, and dropping
Network Packet Filter network packets
Security NDIS filter driver
OpenFlow, Virtual Ethernet Port
Third-party forwarding that bypasses
Network Forwarding default forwarding
Aggregator (VEPA), and proprietary NDIS filter driver
network fabrics
Filtering and modifying TCP/IP
packets, monitoring or authorizing Virtual firewall and connection
Firewall/Intrusion Detection connections, filtering IPsec-protected monitoring
WFP callout driver
traffic, and filtering RPCs
Windows Server 2012 Beta – Pre-release information only 10
11. Flexible infrastructure, when and where you need it
Scale beyond VLANs with
Migrate virtual machines Move virtual machine storage
Hyper-V
without downtime with minimal downtime
network virtualization
Reliably import virtual Merge snapshots while the Use new automation support
machines virtual machine is running for Hyper-V
Adding and moving servers is now faster and easier.
Windows Server 2012 Beta – Pre-release information only 11
12. Scale beyond VLANs with Hyper-V network virtualization
How network virtualization works:
• Two IP addresses for each virtual
machine
• General Routing Encapsulation (GRE)
• IP address rewrite
• Policy management server
Problems solved:
• Removes VLAN constraints.
• Eliminates hierarchical IP address
assignment for virtual machines.
Windows Server 2012 Beta – Pre-release information only 12
13. IP address rewrite
How IP address rewrite works Benefits
• Each Customer Address (CA) is mapped to a unique • Requires no upgrade of network
Provider Address (PA). adapters, switches, or network appliances
• Information is sent in regular TCP/IP packets • Can be deployed today without sacrificing
on the wire. performance
Windows Server 2012 Beta – Pre-release information only 13
15. Benefits of Hyper-V network virtualization
Tenant network
No new hardware
migration to the Tenant virtual Simplified
(servers, switches, a Full management
cloud without machine network and
ppliances) needed through Windows
reconfiguration deployment improved
to help achieve PowerShell and
and without anywhere in the server/network
maximum WMI
compromising data center resource use
performance
isolation
Windows Server 2012 Beta – Pre-release information only 15
16. Migrate virtual machines without downtime
Live migration setup Memory page transferred
Improvements
• Faster migration and simultaneous
migration
• Live migration outside a clustered
environment Modified pages transferred Storage handle moved
Windows Server 2012 Beta – Pre-release information only SMB-share-based live migration
17. Migrate virtual machines without downtime
Benefits
• Increase flexibility of virtual machine placement
• Increase administrator efficiency
• Reduce downtime for migrations across cluster
boundaries
Windows Server 2012 Beta – Pre-release information only “Share nothing" live migration 17
18. Move virtual machine storage with no downtime
Live storage migration
• Move virtual hard disks (VHDs) attached to a
running virtual machine.
Benefits
• 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.
Windows Server 2012 Beta – Pre-release information only 18
19. Reliably import virtual machines
Import Wizard
• Detects and fixes problems
• Doesn’t require the virtual machine to be exported
• Allows a virtual machine to be copied to a USB flash drive
• Moves virtual machines more easily and reliably
• Uses Windows PowerShell cmdlets for automation
Benefit
• A simpler, better way to import or copy virtual machines.
Windows Server 2012 Beta – Pre-release information only 19
20. Merge snapshots while the virtual machine is running
Snapshot features Benefit
• Snapshot data are stored in .avhd files • Update parent virtual hard disks while the
virtual machine is still running
• You can merge the .avhd disk into the parent
while the virtual machine continues to run
• I/O is suspended to a small range while data
in the range is processed
• At completion, online merge fixes merged
disks and closes files.
Windows Server 2012 Beta – Pre-release information only 20
21. Use new automation support for Hyper-V
More than 150 Designed for IT Task-oriented Consistent
cmdlets pros interface cmdlet nouns
Windows Server 2012 Beta – Pre-release information only 21
22. Scale, performance, and density
Hyper-V host scale and scale-up Offloaded Data Transfers (ODX)
workload support support in Hyper-V
Dynamic Memory improvements Data Center Bridging (DCB)
for Hyper-V
Virtual Fibre Channel in Hyper-V
Resource Metering in Hyper-V
Support for 4-KB disk sectors in
New virtual hard disk format Hyper-V virtual disks
Quality of Service (QoS)
Increases scalability of the data center and uses fewer servers to run more virtual
machine workloads.
Windows Server 2012 Beta – Pre-release information only 22
23. Hyper-V host scale and scale-up workload support
Maximum number
Improvement
System Resource Windows Server 2012
Windows 2008 R2 factor
Beta
Logical processors on hardware 64 160 2.5
Host Physical memory 1 TB 2 TB 2
Virtual processors per host 512 1,024 2
Virtual processors per virtual machine 4 32 8
Virtual Memory per virtual machine 64 GB 1 TB 16
machine
Active virtual machines 384 1,024 2.7
Nodes 16 64 4
Cluster
Virtual machines 1,000 4,000 4
Windows Server 2012 Beta – Pre-release information only 23
24. Hyper-V host scale and scale-up workload support
Non-Uniform Memory Access
(NUMA) support in a virtual
machine
• Projects NUMA topology onto a virtual
machine
• Allows guest operating systems and
applications to make intelligent NUMA
decisions
• Aligns guest NUMA nodes with host
resources
Guest NUMA topology by default matches host NUMA topology
Windows Server 2012 Beta – Pre-release information only 24
25. Hyper-V host scale and scale-up workload support
SR-IOV support in Hyper-V
• Increases network throughput
• Reduces network latency
• Reduces host CPU overhead for
processing network traffic
Benefits
• Maximize use of host system
processors and memory
• Handle the most demanding workloads
VF = virtual function
Windows Server 2012 Beta – Pre-release information only 25
26. Dynamic Memory improvements for Hyper-V
Dynamic Memory
• Introduced in Windows Server 2008
R2 SP1
• Reallocates memory automatically
among running virtual machines
Windows Server 2012 Beta
improvements
• Minimum memory
• Hyper-V smart paging
• Memory ballooning
• Runtime configuration
Virtual machine starting with Hyper-V smart paging
Windows Server 2012 Beta – Pre-release information only 26
27. Dynamic Memory improvements for Hyper-V
Benefits
• Higher consolidation
numbers
• Improved reliability of
Hyper-V operations
• Ability to change
memory configuration
with minimal
downtime
Removing paged memory after virtual machine restart
Windows Server 2012 Beta – Pre-release information only 27
28. Resource Metering
Features Metrics
• Uses resource pools • Average CPU use
• Is compatible with all • Average memory use
Hyper-V operations • Minimum memory use
• Is unaffected by virtual • Maximum memory use
machine movement
• Maximum disk allocation
• Uses Network Metering
Port ACLs • Incoming network traffic
• Outgoing network traffic
A two-tenant environment built with Hyper-V in
Windows Server 2012 Beta
Windows Server 2012 Beta – Pre-release information only 28
29. Resource Metering
Basic model of Resource Metering Benefits of Resource Metering
• Tracking of virtual machine use is easier.
• You can use it to aggregate data for multiple
virtual machines.
• You can use it to build accurate lookback and
chargeback solutions.
• Obtaining resource usage data is easier.
Windows Server 2012 Beta – Pre-release information only 29
30. New virtual hard disk format (VHDX)
VHDX principal features
• Storage capacity up to 64 terabytes (TBs)
• Corruption protection during power
failures
• Optimal structure alignment for large-
sector disks
Benefits
• Increases storage capacity
• Protects data
• Helps to ensure quality performance on
large-sector disks
Windows Server 2012 Beta – Pre-release information only 30
31. Offloaded Data Transfer (ODX) support in Hyper-V
ODX
• Data transfer between intelligent storage arrays
• Token based
Benefits
• Rapid virtual machine provisioning and migration
• Faster transfers on large files
• Latency minimization
• Array throughput maximization
• Less CPU and network usage
• Performance not limited by network throughput
or server usage
• Improved data center capacity and scale
• Automation
Token-based copy operation
Windows Server 2012 Beta – Pre-release information only 31
32. Data Center Bridging (DCB)
DCB converges different types of traffic How DCB works
• Network • DCB acts as a network adapter feature.
• Storage • This mechanism provides a hardware
solution for managing network traffic.
• Management
• DCB classifies and dispatches network traffic.
• Live migration
• Windows instructs the adapter to classify
Benefits traffic.
• Traffic doesn’t have to originate from the
• Helps you to ensure QoS networking stack.
• Makes it easier to change allocations to
different traffic flow
Windows Server 2012 Beta – Pre-release information only 32
33. Virtual Fibre Channel in Hyper-V
Access Fibre Channel SAN data from a
virtual machine
• Unmediated access to a SAN
• A hardware-based I/O path to virtual hard disk
stack
• N_Port ID Virtualization (NPIV) support
• A single Hyper-V host connected to different
SANs
• Up to four Virtual Fibre Channel adapters on a
virtual machine
• Multipath I/O (MPIO) functionality
• Live migration
Live migration maintaining Fibre Channel connectivity
Windows Server 2012 Beta – Pre-release information only 33
34. Support for 4-KB disk sectors in Hyper-V virtual hard disks
Capabilities
• Improved performance of virtual hard disks on
512e disks
• Hosting virtual hard disks on native 4-KB disks
Benefits
• Reduces the impact of 512e disks on the virtual Virtual hard disk 4-KB block (blue) not aligned
hard disk stack with physical 4-KB boundary
• Workloads complete more quickly
Windows Server 2012 Beta – Pre-release information only 34
35. QoS minimum bandwidth
Relative minimum bandwidth Strict minimum bandwidth
Features
• Establishes a bandwidth floor
• Assigns specified bandwidth for each
type of traffic
• Helps to ensure fair sharing when
there’s congestion
• Can exceed quota when there’s no Bandwidth oversubscription
congestion
Two mechanisms
• Enhanced packet scheduler (software)
• Network adapter with DCB support
(hardware)
Windows Server 2012 Beta – Pre-release information only 35
36. QoS minimum bandwidth
Benefits of QoS minimum
bandwidth
• Need fewer expensive network adapters
• Make best use of 10-GbE hardware
Benefits for public cloud hosting
providers
• Manage performance levels for SLAs
• Deliver minimal impact or compromise
in shared infrastructure
Benefits for enterprises
• Deliver predictable application
performance
• Encourage the use of virtualization
Windows Server 2012 Beta – Pre-release information only 36
37. High availability
Hyper-V
Incremental
Hyper-V Replica NIC Teaming clustering
backups
enhancements
Data centers and customers can increase resilience to failures.
Windows Server 2012 Beta – Pre-release information only 37
38. Incremental backups
For virtual machines
• 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
Benefits
• Saves network bandwidth
• Reduces backup sizes
• Saves disk space
• Lowers backup cost
Windows Server 2012 Beta – Pre-release information only 38
39. Hyper-V Replica
New feature
• Replicates Hyper-V virtual machines from a
primary to a Replica site
Benefits
• Affordable in-box business continuity and
disaster recovery solution
• Failure recovery in minutes
• More secure replication across network
• No need for storage arrays
• No need for other software replication
technologies
• Automatic handling of live migration
• Simpler configuration and management
Windows Server 2012 Beta – Pre-release information only 39
40. NIC Teaming
What is NIC Teaming? Benefits
• Multiple parallel network connections • Higher reliability against failure
• Increase throughput • Better throughput
• Provides redundancy in case of link failure
NIC Teaming in a Hyper-V environment Management
• Uses virtual network adapters • Windows PowerShell
• Can connect to more than one virtual switch • NIC Teaming Server Manager configuration UI
• Is designed to maintain connectivity if one switch
disconnects
• Can support up to 32 network adapters in a team
Example: SR-IOV
Windows Server 2012 Beta – Pre-release information only 40
41. Hyper-V clustering enhancements
Clustering benefits
Protects against: Enables high-availability solutions for many
• Application and service failure workloads
• System and hardware failure
• Site failure (natural disaster, power outages, or
connectivity outages)
Lets you increase availability and enable access to server-based applications during
planned and unplanned downtime.
Windows Server 2012 Beta – Pre-release information only 41
42. Hyper-V clustering enhancements
New features
Guest clustering via Fibre Channel Clustered live migration enhancements
• Connects to Fibre Channel directly from within • Uses higher network bandwidths (up to 10 GB) to
virtual machines complete migrations faster
• Virtualizes workloads that:
– Use direct access to Fibre Channel storage
– Cluster guest operating systems over Fibre Channel Cluster Shared Volume (CSV) 2.0
• Simplifies the configuration and operation of
virtual machines
Encrypted cluster volumes
• Provides greater security and performance
• Uses BitLocker Drive Encryption to enable better
physical security for deployments outside of • Integrates with storage arrays for out-of-the-box
secure data centers replication and hardware snapshots
Windows Server 2012 Beta – Pre-release information only 42
43. Hyper-V clustering enhancements
New features
Transparent failover Hyper-V application monitoring
• Moves file shares between nodes with little • Hyper-V and failover clustering work together to
interruption to server applications, such as: bring higher availability to workloads that do not
– Configuration files officially support clustering.
– Virtual hard disk files
– Snapshots in file shares over the SMB2 protocol
• Monitors services and event logs inside the
virtual machine.
• Determines health of virtual machine’s key
services.
Windows Server 2012 Beta – Pre-release information only 43
44. Hyper-V clustering enhancements
New features
Virtual machine failover prioritization Affinity (and anti-affinity) virtual machine
• Lets you configure virtual machine priorities rules
• Lets you configure partnered virtual machines to
• Controls the order in which virtual machines fail
migrate simultaneously during failover.
over or start
– Example: Configure your SharePoint virtual
machine and partnered SQL Server virtual
machine to always fail over together to the
In-box live migration queuing same node.
• Lets you perform large multiselect actions to • You can specify that two virtual machines cannot
queue live migrations of multiple virtual coexist on the same node in a failover scenario
machines (anti-affinity rule).
Windows Server 2012 Beta – Pre-release information only 44
45. Hyper-V clustering enhancements
Benefits with Windows Server 2012 Beta
• Extends clustered environment features to a new level
• Supports greater access to storage
• Provides faster failover and migration of nodes
Windows Server 2012 Beta – Pre-release information only 45
46. Conclusion
Windows Server 2012 Beta Hyper-V is a more dynamic
virtualization platform.
Flexible
Scale,
More secure infrastructure, wh
performance, High availability
multitenancy en and where you
and density
need it
Windows Server 2012 Beta – Pre-release information only 46