note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category:...

63
SharePoint Server 2010 Step by Step Small Farm 3-tier Architecture Installation Guide – Instructions by Noorez Khamis on 6/13/2010 10:26 PM Category: SharePoint Click here to go the previous part of this article – Prerequisites I apologize in advance for the length of this post but I think it makes it much easier for everyone to read by having this on one web page. SharePoint 2010 Installation Instructions Let’s start with the installation on the Application Server. This is where I would normally want my Central Administration to be accessible from, especially if my web server is publically accessible. Application Server Install 1. Ensure all prerequisites from Hardware, Software, Miscellaneous and Service Accounts above 2. Make sure your media is available in the DVD drive of the server or accessible locally or a network share 3. Under Administrative Tools à Server Manager à Configure IE ESC, I normally turn it off for Administrators

Transcript of note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category:...

Page 1: note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category: SharePoint Click here to go the previous part of this article – Prerequisites.

SharePoint Server 2010 Step by Step Small Farm 3-tier Architecture Installation Guide – Instructions

by Noorez Khamis on 6/13/2010 10:26 PM

Category: SharePoint

Click here to go the previous part of this article – Prerequisites

I apologize in advance for the length of this post but I think it makes it much easier for everyone to read by having this on one web page.

SharePoint 2010 Installation Instructions

Let’s start with the installation on the Application Server. This is where I would normally want my Central Administration to be accessible from, especially if my web server is publically accessible.

Application Server Install

1. Ensure all prerequisites from Hardware, Software, Miscellaneous and Service Accounts above

2. Make sure your media is available in the DVD drive of the server or accessible locally or a network share

3. Under Administrative Tools à Server Manager à Configure IE ESC, I normally turn it off for Administrators

4. Under Control Panel à User Accounts à User Accounts à Change User Account Control settings, I normally set it to Never notify

Page 3: note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category: SharePoint Click here to go the previous part of this article – Prerequisites.

6. Click on and Install software prerequisites

Page 6: note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category: SharePoint Click here to go the previous part of this article – Prerequisites.

7. Click on Install SharePoint Server from the splash page

8. Enter your Product Key and hit Continue

Page 9: note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category: SharePoint Click here to go the previous part of this article – Prerequisites.

10. Choose a Complete Server Type and specify the File Location if applicable

Page 11: note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category: SharePoint Click here to go the previous part of this article – Prerequisites.

11. Once installed, Run the SharePoint Products Configuration Wizard now

Page 14: note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category: SharePoint Click here to go the previous part of this article – Prerequisites.

14. Enter the configuration database settings along with your username/password for your Farm Administration service account defined above in the prerequisites

Page 15: note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category: SharePoint Click here to go the previous part of this article – Prerequisites.

15. Enter a Passphrase (this is used to add servers to the farm at a later point) – don’t forget to log this somewhere!

Page 16: note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category: SharePoint Click here to go the previous part of this article – Prerequisites.

16. Specify a Port Number you would like to use (or use the default) for Central Administration and choose the authentication provider

Page 20: note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category: SharePoint Click here to go the previous part of this article – Prerequisites.

17. Once you hit Finish, it will automatically open the Central Administration website; click No to not participate in the Customer Experience Improvement program (unless you really want to!)

Page 21: note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category: SharePoint Click here to go the previous part of this article – Prerequisites.

18. You can configure the farm using the Wizard or manually, I would recommend using the Wizard (and disable the services you want after the install) but if you are confident you can just install the services you need manually

19. The first part of the configuration wizard is to select the services to run on the farm. As of SharePoint 2010 beta, there was a problem getting user profiles working without using the Farm Administration account, so I would advise using this account for now, I think it can be changed later without much work.

20. Select the farm administration service account from the dropdown and select the services you want to run on the farm and press ok

Page 22: note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category: SharePoint Click here to go the previous part of this article – Prerequisites.

21. If you now look at your SQL Server, you will notice a whole wack of new databases have been created

Page 23: note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category: SharePoint Click here to go the previous part of this article – Prerequisites.

22. At this point it will ask you to create your first SharePoint site configured at the port 80 web application. I usually skip this step because I want my own custom web applications to be created. Go ahead and create your own Web Application & Site Collection at this point if you like

23. At the end it will give you a completion screen notifying you of all the services that have been installed

24. The next step is to change the SharePoint Web Services Root application pool to run as the Farm Administrator account by changing it in advanced settings and starting it (note: I’m not sure if this is a bug or not as you would think this would be automatically done for you)

Page 25: note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category: SharePoint Click here to go the previous part of this article – Prerequisites.

25. Next start the Microsoft SharePoint Foundation Sandboxed Code Service (if you are allowing Sandboxed solutions on your farm). This can be found under Central Administration à Manage Services on server

26. Next configure the Search Service Application under Central Administration à Manage Services on server à Search Service Application à Search Service Applications

