Add a Web or application server to the farm (SharePoint Foundation 2010)
Applies to: SharePoint Foundation 2010
This article describes how to add a server to an existing Microsoft SharePoint Foundation 2010 farm so the server can later be configured for use as a front-end Web server or as an application server. The procedures in this article apply to a SharePoint Foundation 2010 farm that consists of at least two tiers; they are not intended to be used for converting a single server deployment to a multiple server farm.
In this article:
Preparation
Planning and preparation is required before you add a server to the farm. There are several tasks that fall within the scope of planning and preparation. The first task is to determine the role that the new server will in the farm. After you complete this task there are additional tasks to complete before you begin installing software on the new server.
Determine server role
In order to add a new server to the farm you must know its intended role in order to plan for additional or specialized configuration as well as assess the potential impact of adding the server to a production environment.
Note
In a typical three-tier farm, there are front-end Web servers, an application server that also hosts Central Administration, and a database server. The scope of this article is the front-end Web server and application server roles.
After you determine the role that the server will have in your farm topology you need to identify the services and features that must be configured in order for the server to meet this role. This information will determine how SharePoint Foundation 2010 is configured in order to provision the server for its role in either the Web tier or the application tier. For more information, see Service application and service management (SharePoint Foundation 2010).
The following illustration shows a SharePoint Foundation 2010 farm with two front-end Web servers (Web-1 and Web-2) that serve content. The only application server (App-1) hosts Central Administration for the farm.
Options for adding a server to a farm
The following sections provide information about the general characteristics of the front-end Web server and application server roles.
Front-end Web server role
The fundamental role of a front-end Web server is hosting the Web pages, the Web services, and the Web Parts that are necessary to process requests received from users. The Web server directs these requests to the application server, which returns the results to the front-end Web server.
Depending on farm requirements, the front-end Web server may also be configured to support search in scenarios where there are not any dedicated search servers.
Note
Distributing search is not an option for SharePoint Foundation 2010, where only a single search instance is permitted for each content database.
In a SharePoint Foundation 2010 farm you can scale out the Web tier by adding a front-end Web server; shown by option A in the preceding illustration. Adding a third server improves load balancing and increases front-end Web server availability. A three server deployment on the Web tier is called a stretched farm.
Application server role
In a three tier farm, the server that hosts Central Administration is by default, an application server. You can add application servers to host services that can be deployed to a single server and used by all the servers in a farm.
Referring to the SharePoint Foundation 2010 farm illustration, option B is to configure the new server with Central Administration so you can add redundancy to the farm. Option C shows additional options, such as hosting timer jobs or the sandbox code service.
Additional tasks
Before you start installing prerequisite software on the server you need to:
Verify that the new server meets the hardware and software requirements described in Hardware and software requirements (SharePoint Foundation 2010).
Note
As a best practice, we recommend the operating system on the new server should be at the same service pack level and have the same security updates and other hotfixes as the existing farm servers.
Verify that you have the minimum level of permissions required to install and configure on the new server. You must be a member of the Farm Administrators SharePoint group and the Administrators group on the local server computer to complete the procedures in this article. For more information, see Initial deployment administrative and service accounts (SharePoint Foundation 2010).
Verify that you know the name of the database server that the farm you are connecting to uses, as well as the name of the configuration database if you are adding the server by using Windows PowerShell commands.
If you intend to use Windows PowerShell commands to add the server, verify that you meet the following minimum requirements: You are a member of the SharePoint_Shell_Access role on the configuration database and a member of the WSS_ADMIN_WPG local group on the computer where SharePoint 2010 Products is installed.
Document the location of the SharePoint Foundation 2010 binary and log files on the existing farm servers. We recommend that the location of these files on the new server map to the locations used on the other servers in the farm. For more information, see Configure diagnostic logging (SharePoint Foundation 2010).
Important
If you change the trace log path to a non-system drive, this location must exist on all the servers in the farm. Existing or new servers cannot log data if the location does not exist. In addition, you will not be able to add new servers unless the path you specify exists on the new server. You cannot use a network share for logging purposes.
Install prerequisite software
Before you can install SharePoint Foundation 2010 and add a server to the farm you must check for, and install all the prerequisite software on the new server. This is done by using the SharePoint Foundation 2010 Preparation Tool, which requires an Internet connection to download and configure SharePoint Foundation 2010 prerequisites. If you do not have an Internet connection for the farm servers, you can still use the tool to determine what software is required. You will have to obtain installable images for the required software. For installation locations, see Installing software prerequisites in "Determine hardware and software requirements (SharePoint Foundation 2010)."
Tip
After you obtain a copy of the required software, we recommend that you create an installation point that you can use for storing the images. You can use this installation point for installing future software updates.
For detailed instructions about how to install the prerequisites, see "Prepare the farm servers" in the Multiple servers for a three-tier farm (SharePoint Foundation 2010) article.
Install the SharePoint Products software
After all the prerequisites are installed, use the following procedure to install SharePoint Foundation 2010 on the new server. For detailed instructions about how to install SharePoint Foundation 2010, see Deploy a single server with SQL Server (SharePoint Foundation 2010).
To install SharePoint
From the product media or a file share that contains the SharePoint Foundation 2010 Products installation files run Setup.exe.
On the Start page, click the link to install SharePoint Foundation 2010.
Review and accept the Microsoft License Terms.
Select a Server farm installation and then select a complete installation.
Note
You can choose to install only the components required for a front-end Web server. However, by using a complete installation you have more flexibility in re-purposing the server role in the farm at a later time.
Accept the default file location where SharePoint Foundation 2010 will be installed or change the installation path to suit your requirements.
Note
As a best practice, we recommend that you install SharePoint Foundation 2010 on a non-system drive.
When Setup finishes, a dialog box prompts you to complete the configuration of your server by running the SharePoint Products Configuration wizard. You can start the wizard immediately or from the Windows command prompt later.
Add the server to the farm
You can a server to the farm by using the SharePoint Foundation 2010 user interface or by using Windows PowerShell. Both approaches are described in the following procedures:
Add a server by using the user interface
Add a server by using Windows PowerShell
Use the following procedure to add the server to the farm by using the configuration wizard.
To add a server by using the user interface
On the new server, click Start, point to All Programs and then click Microsoft SharePoint 2010 Products Configuration Wizard.
On the Welcome to SharePoint Products page, click Next.
On the Connect to a server farm page, click Connect to an existing server farm.
Click Next.
On the Specify Configuration Database settings page, type the name of the instance of SQL Server in the Database server box, and then click Retrieve Database Names.
Select the name of the configuration database in the Database name list, and then click Next.
On the Specify Farm Security Settings page, type the name of the farm passphrase in the Passphrase box, and then click Next.
On the Completing the SharePoint Products Configuration Wizard page, click Next.
On the server that hosts Central Administration, click Manage servers in this farm to verify that the new server is part of the farm.
Note
You can also verify a successful server addition, or troubleshoot a failed addition by examining the log files. These files are located on the drive on which SharePoint Foundation 2010 is installed, in the %COMMONPROGRAMFILES%\Microsoft Shared\Web Server Extensions\14\LOGS folder. For more information, see Health monitoring (SharePoint Foundation 2010).
On the Servers in Farm page, click the name of the new server. Use the list of available services on the Services on Server page to start the services that you want to run on the new server.
Configure SharePoint Foundation 2010 so the new server can accommodate the role it was intended for. For more information, see Configure the new server.
Before you begin adding the server by using the following Windows PowerShell procedure, install SharePoint Foundation 2010 using the setup program.
To add a server by using Windows PowerShell
On the Start menu, click All Programs.
Click SharePoint 2010 Management Shell. At this point you can issue the following commands to add the server to the farm.
At the Windows PowerShell command prompt, type the following command to connect the server to a configuration database:
Connect-SPConfigurationDatabase -DatabaseServer "<$DatabaseServer>" -DatabaseName "<$RunSettings.ConfigurationDatabaseName>" -Passphrase "<$Passphrase>"
Where:
<$DatabaseServer> is the name of the server that hosts the configuration database
<$RunSettings.ConfigurationDatabaseName> is the name of the configuration database
<$Passphrase> is the passphrase for the farm
At the Windows PowerShell command prompt, type the following command to install the Help File Collections:
Install-SPHelpCollection -All
At the Windows PowerShell command prompt, type the following command to install the Security Resource for SharePoint:
Initialize-SPResourceSecurity
At the Windows PowerShell command prompt, type the following command to install the basic Services:
Install-SPService
At the Windows PowerShell command prompt, type the following command to install all the features:
Install-SPFeature -AllExistingFeatures
At the Windows PowerShell command prompt, type the following command to install Application Content:
Install-SPApplicationContent
At the Windows PowerShell command prompt, type the following command to get a list of servers in the farm.
Get-SPFarm | select Servers
Note
You can also verify a successful server addition, or troubleshoot a failed addition by examining the log files. These files are located on the drive on which SharePoint Foundation 2010 is installed, in the %COMMONPROGRAMFILES%\Microsoft Shared\Web Server Extensions\14\LOGS folder. For more information, see Health monitoring (SharePoint Foundation 2010).
Configure SharePoint Foundation 2010 so the new server can accommodate the role it was intended for. For more information, see Configure the new server.
Configure the new server
The new server has no real functionality in the farm until you configure the services that are required to support the role that you planned for the new server. For more information, see Configure services (SharePoint Foundation 2010).