How to Reset (remove all configuration) a SharePoint Server 2010 Enterprise Farm

Answered How to Reset (remove all configuration) a SharePoint Server 2010 Enterprise Farm

  • Wednesday, January 18, 2012 2:12 AM
     
     
    I am in the process of establishing a new SharePoint farm for development/testing purposes.  The farm consists of 4 boxes (1 app, 2 web front ends, 1 SQL),  with SharePoint Server 2010, Enterprise.  I used a full backup of the production farm to do a restore in the new environment.  The aim is to make the new environment as close as possible to the prod environment.  Due to network issues outside of SharePoint the restore effort failed.  The farm needs to be 'reset' to its preconfigured state so that the restore process can start over again.  Is there a PowerShell method or some other method for setting the farm back to the just-installed state?  When I tried to delete some of the services using CA that were partially installed during the restore effort I get an error message in.  I would appreciate any input on how best to get the farm back to its post installation state so that I can try the restore again.  Your input is very much appreciated.
    VBCoder60

All Replies

  • Wednesday, January 18, 2012 2:23 AM
    Moderator
     
     Proposed Answer

    Here are the methods I use: http://sharepoint.nauplius.net/p/sharepoint-test-environments.html

    If you want to "reset" the servers, uninstall SharePoint, or reinstall the operating system on the WFE/App Servers.  On the SQL Server, just drop the SharePoint-related databases.


    http://sharepoint.nauplius.net
  • Wednesday, January 18, 2012 2:25 AM
     
     Answered

    Hi VBCoder60,

    There is a pretty easy way to accomplish this cleanly, provided you have SQL management console access...

    1. Log in to each of the SharePoint servers in the farm

    2. Run the SharePoint Configuration Wizard on each of the Web Front End servers and unjoin them from the farm. Provided no Web Apps were built outside of SharePoint's control, they should be automatically deprovisioned along with the web sites.

    3. Run the SharePoint Configuration Wizard on the App server, and choose to remove it as the last server in the farm.

    4. Go into SQL Management Studio and remove the Configuration, Content, and Service Application Databases.

    5. Rejoin servers and recreate the farm to your new specifications.

    Hope this helps,


    Troy Lanphier -- MCT/MCSE/MCITP SharePoint Server 2010 Administration -- Author: Microsoft SharePoint Foundation 2010 Inside Out -- http://blog.sharepointcookbook.com
  • Tuesday, May 01, 2012 5:43 AM
    Moderator
     
     Answered

    what do you mean by reset the configuration to a newly installed status?

    in SharePoint 2010, you can restore SharePoint configuration (http://technet.microsoft.com/en-us/library/ee428326.aspx).

    in SharePoint 2007, usually, you need to create a new farm and attach the content database. And in SharePoint 2010, you can also create a new farm. Is that what you mean by a newly installed status?