Page 26: note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category: SharePoint Click here to go the previous part of this article – Prerequisites.

i. Change the Default content access account to the domain service account that was created (optional) as well as the Contact e-mail address to the SharePoint Administrator defined in the prerequisites

Page 27: note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category: SharePoint Click here to go the previous part of this article – Prerequisites.

ii. Create a crawl schedule under Search Service Application à Content Sources à Local SharePoint Sites. I usually do a full crawl every day at midnight and incremental crawls every hour after that.

27. Next step is configuring the User Profiles. This is probably the trickiest part of the configuration. If something goes wrong here, there are many resources out there in the www to help you track down your issue and if needed, the best resource that I have found is by Spencer Harbar and outlined here: http://www.harbar.net/articles/sp2010ups.aspx

***Note make sure “replicate directory changes” is set for the farm administrator service account as defined above in the prerequisites.

Page 28: note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category: SharePoint Click here to go the previous part of this article – Prerequisites.

a. To start this user profile synchronization service, it seems that the farm administrator account needs to be a member of the local administrator group on the application server (Needs verification). Note: If you are just adding this account to the admin group now, you should restart the SharePoint Timer Service under startàrun àservices.msc before continuing

b. Under Central Administration à Manage Services on Server à start the User Profile Synchronization Service

c. Enter the credentials of the Farm Administrator Service Account defined in the prerequisites above and press Ok

d. Run IISReset from the run menu or command prompt

e. At this point, a timer job called ProfileSynchronizationSetupJob will run for a while which you can see at Central Administration à Monitoring à Check Job status

Page 29: note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category: SharePoint Click here to go the previous part of this article – Prerequisites.

f. You should wait until the service is completely started before proceeding

g. At this point, you should have the Forefront Identify Manager Service and the Forefront Identity Manager Synchronization Service running in your services.msc as your farm administrator account

