+ All Categories
Home > Documents > Is virtualization a good choice for SQL Server ?

Is virtualization a good choice for SQL Server ?

Date post: 25-Feb-2016
Category:
Upload: irisa
View: 36 times
Download: 0 times
Share this document with a friend
Description:
Is virtualization a good choice for SQL Server ?. Denny Cherry http://www.mrdenny.com [email protected] twitter.com/ mrdenny. About Me. Independent Consultant Founder of SQL Excursions Author or Coauthor of 5 books 8 + SQL Mag articles Dozens of other articles Microsoft MVP - PowerPoint PPT Presentation
21
Is virtualization a good choice for SQL Server? Denny Cherry http://www.mrdenny.com [email protected] twitter.com/mrdenny
Transcript
Page 1: Is virtualization a good choice for SQL Server ?

Is virtualization a good choice for SQL Server?

Denny Cherryhttp://[email protected]

twitter.com/mrdenny

Page 2: Is virtualization a good choice for SQL Server ?

2

About MeIndependent ConsultantFounder of SQL ExcursionsAuthor or Coauthor of 5 books8+ SQL Mag articlesDozens of other articlesMicrosoft MVPMicrosoft Certified Master

Page 3: Is virtualization a good choice for SQL Server ?

AgendaMajor Platform ChoicesBenefitsPitfallsDeciding FactorsLimits of VirtualizationManagement ToolsLicensing

Page 4: Is virtualization a good choice for SQL Server ?

Major Platform ChoicesVMware

ESX 1-3.5vSphere 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)

Page 5: Is virtualization a good choice for SQL Server ?

BenefitsHardware CostsInstant Server DeploymentFree Server Redundancy

Live Migration – Hyper-VvMotion - VMware

Easy System Upgrades

Page 6: Is virtualization a good choice for SQL Server ?

Balloon Memory DriversUsed by host OS to request memory back

from the guest OSPrevents host of from paging physical

memory to the hosts swap fileShould be enabledLock pages in memory should be disabled,

unless enabled for a specific reason

Page 7: Is virtualization a good choice for SQL Server ?

Memory Deduplication OptionsGreat for OS memoryDoesn’t work at all for SQL Server

Unless… multiple SQL Servers have the same pages in cache

Page 8: Is virtualization a good choice for SQL Server ?

Storage Configuration OptionsIO is the same if the disks are physical or

virtualUse automatic tier adjusting technology if

possibleOn EMC Arrays – FASTDell Compellent Arrays

Keep OS, data, logs, tempdb on separate disks if possible

Page 9: Is virtualization a good choice for SQL Server ?

Storage DeduplicationCan greatly improve overall performanceBy deduplicating OS virtual disks, we save

much less data to the arrayAs less data is written to the array, less OS

data is loaded into cache on the array

Page 10: Is virtualization a good choice for SQL Server ?

PitfallsShared CPUShared MemorySlow Disk Access timesAnother layer of ManagementStorage Path Flooding

Page 11: Is virtualization a good choice for SQL Server ?

Deciding FactorsDisk IO

IO Per SecondsCPU Load

CPU UsageCore CountsProcessor Queuing

Memory Usage

Page 12: Is virtualization a good choice for SQL Server ?

Virtualization LimitsBy default vMotion or Instant Failover

requires hosts have like CPUs models and matching instruction sets

Hyper-V doesn’t include memory de-duplicationIt does now, introduced in Windows 2008 R2

SP1

Page 13: Is virtualization a good choice for SQL Server ?

Management ToolsVMware requires vCenter to manage a clusterHyper-V has basic management tools included, including

integration with Windows Failover Cluster ManagerSystem Center Virtual Machine Manager (SCVMM) is

strongly recommended for managing Production EnvironmentsSCVMM 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.

Page 14: Is virtualization a good choice for SQL Server ?

vCenter Client

Page 15: Is virtualization a good choice for SQL Server ?

LicensingCAL based licensing doesn’t change

1 Server license per guest + CALs for usersCPU licensing

1 license for physical CPU used1 2008 R2 DCE CPU license for each CPU in

hostIf 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

Page 16: Is virtualization a good choice for SQL Server ?

Monitoring Hosts

Page 17: Is virtualization a good choice for SQL Server ?

Monitoring Hosts

Page 18: Is virtualization a good choice for SQL Server ?

Monitoring the GuestGuest CPU Load requires double checking

against the hostDisk IO rates are accurateDisk IO throughput should be confirmed with

the hostDisk Latency should be confirmed with the

host

Page 19: Is virtualization a good choice for SQL Server ?

Monitoring the Guest

Page 20: Is virtualization a good choice for SQL Server ?

Monitoring the Guest

Page 21: Is virtualization a good choice for SQL Server ?

Denny [email protected]

http://www.mrdenny.com


Recommended