Wednesday, January 12, 2011

Hot Fixing ,Disconnecting and Rebuilding Sharepoint Server 2010 Farm

I have four SharePoint servers 2010 connected to SQL Server 2008 R2 Clustered in one Farm and these servers are two for Crawling and Indexing Servers and two for front-end servers so the story start from here.
I have installed this hotfix in all four servers:
http://support.microsoft.com/kb/2459257/en-us
"Description of the SharePoint Server 2010 Cumulative Update Server Hotfix Package (MOSS server-package): December 31, 2010"

so after that I restarted all servers then I run Configuration Wizard to upgrade or apply these updates.
First server in the farm run smoothly without any problem and it has updated successfully so when i tried to run the Configuration Wizard for the second server i got a message that tell me i have to install the above hotfix in current server even i have installed on it.
So after long time search and tries i have decided to remove all servers from the configuration database farm and create new Farm so first thing i did
  • remove all servers from Central Administration  >> Servers in Farm and then remove server
  • also run this power shell command in each server  PSConfig -cmd configdb -disconnect
Now the current status all server updated by the installed hotfix so i run configuration wizard in the first server and i create new farm and database.
When i tried to connect or join the other server to the new farm by running the Configuration Wizard , still the Wizard Connect to Old Configuration Database or Update mode so the configuration will failed because i have deleted the old Configuration Database even if you try through powershell by using this command PSConfig -cmd configdb -connect
so again i get help from google for searching in the internet and i read this article
http://www.sharepointblues.com/2010/05/31/disconnecting-a-sharepoint-server-from-a-farm-when-the-config-database-is-missing/
"Disconnecting a SharePoint Server from a Farm When the Config Database Is Missing"
so i come across the idea to remove the following from the regedit
ConfigDb and FarmAdmin forlder
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\Secure


and i did it ( I know it's risk).
Then I run the configuration Wizard again to join the remaining servers and all joined and connected smoothly.

so maybe all this would not have happend if I had disconnected all servers from the farm then install the hotfix and then rejoin the servers to the farm to be all server in the same build version.

2 comments:

Anonymous said...

very great post...thank you

Anonymous said...

Well done good Post

Jerry