ITCamp 2012 - Tudor Damian - Private Cloud with Hyper-V 3 and SCVMM 2012
1. Private Cloud with Hyper-V 3
and SCVMM 2012
Tudor Damian
IT Solutions Specialist
Virtual Machine MVP
tudy.tel
@ itcampro # itcamp12 Premium conference on Microsoft technologies
2. Private &
ITCamp 2012 sponsors Public Cloud
@ itcampro # itcamp12 Premium conference on Microsoft technologies
3. Why should I care?
PRIVATE CLOUD
@ itcampro # itcamp12 Premium conference on Microsoft technologies
4. @ itcampro # itcamp12 Premium conference on Microsoft technologies
5. @ itcampro # itcamp12 Premium conference on Microsoft technologies
6. Private &
Cloud service types Public Cloud
Private Infrastructure Platform Software
(On-Premise) (as a Service) (as a Service) (as a Service)
You manage
Applications Applications Applications Applications
Runtimes You manage Runtimes Runtimes Runtimes
Security Security Security Security
Managed by vendor
Managed by vendor
Databases Databases Databases Databases
You manage
Servers Servers Servers Servers
Managed by vendor
Virtualization Virtualization Virtualization Virtualization
Server HW Server HW Server HW Server HW
Storage Storage Storage Storage
Networking Networking Networking Networking
@ itcampro # itcamp12 Premium conference on Microsoft technologies
Source: Microsoft Cloud Continuum
7. Private &
Private Cloud – industry view Public Cloud
@ itcampro # itcamp12 Premium conference on Microsoft technologies
8. Private &
Private Cloud components Public Cloud
Pooled Resources
3rd party extensions Virtualization
Elasticity
Scalability
Management
Continuous Availability
Predictability
Virtualization Usage-Based
Multi-Tenancy
Security
Automation
Service management
Compute Network Storage
@ itcampro # itcamp12 Premium conference on Microsoft technologies
Source: Microsoft Cloud Continuum
9. Private &
Building a Private Cloud – checklist Public Cloud
1. Budget
2. Architecture
3. Hardware
4. Virtualization layer
5. Management/automation layer
6. Internal processes
7. People
@ itcampro # itcamp12 Premium conference on Microsoft technologies
10. New features
HYPER-V 3.0
@ itcampro # itcamp12 Premium conference on Microsoft technologies
11. Private &
Hyper-V 3.0 in a glance Public Cloud
Processor
Paravirtualized Virtual
Snapshots Live Migration Compatibility
solution Networks
Mode
Storage Cluster Shared Live Storage
SLAT TCP Offload
hot-add Volumes Migration
Virtual
Dynamic
Machine Jumbo Frames Core Parking RemoteFX
Memory
Queue
Online
Hyper-V NFS Storage New VHDX
NIC Teaming Snapshot
Replica support format
Merge
Offloaded Fiber Channel Virtual
NUMA support Extensible
Data Transfer support in Machine
inside guest Virtual Switch
(ODX) guest OS Priority
Virtual Native Windows
In-Box
Resource PowerShell Backup
Metering
Pools Support integration
@ itcampro # itcamp12 Premium conference on Microsoft technologies
12. Hyper-V - interface overview
DEMO
@ itcampro # itcamp12 Premium conference on Microsoft technologies
14. Private &
Catching up with VMWare Public Cloud
Hyper-V 3.0 vSphere 5.0
Max Logical Cores Per Host 160 160
Max RAM Per Host 2TB 2TB
Max VMs Per Cluster 4000 3000
Max Nodes Per Cluster 64 32
Max CPUs Per VM 32 32
Max RAM Per VM 1TB 1TB
Max VM Disk Size 64TB (VHDX on W8) 2TB
Max Concurrent VM Migrations Unlimited 128/datastore
Max Concurrent Storage Migrations Unlimited 8/datastore, 2/host
http://up2v.nl/2012/01/29/microsoft-hyper-v-3-0-compared-to-vmware-vsphere-5/
@ itcampro # itcamp12 Premium conference on Microsoft technologies
15. Private &
Disaster recovery Public Cloud
• Hyper-V Replica
• Disaster Recovery Scenarios:
– Planned, Unplanned and Test Failover
– Pre-configuration for IP settings for primary/remote
location
• Key Features:
– RPO/RTO in minutes
– Seamless integration with Hyper-V and Clustering
– Automatically handles all VM mobility scenarios (e.g.
Live Migration)
– Supports heterogonous storage between primary
and recovery
@ itcampro # itcamp12 Premium conference on Microsoft technologies
16. Private &
Storage improvements Public Cloud
– VHDX
– Virtual Fiber Channel in the Guest (MPIO)
– NFS Storage (SMB 2.2) with SMB2 direct (RDMA)
support
– Offloaded Date Transfer (ODX)
– Native data deduplication
– 4k Native Disk Support
– iSCSI Target
– NTFS online scan/repair
@ itcampro # itcamp12 Premium conference on Microsoft technologies
17. Private &
VHDX Public Cloud
• Supports up to 64TB size (VHDs had a 2TB
limit)
• Supports larger block file size
• Improved performance and corruption
resistance
• Windows 8 only
• Easy conversion
@ itcampro # itcamp12 Premium conference on Microsoft technologies
18. @ itcampro # itcamp12 Premium conference on Microsoft technologies
19. Private &
New migration scenarios Public Cloud
• Increased VM Mobility
– Live Migration with High Availability (already
available now)
– Live Migration with no clustering (using an SMB
share)
– Live Migration with no shared storage
– Live Storage Migration (SMB 2.2)
@ itcampro # itcamp12 Premium conference on Microsoft technologies
20. Private &
Live Storage Migration Public Cloud
Hyper-V
• Enables
Storage Load Virtual Machine
Balancing 1
3
VHD Stack
• No downtime
servicing 2
• Leverages
Hyper-V
Offloaded Data 5
VHD VHD 4
Transfer (ODX) Source Device Destination Device
@ itcampro # itcamp12 Premium conference on Microsoft technologies
21. Private &
Snapshots, backup & control Public Cloud
– Online snapshot merge
– Windows Server Backup support
– Dynamic Memory improvements
– VM Priority
@ itcampro # itcamp12 Premium conference on Microsoft technologies
22. Private &
Network improvements Public Cloud
– NIC Teaming
– Extensible Virtual Switch
– Multi-tenant deployments
– Bandwidth QoS
– Dynamic Virtual Machine Queue (DVMQ)
– Single Root I/O Virtualization (SR-IOV)
– Receive Side Scaling (RSS)
– Receive Side Coalescing (RSC)
– IPSec Task Offload
– Address Virtualization
• Generic Routed Encapsulation (GRE)
• Address Rewrite
@ itcampro # itcamp12 Premium conference on Microsoft technologies
23. Private &
Bandwidth QoS Public Cloud
@ itcampro # itcamp12 Premium conference on Microsoft technologies
24. Private &
Hyper-V Extensible Switch Public Cloud
• Augment Hyper-V Virtual Virtual
Machine Machine
Virtual Switch Root Partition
capabilities VM NIC Host NIC
VM NIC
– Monitoring
– Traffic filtering / Hyper-V Switch
shaping Capture Extensions
– Forwarding WFP Extensions
algorithms
Filtering Extensions
Forwarding Extension
Physical NIC
@ itcampro # itcamp12 Premium conference on Microsoft technologies
25. Private &
The Multi-Tenant Cloud Public Cloud
• Secure Isolation Between Tenants
• Dynamic Placement of Services
• QoS and Resource Metering Hoster
Contoso Bank Woodgrove Bank
Multiple Customers on
Shared Infrastructure
@ itcampro # itcamp12 Premium conference on Microsoft technologies
26. Private &
The Multi-Tenant Cloud Public Cloud
Dynamic
Secure Isolation QoS & Resource
Placement of
Between Tenants Metering
Services
• Hyper-V • Hyper-V • Virtual Machine
Extensible Network QoS Policies
Switch Virtualization • Resource
• Isolation • Complete VM Meters
Policies Mobility • Performance
• PVLANs • Cross-Premise Counters
Connectivity
@ itcampro # itcamp12 Premium conference on Microsoft technologies
27. Private &
Multi-Tenant Network Req’s Public Cloud
• Tenant wants to easily move VMs to/from the cloud
• Hoster wants to place VMs anywhere in the data
center
• Both want: Easy Onboarding, Flexibility & Isolation
Cloud Datacenter Contoso Bank
Woodgrove Bank
Red 10.1.0.0/16
Blue 10.1.0.0/16
@ itcampro # itcamp12 Premium conference on Microsoft technologies
28. Private &
One Solution: PVLAN Public Cloud
Green Blue Red1 Red2
10.1.1.31 10.1.1.21 10.1.1.11 10.1.1.12
Hyper-V
Switch
u
Isolated Isolated Community Community
Win 8 Host
To Internet
(10.1.1.1)
• Isolation Scenario
– Hoster wants to isolate all VMs from each other and allow internet connectivity
– #1 Customer Ask from hosters
• Community Scenario
– Hoster wants tenant VMs to interact with each other but not with other tenant VMs
– Requires a VLAN id for each “community” (limited scalability, only 4095 VLAN IDs)
@ itcampro # itcamp12 Premium conference on Microsoft technologies
29. Private &
Hyper-V Network Virtualization Public Cloud
Woodgrove VM Contoso VM Woodgrove network Contoso network
Physical
Physical network
server
Hyper-V Machine Virtualization Hyper-V Network Virtualization
• Run multiple virtual servers on a • Run multiple virtual networks on a physical
physical server network
• Each VM has illusion it is running
• Each virtual network has illusion it is running as a
as a physical server
physical fabric
@ itcampro # itcamp12 Premium conference on Microsoft technologies
30. Private &
Generic Routing Encapsulation Public Cloud
• 1 Provider Address per HOST (shared by all VMs on the host)
• Embed Tenant Network ID in the GRE header Key field
192.168.2.22192.168.5.55 GRE Key=20 MAC 10.1.1.1110.1.1.12
192.168.2.22192.168.5.55 GRE Key=30 MAC 10.1.1.1110.1.1.12
192.168.2.22 192.168.5.55
1:N
10.1.1.11 10.1.1.11 10.1.1.12 10.1.1.12
10.1.1.1110.1.1.12 10.1.1.1110.1.1.12 10.1.1.1110.1.1.12 10.1.1.1110.1.1.12
@ itcampro # itcamp12 Premium conference on Microsoft technologies
31. Private &
Address Rewrite Public Cloud
• Each VM IP (CA) is mapped to a unique Provider Address (PA)
• Regular TCP/IP packets on the wire
192.168.2.22192.168.5.55
192.168.2.23192.168.5.56
192.168.2.22 192.168.2.23
192.168.5.55 192.168.5.56
10.1.1.11 10.1.1.11
10.1.1.12 10.1.1.12
10.1.1.1110.1.1.12 10.1.1.1110.1.1.12
10.1.1.1110.1.1.12 10.1.1.1110.1.1.12
@ itcampro # itcamp12 Premium conference on Microsoft technologies
32. Private &
Public Cloud
Address Virtualization Summary
GRE Encapsulation IP Rewrite
Deeper Multi-Tenancy Performance and
Integration Compatibility
Standards based – RFCs 2784 & 2890 No need to upgrade existing
NICs, existing switches, and
As few as one IP address per host lowering existing network appliances
burden on the switches
Full MAC headers and explicit Tenant Network Immediately and incrementally
ID marking supports for traffic analysis, deployable today without
metering and control
sacrificing performance
Any encapsulation will break stateless offloads
in the host server (LSO, Checksum, RSC, RSS,
VMQ)
@ itcampro # itcamp12 Premium conference on Microsoft technologies
33. Private &
VDI improvements Public Cloud
• RemoteFX for WAN (rich desktop over various networks)
• RemoteFX adaptive graphics (remoting of experiences adapting
to network types)
• RemoteFX media remoting (high performance media remoting)
• RemoteFX multi-touch (consistent touch interface, even when
remoting to RDS)
• RemoteFX USB redirection
• Metro-style Remote Desktop App
• Choice of software or physical GPU
– No requirement for hardware GPU
• Available for sessions, VMs, and physical machines
• Broad range of clients (ubiquitous access)
• DX11 video support
@ itcampro # itcamp12 Premium conference on Microsoft technologies
34. Private &
The power of PowerShell Public Cloud
• PowerShell support
– Fast & Intuitive
– ~150 new Hyper-V cmdlets
– All Hyper-V Manager UI capability can be
scripted
– Perfect for automation
• In-box metering
@ itcampro # itcamp12 Premium conference on Microsoft technologies
35. PowerShell & Hyper-V, sitting in a tree…
DEMO
@ itcampro # itcamp12 Premium conference on Microsoft technologies
36. Private &
Hyper-V Resource Meters Public Cloud
Historic Resource utilization information, persistent through live migrations
Network
• Incoming & Outgoing
Traffic per IP Address
Range
Storage
• High Water-Mark Disk
Allocation
Memory
• Low & High Water-Mark
Memory Utilization
• Average Memory
Utilization
CPU
• Average CPU Utilization
@ itcampro # itcamp12 Premium conference on Microsoft technologies
37. System Center Virtual Machine Manager 2012
OVERVIEW
@ itcampro # itcamp12 Premium conference on Microsoft technologies
38. Private &
SCVMM 2012 Public Cloud
@ itcampro # itcamp12 Premium conference on Microsoft technologies
39. SCVMM 2012 - Fabric Management
Physical Server
– Manage multiple hypervisors – Hyper-V, VMware, Xen
– Server hardware management – IPMI, DCMI, SMASH, Custom via Provider
– Host provisioning – from baremetal to Hyper-V to Cluster provisioning
Network
– Define Logical Networks using VLANs and Subnets per datacenter location
– Address management for Static IPs, Load Balancer VIPs and MAC addresses
– Automated provisioning of Load Balancers via Provider
Storage
– Storage Management using SMI-S
– Discover storage arrays and pools
– Classify storage based on throughput and capabilities
– Discover or configure LUNs and assign to hosts and clusters
– Rapid provisioning of VMs using snap cloning of LUNs
@ itcampro # itcamp12 Premium conference on Microsoft technologies
40. SCVMM 2012 - Fabric Management
Update Management of Fabric Servers
– Update operation control (On-demand scan and on-demand remediation)
– Updating a Hyper-V cluster is fully automated
– Integrated with Windows Server Update Server
Dynamic Optimization (DO)
– Cluster level workload balancing scheme to optimize for VM performance
– Leverages live migration to move workloads
Power Optimization (PO)
– Leverages live migration to pack more VMs per host
– Powers down servers to optimize for power utilization
Enhanced Placement
– Over 100 placement checks/validation
– Support for custom placement rules
– Multi-VM deployment for Services
@ itcampro # itcamp12 Premium conference on Microsoft technologies
41. SCVMM 2012 - Service Lifecycle
Service Templates
– Used to model a multi-tier application
– Source of truth for deployed service configuration
Applications
– Built-in support for Web deploy, Server App-V, SQL DAC
– Custom command execution for other application packages
Image-based
– OS separated from apps
– Composed during deployment
Servicing
– Change the template and then apply that change to deployed instances
– Upgrade domains ensures application availability during servicing
@ itcampro # itcamp12 Premium conference on Microsoft technologies
42. System Center Virtual Machine Manager 2012
DEMO
@ itcampro # itcamp12 Premium conference on Microsoft technologies
43. Private &
System Center – integrated management Public Cloud
Source: TechEd Europe – MGT206
@ itcampro # itcamp12 Premium conference on Microsoft technologies
44. Q&A
@ itcampro # itcamp12 Premium conference on Microsoft technologies