Install and configure Team Foundation Server
Azure DevOps Server 2020 | Azure DevOps Server 2019 | TFS 2018 - TFS 2013
Azure DevOps Server was previously named Visual Studio Team Foundation Server.
This topic, the third part of the Restore a Single-Server tutorial, teaches you how to install Team Foundation Server (TFS) using the Application-Tier Only wizard. You will also learn how to install the Extensions for SharePoint Products on the new server. Additionally, you will learn how to configure SharePoint Foundation, reporting, and analysis services to work with the new server.
Use this topic to:
- Install Team Foundation Server and the Extensions for SharePoint Products
- Configure SharePoint Foundation
- Configure reporting and Analysis Services
You must be a member of the following groups or have the following permissions:
- A member of the Administrators security group on the server.
- A member of the Team Foundation Administrators group.
- Either a member of the SQL Server System Administrator security group, or your SQL Server Perform Back Up and Create Maintenance Plan permission must be set to Allow.
- A member of the sysadmin security group for the databases for Team Foundation.
- A member of the Farm Administrators group.
Install Team Foundation Server and the Extensions for SharePoint Products
By restoring the databases that TFS uses, you have already restored the data tier of the original deployment. Now you must complete the restoration process by installing the application tier (the application and services that compose Team Foundation Server) by using the Application-Tier Only wizard. You must also install the extensions used by TFS and SharePoint Foundation by running the Extensions for SharePoint Products wizard, if your original deployment was configured with SharePoint Foundation.
To install the application tier and the extensions:
Open the administration console and start the configuration process.
If you don't see the administration console for TFS, you haven't installed the TFS software on the server. To learn how, go to Install Team Foundation Server.
Launch the application-tier only wizard.
Specify the name of the SQL Server where you just restored the databases and choose List Available Databases to populate the list. Choose the configuration database.
Provide the same service account information as used in the prior deployment, if possible.
Complete the wizard.
In the Configuration Center, choose Configure Extensions for SharePoint Products and complete that wizard to install the extensions.
Open the administration console, and in the Application Tier pane, update or refresh the URLs to reflect the new URLs for the restored server. Even if you have not changed the name or ports used for the restored server, you should reapply this information.
After finishing the update, verify that the URLS appear correctly.
Reapply the service account for TFS.
Configure SharePoint Products
After you install the application tier and the extensions, you must reconfigure the settings for the SharePoint web applications that your deployment uses.
To configure the settings for SharePoint web applications:
Open the administration console for Team Foundation.
In the navigation bar, choose SharePoint Web Applications.
In the SharePoint Web Applications list, highlight the web application used by the original deployment, and then choose Change.
Tip: By default, the web application should appear automatically in the listf web applications. If it does not, choose Add, and then add it manually.
The SharePoint Web Application Settings window opens. In Web Application URL and Central Administration URL, review the settings, and if necessary, specify or change the values to reflect the URLs on the new server.
When you are satisfied with the settings, choose OK.
For more information about how to configure SharePoint web applications as part of your deployment, see Add SharePoint products to your deployment.
Configure reporting and Analysis Services
After you have configured SharePoint Foundation, you must redirect Team Foundation Server to the location of the report server, restart the warehouse, and manually rebuild the database for Analysis Services, if your deployment used reporting.
Note: You must complete this procedure even if you restored the TFS_Warehouse and TFS_Analysis databases, as the previous section describes.
To reconfigure reporting and Analysis Services:
In the navigation bar for the administration console, choose Reporting.
On the Reporting page, choose Edit.
In the Take Offline dialog box, choose OK.
The Reporting dialog box opens.
Select the Use Reporting check box.
On the Warehouse tab, in Server, specify the name of the report server, and in Database, type the name of the warehouse database. Optionally choose Test Connection to verify that the database is valid.
On the Analysis Services tab, in the Server list, specify the name of the server that is running SQL Server Analysis Services. In Database, specify the name of the analysis services database, and in Account for accessing data sources, specify the username and password of the data sources account.
On the Reports tab, in the Server list, specify the name of the report server, and then choose Populate URLs. In Username and Password, specify the account name and password (if any) for the data sources account. In Default Path, specify the relative path for the location where reports are stored, and then choose OK.
In the administration console, choose Start Jobs to restart reporting.
Open a Command Prompt window, and then change directories to
Enter the following command to rebuild the database for Analysis Services:
TFSConfig RebuildWarehouse /AnalysisServices /ReportingDataSourcePassword: Password
Password is the password for the data sources account for Reporting Services.
Wait until the command is successfully completed.