Upload
thomas-larock
View
1.457
Download
0
Embed Size (px)
DESCRIPTION
I have been involved in virtualization projects for about ten years now. In that time I have had the opportunity to track my own list of best practice items. It's a list I share freely with customers that seek out virtualization advice. I can tell that virtualization (and Cloud) efforts are on the rise simply by the number of requests I get for help, specifically for virtualizing SQL Server. I like to call this list my "facepalm" special, as any one of these essentially triggers a facepalm reaction. They have helped my customers in the past and I am certain they will help you.
Citation preview
Virtualizing SQL Server: 8 Things To Avoid
Thomas LaRockTechnical EvangelistConfio Software
• Don’t recycle old hardware for use as a new production host• If the hardware is old now, imagine how old it will be
in another 18 months• Due to licensing costs, it may be cheaper to buy new
hardware and provision as a host
1. Build Your Own
2http://www.confio.com/freetrial
• You need to set performance SLAs• You do this with baselines• Measure logical I/O and CPU costs for your queries
2. No Performance Expectations
3http://www.confio.com/freetrial
• RDM v VMDK; which one do you want?
• Know the differences in RAID as well
• Understand what can cause “noisy neighbor” syndrome
3. Select Wrong Disk Choice
4http://www.confio.com/freetrial
4. Thin Provisioning
5
• If you don’t have room now, what makes you think you will later?
• Important to know what you actual sizes are, otherwise recovery may be impossible
http://www.confio.com/freetrial
5. Over-allocation of Memory and/or CPU
6
• It leads to over-commit, which is often bad for performance
• Allow for 1.5:1 vCPU to logical core ratio
• Do not over allocate memory
http://www.confio.com/freetrial
6. Trusting O/S Counters
7
• Standard counters offer no visibility to the Hypervisor layer• Need to examine VM, Hyper-V specific counters• Understand if bottleneck is with host, guest, or internal to
database engine
http://www.confio.com/freetrial
7. Running It All At Once
8
• Important to know your workloads• vMotion can help• Leave room for growth and
movement
http://www.confio.com/freetrial
8. Capacity Planning
9
• Often a futile effort• Business needs shift quickly, throwing
out all your metrics that try to predict growth
• Need to have room to grow, otherwise planning won’t matter
http://www.confio.com/freetrial
• http://blogs.vmware.com/apps/2011/11/virtualized-exchange-storage-vmdk-or-rdm-or.html • http://
www.vmware.com/files/pdf/solutions/SQL_Server_on_VMware-Best_Practices_Guide.pdf
• Read more at confio.com/logicalread
For More Information
10http://www.confio.com/freetrial
• DPA will help correlate queries with VMWare metrics• Installs in minutes• Get answers in less than 5 clicks
Full interactive demo available athttp://www.solarwinds.com/database-management-software.aspx
Database Performance Analyzer Can Help!
11http://www.confio.com/freetrial