February 01, 2012 06:00 AM

Top 10 SharePoint 2010 Configuration Mistakes -- and How to Fix Them

Clean up configuration errors and put SharePoint in tip-top shape
SharePoint Pro
InstantDoc ID #141636
Rating: (4)

Microsoft SharePoint 2010 is a complicated beast, with more knobs and levels than you can shake a stick at. It's no wonder we get some of them wrong from time to time. Over the past year and a half of installing SharePoint 2010, I've seen quite a few configuration mistakes, mostly at my own hands. In this article, I'll cover 10 of these errors. I'll explain what the correct configuration is, why it's correct, and how to correct the setting in your farm. If you make all the changes in this article, you'll have the beginnings of a beautiful farm -- and one less likely to be ridiculed by your friends and neighbors.

Mistake #1: Scrimping on SharePoint's RAM or Hard Disk Space

If I've seen it once, I've seen it a hundred times: a poor, defenseless SharePoint server working as hard as it can to keep users happy, but having its hands tied because of limited resources. This situation is usually a casualty of aggressive virtualization. Virtualization itself isn't bad, but it must be done intelligently and without sacrificing SharePoint's ability to do its job.

If SharePoint finds itself starved for RAM, it starts shutting off functionality so that it can fit into the available space. It also caches less in the web application pools and recycles those pools more often. Less caching and more recycles result in a degraded end-user experience, as SharePoint must compile the same ASP.NET code over and over. And no one likes unhappy users, not even their mothers.

The solution to this particular issue is easy: Add RAM. Microsoft has published the hardware requirements for SharePoint 2010 in the TechNet article "Hardware and software requirements (SharePoint Server 2010)."  These requirements state that at the very least, each SharePoint 2010 production server should have 8GB of RAM and a C drive with at least 80GB. In many cases, that won't be enough. If your servers are in production, you can watch their memory utilization to see whether they use the entire 8GB of RAM. If so, they could use more. If your servers are not yet in production, you can use a variety of load-testing tools to simulate your intended load and see how the servers hold up. For example, you can download the Microsoft Load Testing Kit, part of the SharePoint Administration Toolkit.

As for your C drive, SharePoint itself doesn't need much space, but Windows does. After all, your server has several years of Windows patches to look forward to. While you're adding drive space to your machine, consider adding a secondary drive as well. This drive is a great place to store all the files that you use when you install SharePoint. All the third-party installation files can go there too. You can also have SharePoint put its log and Search index files on this drive. This approach takes some pressure off the C drive. Happy C drive and happy end users equal a happy SharePoint server administrator.

Mistake #2: Using Virtualized Microsoft SQL Server

As I said in mistake #1, virtualization isn't bad. But virtualization allows administrators to make mistakes on a much grander scale. Take virtualizing SQL Server. In the context of SharePoint, this process can be especially painful. The main mistake I see when virtualizing SQL Server is overcommitting the host, be it through RAM, CPU, or drive space. Because everything in SharePoint is stored in SQL Server, if SQL Server is slow, SharePoint is slow.

The obvious solution is to move SQL Server to a physical box, on which it doesn't need to share resources. Moving SharePoint's SQL Server instance is easy, thanks to aliases. I've outlined this process, with pictures, at www.toddklindt.com/sqlalias.

If you can't get a physical SQL Server box, then at the very least ensure that your virtualized SQL Server instance has a fighting chance. First, make sure that its virtual drives aren't thin provisioned. I/O is one of the areas in which virtualized SQL Server struggles the most, and thin-provisioned drives exacerbate that problem. Also try to put the SQL Server guests' virtual drives on their own spindles on the host. Doing so should improve I/O by preventing SQL Server from fighting other guests for time with the drives. Finally, you shouldn't allow the virtualization host to overcommit its RAM. If the host must swap to meet its RAM obligations, then it's slowing down SQL Server.

Brent Ozar has recorded a brilliant video on how best to virtualize SQL. Go get some wine and pizza, invite your fellow SharePoint admins, dim the lights, and watch that video. You'll learn a lot.

Related Content:

ARTICLE TOOLS

   
Comments
  • Per Birk
    3 months ago
    Feb 15, 2012

    In Mistake #6 Using one Account for Everything the last link - How to create a SharePoint 2010 admin account and stop using sp_farm - is broken.

    The right link is:

    http://www.toddklindt.com/blog/Lists/Posts/Post.aspx?List=56f96349%2D3bb6%2D4087%2D94f4%2D7f95ff4ca81f&ID=259&Web=48e6fdd1%2D17db%2D4543%2Db2f9%2D6fc7185484fc

  • ofergal
    3 months ago
    Feb 02, 2012

    Don't you think #5 and #6 contradict each other a bit? :-)

  • mculp
    3 months ago
    Feb 02, 2012

    Todd,

    This is a great article. Thanks for taking the time to write and share it. Some of the "mistakes" read more like "best practices" - is there a recommended article for first time setup of a small corporate portal - intranet one one server and extranet on another. The Microsoft guidance leads the installer to many of the "mistakes" - might as well catch them ahead?

    Editor: check the first sentence after the "Everybody Makes Mistakes" section header - missing a "many" in there? I guess it proves the Section's title!

    Great work again and thanks!
    Mike

You must log on before posting a comment.

Are you a new visitor? Register Here
   
   

Dan Holme's Viewpoint on SharePoint Blog

Office 365 Plan for Pain

With cloud services, even Office 365, what you don’t know about your cloud service can hurt you,...

SharePoint News and Products

Let SharePoint Be SharePoint: Making Social Collaboration Secure

Hesitant about unleashing SharePoint's social features? SharePoint security vendors aim to help....

Dan Holme's Viewpoint on SharePoint Blog

Microsoft SkyDrive Updates in the News

Microsoft's cloud storage, sharing, and collaboration platform for Windows Live is updated,...