Wednesday, January 18, 2012 2:12 AMI 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.
Wednesday, January 18, 2012 2:23 AMModerator
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.
Wednesday, January 18, 2012 2:25 AM
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
- Proposed As Answer by Sid Kothari Wednesday, January 18, 2012 2:41 AM
- Marked As Answer by Wayne Fan Thursday, January 26, 2012 8:59 AM
- Unmarked As Answer by GuYumingMicrosoft Contingent Staff, Moderator Tuesday, May 01, 2012 5:43 AM
- Marked As Answer by GuYumingMicrosoft Contingent Staff, Moderator Tuesday, May 01, 2012 5:58 AM
- Unmarked As Answer by GuYumingMicrosoft Contingent Staff, Moderator Tuesday, May 01, 2012 8:11 AM
- Marked As Answer by Margriet Bruggeman Tuesday, May 22, 2012 7:20 AM
Tuesday, May 01, 2012 5:43 AMModerator
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?
- Marked As Answer by GuYumingMicrosoft Contingent Staff, Moderator Wednesday, May 23, 2012 2:57 AM