h. Run iisreset in startàrun or from the command prompt (if you don’t do this you will get an error when you perform the next step that I outline here: http://www.khamis.net/blog/Lists/Posts/Post.aspx?List=6c8a23d1%2D47ea%2D47e5%2Db56f%2D2bc57cb95b93&ID=28 )

Page 30: note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category: SharePoint Click here to go the previous part of this article – Prerequisites.

i. Next step is to actually configure the User Profile Service Application under Central Administration à Manage service applications (click on the User Profile Service Application link)

j. Click on the Configure Synchronization Connections link under Synchronization

k. Create a New Connection

Page 31: note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category: SharePoint Click here to go the previous part of this article – Prerequisites.

l. Enter the appropriate settings for the synchronization connection:

i. Give the connection a name

Page 32: note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category: SharePoint Click here to go the previous part of this article – Prerequisites.

ii. Enter the domain controller name as per the prerequisites defined earlier (e.g. type nslookup from a computer on the domain) or enter the forest name (i.e. mydomain.com) and leave it on Auto discover domain controller (I would advise specifying the domain controller as I have had problems with auto-discover mode).

iii. Under account name/password use the farm administration account that has replicate directory rights as per the prerequisites defined earlier

iv. Press the Populate Containers button, select the containers you want synchronized and press ok. Be careful that the farm administration service account you specified as having replicating directory changes is applicable to the domain containers you select. Ensure that you only select the OU (i.e. SharePoint Users) that you want synched or else it will take a long time to complete the synch.

v. Iisreset at this point (might not be needed)

m. Next we want to start a full profile synchronization under Central administration à Manage Services on Server à User Profile Service Application à Start Profile Synchronization

Page 33: note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category: SharePoint Click here to go the previous part of this article – Prerequisites.

n. At this point, it will do a bunch of stuff in user profile synchronization, a little known fact is that you can actually see the progress via a shell that Microsoft has created located here: C:\Program Files\Microsoft Office Servers\14.0\Synchronization Service\UIShell\MSIISClient.exe. It has to go through a lot of successful steps before it completes:

Page 34: note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category: SharePoint Click here to go the previous part of this article – Prerequisites.

o. To see that the user profile synchronization actually worked go to Central Administration à Manage Service Applications à User Profile Service Application à Manage User Profiles and put your domain in the find box and it should show you a bunch of the user profiles that have been synched

Page 35: note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category: SharePoint Click here to go the previous part of this article – Prerequisites.

p. By default the user profile synchronization occurs every day at 1am but this can be changed under Central Administration à Manage Service Applications à User Profile Service Application à Configure Synchronization Timer Job

28. Set up outgoing email, under Central Administration à System Settings, Note: You need the Outbound SMTP server and from/to SharePoint administrator email address as defined in the prerequisites

Page 36: note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category: SharePoint Click here to go the previous part of this article – Prerequisites.

29. Optional - Set up incoming email, under Central Administration à System Settings, Note: You need the SMTP service setup locally on the Windows Server OS before this is done as defined in the prerequisites

Page 37: note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category: SharePoint Click here to go the previous part of this article – Prerequisites.

30. Setup My Sites under Central administration à Manage Services on Server à User Profile Service Application à Setup My Sites. Fill in all the properties according to your farm requirements.

a. What you can do here at this point is create a new web application to host your My Sites before configuring My Sites and point to it here

b. Also, create a web application/site collection that will host your preferred Search Center and point to it here

Page 38: note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category: SharePoint Click here to go the previous part of this article – Prerequisites.

c. Under Site Naming Format, I always to be on the safe side, set it to use Domain and user name

Web Server Install

Now that we have the main Application server up and running, the next step is to add the web server and in fact any other server to the farm

1. Ensure all prerequisites from Hardware, Software, Miscellaneous and Service Accounts above

2. Make sure your media is available in the DVD drive of the server or accessible locally or a network share

3. Under Administrative Tools à Server Manager à Configure IE ESC, I normally turn it off for Administrators

Page 39: note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category: SharePoint Click here to go the previous part of this article – Prerequisites.

4. Under Control Panel à User Accounts à User Accounts à Change User Account Control settings, I normally set it to Never notify

Page 40: note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category: SharePoint Click here to go the previous part of this article – Prerequisites.

5. Run the splash page

6. Click on and Install software prerequisites

Page 43: note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category: SharePoint Click here to go the previous part of this article – Prerequisites.

8. Enter your Product Key and hit Continue

Page 46: note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category: SharePoint Click here to go the previous part of this article – Prerequisites.

10. Choose a Complete Server Type and specify the File Location if applicable

Page 48: note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category: SharePoint Click here to go the previous part of this article – Prerequisites.

11. Once installed, Run the SharePoint Products Configuration Wizard now

Page 51: note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category: SharePoint Click here to go the previous part of this article – Prerequisites.

14. Enter the name of the Database Server and the Configuration Database name

Page 52: note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category: SharePoint Click here to go the previous part of this article – Prerequisites.

15. Enter the same Passphrase that was used when setting up the Application server

Page 53: note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category: SharePoint Click here to go the previous part of this article – Prerequisites.

16. If you want to host the Central Administration web site on this web server, you can do this under Advanced Settings, otherwise hit next

Page 56: note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category: SharePoint Click here to go the previous part of this article – Prerequisites.

17. When you hit Finish, it will open the Central Administration, again, I would advise using the Wizard

Page 57: note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category: SharePoint Click here to go the previous part of this article – Prerequisites.

18. The next step is to change the SharePoint Web Services Root application pool to run as the Farm Administrator account by changing it in advanced settings and starting it

Page 59: note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category: SharePoint Click here to go the previous part of this article – Prerequisites.

19. Once all your servers have been added to the farm, you should now select and deselect the services you would like to run on each web/application server under Central Administration à Manage Services on Server. This should clearly be thought out and planned beforehand as to which services should reside on which server based on their roles and perceived load. Notice the Server drop down from where you can select the server at the top right [12].

20. Just start and stop the services you need for each web or application server from this page

**Update**: There have been a lot of people asking which services to turn on and off for the application and web servers. Jeff Cate has just posted a great blog on SharePointSolutions.com [13] which talks about this. I have been trying to find a good reference for this for ages! In it he indicates that:

The web front end should have these services:

Microsoft SharePoint Foundation Web Application (this is what turns IIS into a SharePoint “page-serving” machine)

Search Query and Site Settings Service (the process that takes the user’s query string and looks it up in the index)

SharePoint Server Search Service (but just the functionality that is necessary for the query processor)

Page 60: note4share.files.wordpress.com€¦  · Web viewby Noorez Khamis on 6/13/2010 10:26 PM . Category: SharePoint Click here to go the previous part of this article – Prerequisites.

Central Administration (assuming you didn’t decide to move it to the Application Server)

And the application server should have:

Access Database Service

Application Registry Service

Business Data Connectivity Service

Excel Calculation Services

Managed Metadata Web Service

Microsoft SharePoint Foundation Incoming E-mail

Microsoft SharePoint Foundation Workflow Timer Service

PerformancePoint Service

Secure Store Service

SharePoint Server Search (but just the scheduled content crawling and indexing building functionality)

User Profile Service

Visio Graphics Service

Web Analytics Data Processing Service

Web Analytics Web Service

Word Automation Services

Word Viewing Service

The hardest part is adjusting the the search application topology, I suggest reading Jeff’s blog on SharePointSolutions.com [13] if you would like to do this.

And there you have it, a small 3-tier server farm using SharePoint 2010!

http://technet.microsoft.com/en-us/library/cc261752.aspx

http://technet.microsoft.com/en-us/library/ee667264.aspx