Tags: , , , | Posted by Andreas Vamvatsikos on 5/6/2011 4:11 PM | Comments (0)

So you decided to use the Farm configuration wizard, right after the SharePoint Product Configuration Wizard, to set up your farm.  Let me say this right from the start, this was a bad decision! The wizard should only be used if you are setting up a demo environment.

The good think is that if you used the wizard you ended up with a configuration that (seems to) work. To achieve this however the wizard makes some strange assumptions about how the farm should be configured. Some of these assumptions defy guidelines, even those published by Microsoft itself. The result being that sooner or later you will discover something in SharePoint  not working or failing and the reconfiguration work you will have to do in order to fix it, will be similar to initially configuring the farm manual.

So you shouldn’t use the wizard, but there are some very basic things you can correct after it is finished so that you do not have to face them in the future.  As an added bonus you will get functional mysites, search and profile import basics from the process. 

First of all you must change the search account. 

Create a new domain user account and then go to SharePoint 2010 Central Administration -> Application Management -> Manage Service Applications -> Search Service Application and click on the Default content access account (the wizard has used the Database Access account there). Change the account to the one you created.

Another good action to take is to separate your initial web application and site collection from My Sites and the User Profile Service Application. The wizard thinks they can all live happily together but in reality they cant.  This process has several steps:

Delete the MySites site collection that the wizard created. Co to  SharePoint 2010 Central Administration -> Application Management -> Delete a site collection. If you used the wizard then you are looking for the  “\my” site collection in the root (SharePoint – 80) web application.

Delete the preconfigured User Profile Service Application.  Co to  SharePoint 2010 Central Administration -> Application Management -> Manage Service Applications and click in the row of the User Profile Service Application so it gets selected (not on the title). The click the big delete button on the ribbon. (if you plan to reuse the database names you should go to the SQL Server management studio and delete the databases after this step completes)

Create a new web application. We will use it to host mysites and the new User Profile Service..  Co to  SharePoint 2010 Central Administration -> Application Management -> Manage Web Applications and click the New button on the ribbon. Create the new web application (make sure its port will be accessible) preferably in a new application pool.

Create a new site collection.  Co to  SharePoint 2010 Central Administration -> Application Management -> Create site collections. Select the web application you created in the last step and the “My Site Host” template from the Enterprise tab and create the site collection.

Create a new User Profile Service Application.  Co to  SharePoint 2010 Central Administration -> Application Management -> Manage Service Applications, click New in the Ribbon and select the User Profile Service Application from the drop down.  In the Profile Synchronization Instance setting provide the name of the server that will run the process and in the My Site Host URL setting provide the full URL  of the site collection you created in the previous step. Go on and create the service but be warned that it might take some time.  This is a good point to use your iisreset powers.

Start the service.  Co to  SharePoint 2010 Central Administration ->System Settings -> Manage Services on Server (for the server that should run the service) and from the list click the start link on the User Profile Synchronization Service row.

Fix User Profiles Searching .  Co to  SharePoint 2010 Central Administration -> Application Management -> Manage Service Applications-> Search Service Application. From the left menu select content sources and from the drop down of the Local SharePoint Site list entry, select edit.  Go to the start addresses configuration option and make sure it includes all your site collections. Change the ssp3: line to point to the new user profile web application!

Add your search account to the User Profile Service Application: Go to Central Administration - Application Management -> Manage Service Applications-> highlight your new User Profile Service Application and click the Administrators button on the ribbon. Add the new search account set in the beginning as an “administrator” (you can give it full control or just the permissions that make sense but you must definitely give it the “retrieve people data…” permission. Again iisreset powers must be used!

(as a side note to get the User Profiling Service to work you will need a domain account with the Replicate Directory Changes access right. There is no workaround or alternative in SharePoint 2010, your admin will just have to get used to this. This extract from the TechNet documentation is clear http://technet.microsoft.com/en-us/library/ee721049.aspx)

As a final step go to Security->Configure Service Accounts and review the decisions the wizard made on which users must run what services. They are not optimal, check with TechNet to fine tune them.


If next time you decide  to do the right thing and do it manually from scratch there is an excellent blog post  by Spencer Harbar (http://www.harbar.net/articles/sp2010ups.aspx)   to help you with user profiles and searching. The TechNet guide has all the details as well (http://technet.microsoft.com/en-us/library/ee721049.aspx

Add comment

  Country flag
  • Comment
  • Preview