Allan Hirt
Microsoft High Availability MVP
Managing Partner, SQLHA LLC
Twitter: @SQLHA
E-mail: allan@sqlha.com
Web/blog: http://www.sqlha.com
Virtualization
• Ability to run multiple servers (virtual machines, or VMs) under a single host
(hypervisor)
Not dissimilar to multiple SQL Server instances on a server or WSFC
VMware has been around since the late 90s, first server product 2002
• VM is a software defined representation of a physical server
All VMs share the underlying resources of the hypervisor
Most, if not all, components of a virtualized server environment are software defined
• At some point there is always physical underneath – whether virtualized or
using the public cloud
Promise vs. Reality of Virtualization
Promise Reality
Availability/Reliability Physical can be expensive, hard to Can be more complex, backup
implement story now much more fuzzy
Agility Workloads are portable (better It’s not as simple as moving
perf/availability), “run anywhere” things around
Deployment Reduces time to implement, siloed Only really works if IT
deployment tools go away embraces things like
templates, need proper
monitoring
Utilization Better consolidation, handles sprawl, Now have noisy neighbors,
better overall usage overcommit of resources, still
may need dedicated hosts
Hyper-V vs. VMware – High Level Comparison
• Parity on both sizing
and features Parameter Hyper-V vSphere 5.1 vSphere 6.0
• Each “one ups” or (2012 R2)
catches up to the Logical Processors 320 160 480
Host
other in releases Physical memory 4TB 2TB 6TB
• vSphere HA
Cluster the hypervisor hosts and created clustered VMs (not in-guest clustering)
Like an FCI, stop and start on another node; outage to anything connected
• vSphere Fault Tolerance (FT)
Can work with HA
Similar to Hyper-V Replica
• vMotion
Similar to Live Migration
• Distributed Resource Scheduler (DRS)
Load balancing (essentially), vMotion with no interrupting
Have to evaluate with some SQL Server workloads – may not be a fit
• Site Recovery Manager
Great for D/R
The Public Cloud
• Current big players: Amazon (EC2 and RDS) and Azure (IaaS and SQL
Database)
• VMs (EC2/IaaS) vs. database (RDS/SQL Database)
• Build or “buy”?
Their Windows image + your build of SQL Server?
Their complete image (and maybe you customize)?
Total build job by you?
• Licensing
Bring or rent?
• Amazon https://aws.amazon.com/windows/resources/licensing/
• Azure https://azure.microsoft.com/en-us/pricing/licensing-faq/
Networking for Public Cloud-based VMs
• FCIs
Not a great fit
Can work (SMB, SIOS Datakeeper)
Networking slightly different than an on premise solution
• AGs
Good fit, but some of the same networking weirdness as FCI for WSFC
• DBM
Good fit but deprecated
• Log shipping
Works great
Hybrid Solutions
• Two scenarios
On premise physical or virtual + stretch to the public cloud
Cloud to cloud (i.e. Azure AWS)
• Networking will make or break you
Requires special network configuration
If have the budget, consider ExpressRoute (Azure) or Direct Connect (Amazon)
• Don’t forget about authentication (i.e. AD)
Don’t Forget Performance