1 / 21

Is virtualization a good choice for SQL Server ?

Discover the major platform choices, benefits, pitfalls, and deciding factors when considering virtualization for SQL Server. Learn about the limits of virtualization, management tools, and licensing options.

elizabethf
Download Presentation

Is virtualization a good choice for SQL Server ?

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Is virtualization a good choice for SQL Server? Denny Cherry http://www.mrdenny.com mrdenny@mrdenny.com twitter.com/mrdenny

  2. About Me • Independent Consultant • Founder of SQL Excursions • Author or Coauthor of 5 books • 8+ SQL Mag articles • Dozens of other articles • Microsoft MVP • Microsoft Certified Master

  3. Agenda • Major Platform Choices • Benefits • Pitfalls • Deciding Factors • Limits of Virtualization • Management Tools • Licensing

  4. Major Platform Choices • VMware • ESX 1-3.5 • vSphere 4.0 – 4.1 • VMware announced 4.1 will be the last version with a host console 7/30/2010 • vSphere Hypervisor (ESXi) 4.0+ • Hyper-V • V1 and v2 (v3 will be in Windows 8)

  5. Benefits • Hardware Costs • Instant Server Deployment • Free Server Redundancy • Live Migration – Hyper-V • vMotion - VMware • Easy System Upgrades

  6. Balloon Memory Drivers Used by host OS to request memory back from the guest OS Prevents host of from paging physical memory to the hosts swap file Should be enabled Lock pages in memory should be disabled, unless enabled for a specific reason

  7. Memory DeduplicationOptions • Great for OS memory • Doesn’t work at all for SQL Server • Unless… multiple SQL Servers have the same pages in cache

  8. Storage Configuration Options • IO is the same if the disks are physical or virtual • Use automatic tier adjusting technology if possible • On EMC Arrays – FAST • Dell Compellent Arrays • Keep OS, data, logs, tempdb on separate disks if possible

  9. Storage Deduplication Can greatly improve overall performance By deduplicating OS virtual disks, we save much less data to the array As less data is written to the array, less OS data is loaded into cache on the array

  10. Pitfalls • Shared CPU • Shared Memory • Slow Disk Access times • Another layer of Management • Storage Path Flooding

  11. Deciding Factors • Disk IO • IO Per Seconds • CPU Load • CPU Usage • Core Counts • Processor Queuing • Memory Usage

  12. Virtualization Limits • By default vMotion or Instant Failover requires hosts have like CPUs models and matching instruction sets • Hyper-V doesn’t include memory de-duplication • It does now, introduced in Windows 2008 R2 SP1

  13. Management Tools • VMware requires vCenter to manage a cluster • Hyper-V has basic management tools included, including integration with Windows Failover Cluster Manager • System Center Virtual Machine Manager (SCVMM) is strongly recommended for managing Production Environments • SCVMM can also manage ESX 3.5 or vSphere 4.0 Servers (requires vCenter server) • SCVMM integrates with System Center Operations Manager (SCOM) to drive SCVMM Performance Resource Optimization (PRO Tips) • SCVMM is required for Hyper-V Physical to Virtual (P2V) migrations.

  14. vCenter Client

  15. Licensing • CAL based licensing doesn’t change • 1 Server license per guest + CALs for users • CPU licensing • 1 license for physical CPU used • 1 2008 R2 DCE CPU license for each CPU in host • If you have SQL 2008 R1 with SA for hosts you are grandfathered into SQL 2008 R2. http://bit.ly/cGiatM • Each guest needs a Windows license

  16. Monitoring Hosts

  17. Monitoring Hosts

  18. Monitoring the Guest • Guest CPU Load requires double checking against the host • Disk IO rates are accurate • Disk IO throughput should be confirmed with the host • Disk Latency should be confirmed with the host

  19. Monitoring the Guest

  20. Monitoring the Guest

  21. Denny Cherry mrdenny@mrdenny.com http://www.mrdenny.com

More Related