Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 7,2000
»
Administration
»
SQL Server on a virtual server
39 posts, Page 1 of 4
1
2
3
4
»
»»
SQL Server on a virtual server
Rate Topic
Display Mode
Topic Options
Author
Message
Majid-454469
Majid-454469
Posted Wednesday, November 14, 2007 6:06 AM
Valued Member
Group: General Forum Members
Last Login: Wednesday, April 27, 2011 8:32 AM
Points: 55,
Visits: 149
Hi,
I'm collecting information, recommendations about advantages and disadvantages of usage a virtual server for a
SQL Server in production
environment.
Do you any test results or benchmarks regarding performance, security, availability and so on?
Thanks
Post #422058
Steve Jones - SSC Editor
Steve Jones - SSC Editor
Posted Monday, November 26, 2007 10:56 AM
SSC-Dedicated
Group: Administrators
Last Login: Yesterday @ 9:03 PM
Points: 31,406,
Visits: 13,723
I haven't seen any, but I'm looking for some.
There is one from VMWare, but since they're selling virtual software, not sure how much to trust it:
http://www.vmware.com/files/pdf/SQLServerWorkloads.pdf
Follow me on Twitter:
@way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
Post #425897
Linda Johanning
Linda Johanning
Posted Tuesday, November 27, 2007 1:20 PM
Old Hand
Group: General Forum Members
Last Login: Monday, May 13, 2013 11:26 AM
Points: 330,
Visits: 510
I don't recommend a VMWare instance for a production SQL Server. A virtual machine only gets a portion of disk space, memory, and CPU so performance isn't very good. We had a SQL Server test environment set up and performance was such an issue that it is no longer used. I think virtual instances might be ok for testing functionality only, but I would never use it in production.
Post #426579
Donald Denney
Donald Denney
Posted Tuesday, February 09, 2010 2:59 PM
Forum Newbie
Group: General Forum Members
Last Login: Friday, June 25, 2010 7:57 AM
Points: 6,
Visits: 15
That's a bit of a generalization, and not really accurate anymore. Virtualization has improved considerably recently, and many production databases perform quite well on a virtual machine.
So the answer is really, it depends on the production database. What are it's requirements for I/O throughput, CPU usage, etc. There are some advantages to using Virtualizaton and also some disadvantages.
If you use pass through storage with a dedicated HBA, the only real tricky part that I have found is the allocation of CPU resources. That's the one part of VMWare that still in my opinion still has some issues that can make performance tuning tricky.
There is a very useful white paper on SQL Server Consolidation, and this includes using Virtualization to consolidate.
Here is the information about the paper:
Consolidation Using SQL Server 2008
SQL Server Technical Article
Writer: Allan Hirt, Megahirtz LLC (allan@sqlha.com)
Technical Reviewers: Lindsey Allen, Madhan Arumugam, Ben DeBow, Sung Hsueh, Rebecca Laszlo, Claude Lorenson, Prem Mehra, Mark Pohto, Sambit Samal, and Buck Woody
Post #862760
Ed Zann
Ed Zann
Posted Wednesday, February 10, 2010 9:29 AM
SSC-Addicted
Group: General Forum Members
Last Login: Friday, May 17, 2013 6:46 AM
Points: 470,
Visits: 1,050
We have about half of our production SQL servers on VMWare. For the most part these are systems that are not highly transactional. I've really had no issues with them over the past couple of years. In the beginning we did have to be careful about which applications shared the same VM host. Things also got better when we began to use SAN as the disk storage medium.
One really nice plus is the ability to clone the VM to create a Dev or Test environment.
Post #863389
GTR
GTR
Posted Wednesday, February 10, 2010 9:39 AM
Old Hand
Group: General Forum Members
Last Login: Wednesday, April 17, 2013 3:15 PM
Points: 389,
Visits: 351
I agree with Linda, we have SQL instances on Virtuals in Test Environment for more than two years. We had problems with Virtuals Host failing which brings down all viruals hosted on that server. I wouldn't recommend using Virtuals in Production environment, no chance.
EnjoY!
Post #863398
Joie Andrew
Joie Andrew
Posted Wednesday, February 10, 2010 2:56 PM
Mr or Mrs. 500
Group: General Forum Members
Last Login: Monday, May 06, 2013 5:58 AM
Points: 535,
Visits: 1,010
I agree with Donald Denney on this. I went to an England PASS meeting on this two years ago, and the answer was "it depends". The biggest issue with virtualization tends to be capacity planning. If the physical box is configured correctly and the SQL server being virtualized does not have demands that will bring other VMs on the box down, then I believe it can be done safely. Not only that, but for things like SSRS and configuration databases that do not change much, it is probably a good solution for them.
On the other side of the coin though, I do not think that mission critical databases should go on them. There is a lot that I have read about the features of virtualization, but a lot of it has been stated without real-world data, so that leads me to believe they are selling proof-in-concept solutions, which I do not want to risk with my critical data. Also, some features such as virtualization snapshots are not supported by Microsoft under any vendor, including MS. I also do not think that it would be able to handle a replicated environment well either.
The choice is yours, but I tend to think of mission critical heavy OLTP instances as the last ones to be virtualized, if at all.
Joie Andrew
"Since 1982"
Post #863667
Donald Denney
Donald Denney
Posted Wednesday, February 10, 2010 3:21 PM
Forum Newbie
Group: General Forum Members
Last Login: Friday, June 25, 2010 7:57 AM
Points: 6,
Visits: 15
I'm not a Windows Administrator, so I don't know all of the details or pitfalls related to making VM stable. I do know that we have very little problem with our Virtual Machines staying up or being stable.
Partly that might have to do with a product called "VMotion", which not only can be used to migrate Virtual Machines to other Physical "ESX" frames, but will automatically fail those machine over to other frames in the result of failure.
I've seen where an ESX frame went down, and the Virtual Machines on there migrated to several other frames, with VMotion deciding where they should go based on resource availability and resource needs, and the people using the Virtual Machines had no idea they had even migrated. There is some performance degradation while this happens, but it's much more seamless that failover within a Microsoft Cluster.
Not only does the database instance not shutdown, but the windows OS never "shuts down". It's pretty impressive.
I do have misgivings about he ability of the VM environment to provide truly reliable, consistent resources without adversely impacting performance. For that reason, I too am leery of putting anything too mission critical or performance sensitive on them, especially something that is truly resource intensive.
I started out being a pretty big VM sceptic myself to be honest, but over time I've been shown that a lot of my original fears unfounded.
Post #863682
Michael Valentine Jones
Michael Valentine Jones
Posted Wednesday, February 10, 2010 3:31 PM
SSCrazy
Group: General Forum Members
Last Login: Friday, May 17, 2013 3:14 PM
Points: 2,941,
Visits: 10,481
We have about 50 SQL Servers on VMs, mostly production, but some are development. We do not generally put highly loaded servers on VMs, but they are great for "one off" special purpose servers.
I would say that as long as the VM environment is well managed, that there is no problem. In general, our VM servers have no more downtime than "real" servers.
It saves a lot of management effort and money to be able to do physical to virtual migrations for older servers, rather than keeping them on hardware maintenance contracts or replacing them with new hardware. Being able to move from older, failing hardware without having to reinstall OS, SQL,and application software is a huge time saver, especially when it is older software that is not well supported.
Post #863687
paul.aasmundstad
paul.aasmundstad
Posted Thursday, February 11, 2010 8:17 AM
Forum Newbie
Group: General Forum Members
Last Login: Monday, July 23, 2012 10:01 AM
Points: 2,
Visits: 99
Multi-instancing is IMHO a superior approach. You get hardware and licensing consolidation, streamlined patch/sp processes, a true picture of hardware level metrics, and a better optimization routine for parallel or heavy loads. Unless you NEED distinct operating environments, there is no reason to pursue VM vs. multi-instancing. Since we don't like to share IO or other resources with other kinds of servers, are mindful of HBA limits, and want "true" resource pictures for performance tuning and capacity planning, we'd prefer to not to go down that route. Ideas of using host migration for SQL servers to me is not good - if you are improperly balanced at the ESX level, this technology covers up your more fundamental design problem. Sometimes SQL servers will have heavy load (indexing, jobs, etc) - I don't want that to overload my host, and if I do, I want more resources permanently, not temporarily by moving the server. Otherwise you end up with round robin server migrations instead of solving the problem.
VM is a great way to sell SAN storage, save rack space, get more utilization out of unver-used resources, and cover up capacity/performance planning mistakes. None of which have anything to do with what I am concerned with as a DBA. However, I think you'll find multi-instancing meets the consolidation and cost saving goals of VM, but in a way that keeps performance, manageability, and responsibility in the hands of the DBA.
Post #864093
« Prev Topic
|
Next Topic »
39 posts, Page 1 of 4
1
2
3
4
»
»»
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.