Environment: SharePoint 2007 (standard) Intranet Publishing site on two-server small farm.

We need to be able to plan a shutdown operation and I thought that I would have to keep the two servers in synch when powering down.

THe STSADM 'quiescefarm' operation apparently only prevents Infopath forms (which we are not using) from being submitted:


Is the Central Admin 'Quiesce Farm' operation the same thing and what is the correct procedure to power down a SharePoint farm of more than one server and be sure that all writes are blocked and everything is kept in synch?

Currently, I'm turning off WWW service and powering down the WFE one first. Can't find a best practice for this...


The second sentence in your question has a faulty assumption, which means you are trying to solve a problem that doesn't really exist. There is no need to worry about "keeping the servers in sync".

You can shut down the servers in your farm in any order (and bring them back up in any order). You don't even need to worry about stopping individual services - just shut down the system. The worst that will happen is that you will get a lot of errors in your ULS and Event logs (if, for example the WFE comes up before the database).

The absolute cleanest way to do it would be in the following order:

  • WFEs
  • Application servers
  • Database servers

and then bring the servers back up in the reverse order.

When Forms Services (and possibly Excel services...I've seen conflicting documentation) are in use, they sometimes have sessions that go through multiple HTTP requests before committing a transaction to the database - this is where the quiesce farm command comes in. It allows session(s) to finish doing one of these multiple request transactions, but doesn't allow any new sessions. After all transactions are committed the Infopath (Excel?) services are offline and ready to be shut down as well.

Here is a blog post that goes into a little detail about what Quiesce farm is doing: http://vspug.com/johnwpowell/2007/07/13/quiescing-can-you-use-it-in-a-sentence/

You didn't talk about the end user experience part of this equation at all, but I will mention it for completeness. If you were to shut down a WFE in the middle of a user uploading a file or editing a list item - there wouldn't be any corruption of the WFE or database, but the end user is basically just dumped to an error page that doesn't really let them know what happened (or if there edit happened!). The way to deal with this would be to have something in front of SharePoint (a load balancer, even ARR on a separate server could do this) that would gracefully "drain" SharePoint of end user connections, and potentially redirect to a friendly error page until the site is back up.

| improve this answer | |
  • Thanks for the info. Initially we will do this outside hours and eventually schedule it; we have not gone live yet. +1 and marked as answer :-) – IrishChieftain Nov 11 '10 at 14:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.