sitelink1 https://blogs.msdn.microsoft.com/tfssetu...harepoint/ 
sitelink2  
sitelink3  

This is a walkthrough of TFS 2013 upgrade to TFS 2015 on a new hardware. During this upgrade our TFS 2013 server would be untouched and we would migrate all components (TFS, SharePoint and Reporting) to a new hardware which would be used by TFS 2015.

 

Note: This post provides a general guidance and some steps may vary depending on your environment.

 

In this post I am upgrading from TFS 2013 QU5 to TFS 2015, but steps would be almost same for other versions also.
Steps to upgrade SharePoint, however may differ from version to version.

 

Environment Details:

TFS 2013 environment

Windows server 2012 R2, TFS 2013 update 5, SQL 2014 SP1, SharePoint 2013 SP1

TFS 2015 environment

Windows server 2012 R2, TFS 2015 RTM, SQL 2014 SP1, SharePoint 2013 SP1 

 

Permission Requirements: 
The Account running the upgrade needs to have the following permissions for SQL, SharePoint, TFS, and server. 

-Local Administrator on the Application Tier. 
-Sysadmin on SQL Instance.
-Local Administrator on Reporting Tier as well. 
-SharePoint Farm Administrator.

 

Upgrade Process:

In this migration upgrade scenario, the requirement for operating system, SQL server and SharePoint remains same for both the versions of TFS. Refer here more information.

You must use the TFSServiceControl command to ensure that all necessary operations, services, and application pools are stopped for maintenance tasks. Find more info here. (this is needed to ensure that while backing up TFS databases all databases are in consistent state)

Please note, on my server I backed up following databases from 2013 environment, databases names and number of databases may vary from environment to environment.

Backup all the databases from TFS 2013, the databases to backup are listed below.

  1. The Configuration Database (For instance, Tfs_Configuration). This database stores the catalog of resources and the configuration information for Team Foundation Server. This database contains the operational stores for Team Foundation Server.
  2. The Collection Database(s) (For instance, Tfs_DefaultCollection). This database stores data from all team projects in that collection. (you can have multiple collection databases)
  3. The Warehouse Database (For instance, Tfs_Warehouse). This database stores the data for reports.
  4. The Analysis Database (For instance, Tfs_Analysis). This multi-dimensional database stores the aggregated data from team project collections.
  5. Report Server Databases (For instance, ReportServer and ReportServerTempDB). The report server database stores application state and persistent data. Each report server database uses a related temporary database to store session and execution data, cached reports, and work tables that are generated by the report server.
  6. SharePoint Content Databases (For instance, WSS_Content). This database stores all the content related to the application.

000.png

 

 

Note: SharePoint_Config and SharePoint_AdminContent database are created when SharePoint is installed and configured. So, the only database to backup is WSS_Content for SharePoint.

Also, you have to back up the Encryption keys of ReportServer database.

Open Reporting Services Configuration Manager to take backup of the encryption key. Enter server and report server instance name and click connect.

001.png

 

 

002.png

 

 

Select Encryption Keys and click on Backup. Specify the file location to store backup of key. Enter password and click ok.

003.png

 

 

Following are the screens of the installation and upgrade process,

Step 1: Installing SQL server and restoring databases.

On the new server, install SQL Server 2014. For step by step instructions on how to install SQL Server, refer here.

Once we’ve installed SQL Server, using the SQL Server Management Studio, connect to the database engine and restore all the databases. Also, connect to the Analysis engine and restore Analysis Database.

004.png

 

 

Step 2: Configuring Reporting.

After restoring the reports database, we need to change databases in Reporting Services Configuration Manager.

Select Database on the left panel and click on Change Database.
Choose an existing report server database. Click on Next.

 

005.png

 

 

Specify server name and Test Connection. Click on Next.

006.png

 

 

 

Select ReportServer database from the drop down and click next.

007.png

 

 

 

Review and complete the wizard.

008.png

 

 

 

 

009.png

 

 

After changing the database, we need to restore the encryption key.
select the encryption keys in the left panel, click on restore. Enter the file location and password.
010.png

 

 

011.png

 

 

Select Report Manager URL in the left panel and click on the URL to see if Reports are configured properly. (please ensure that reports manager page is coming up fine before proceeding, any issue with reports can lead to reports not working after upgrade and may require additional steps post upgrade)

012.png

 

 

(Below steps are for SharePoint installation configuration, you can skip them if you are not using SharePoint with TFS).

Step 3: Installing and Configuring SharePoint.

Click on Install software prerequisites, it will all the required files. Upon completion, click on Install SharePoint Server.

013.png

 

 

Select complete as the server type and click on install now. This will install all the binaries.

 014.png

 

Check run the SharePoint Product Configuration Wizard now and click on Close.

015.png

 

 

Click on next.

016.png

 

 

Configuring a new farm would require reset of some services. Click on Yes to confirm.

017.png

 

 

Select Create a new server farm and click on next.

018.png

 

 

Enter the database server name and specify the database access account.

019.png

 

 

Enter the passphrase, which is used to secure farm configuration data and to join the farm.

020.png

 

 

Specify any available port. The SharePoint central administrator will use this port.

021.png

 

 

Review and click on next.

022.png

 

 

023.png

 

 

Click on finish to complete configuration.

024.png

 

 

Now that we’ve configured SharePoint, go to SharePoint Central Admin page, give the admin credentials.

In SharePoint central Admin, click on manage web application under Application Management.

025.png

 

 

Click on New to create new web application. Specify the web site name and port number. Also, specify the credentials and click on ok.

026.png

 

 

Click on Manage Content Database from Central Administrator site. Select the web application we created and check Remove content database. (this is to remove the new content database which was created while creating new web application. We would attach the content database which we migrated from TFS 2013 environment). 027.png

 

 

Open SharePoint 2013 Management shell and use Mount-SPContentDatabase to attach the old content database. Refer here.

028.png

 

 

Step 4: Configure Team Foundation Server.

Install TFS 2015 binaries by running tfs_server.exe application. Click on Install.

029.png

 

 

This process will install the required binaries.

030.png

 

 

The TFS installation wizard will complete and configuration wizard will open. Choose the upgrade option from the left pane. Click on Start Wizard.

031.png

 

 

Click on Next.

032.png

 

 

Enter the SQL Server/Instance name, click List Available Databases, this will list the configuration database of previous version, then select a database from the list. Check the box, confirming that backup is taken, then Click on Next.

033.png

 

 

Provide the service account, service account can be Network Service or user account. Also, select the Authentication method.

034.png

 

 

Set the file cache folder path. By default, path will be set but you can change the same.

035.png

 

 

If build is configured, provide the service account and click on Next.

036.png

 

 

Select the Configure Reporting for use with Team Foundation Server and Click on Next.

037.png

 

 

Enter the reporting services Instance name and click on Populate the URL for reporting service configuration. Validate the URL by browsing to the URL on a browser. Click on Next.

038.png

 

 

Specify SQL server instance name, do test and click on List Available Databases. Select the warehouse database and Click on Next.

039.png

 

 

Enter the analysis instance name. TFS will automatically identify and use TFS_Analysis. Click on Next.

040.png

 

 

Separate reader account for reports can be provided. If we proceed without entering any account, the same account for TFS Reports as TFS Services which we have set earlier. However, if you had used Network Service as TFS Service account then we have to specify a different account here as we cannot use Network Service as TFS Reports Reader account.

041.png

 

 

Check Enable integration with SharePoint. Select Change current setting to point to a different SharePoint Farm and do a test. Click on Next.

042.png

 

 

Review all the settings before proceeding. Click on Next.

043.png

 

 

Make sure all the Readiness Checks are validated. In this scenario, there is warning for Reporting and it’s complaining about the service account because for TFS and Reporting same account is used. This warning can be ignored. Click on next.

044.png

 

 

This step will configure the Application Tier and start the upgrade of Project Collection(s) in the background. Proceed with next to monitor the collection upgrade.

045.png

 

 

Project collection are upgraded. Click on Next.

046.png

 

 

Review the results and close the wizard. This will automatically open TFS Administration console.

047.png

 

 

In TFS Administration Console, we still see the old server URL under notification and web access URL.

048.png

 

 

Click on Change URLs, specify the notification and server URLs and do a test. Click on ok.

049.png

 

 

050.png

 

 

Click on Team Project Collection in the left panel, click on Team Projects and check If you can see all the team projects.

051.png

 

 

052.png

 

 

053.png

 

 

Under Reporting, check if Reporting is configured and jobs are enabled.

054.png

 

 

Try browsing the notification URL to see if you are able to view notification URL.

055.png

 

 

Try browsing SharePoint site for collection and check if you can navigate to the projects.

056.png

 

 

That’s it, your TFS 2015 is up and running.

Content Created By : Ramandeep Singh
Content Reviewed By : Romit Gulati

번호 제목 글쓴이 날짜 조회 수
36 Team Foundation Server 에 접속했던 자격 증명과 캐시 정보 삭제하기 file 황제낙엽 2016.07.23 823
35 서비스 계정 관리를 위한 커맨드 명령어 황제낙엽 2016.07.21 291
34 한 환경에서 다른 환경으로 Team Foundation Server 이동 file 황제낙엽 2016.07.21 431
33 (TFS stop/ start) Team Foundation Server 에서 사용하는 서비스를 중지, 시작 황제낙엽 2016.07.20 277
32 운영중인 TFS 서버의 컴퓨터 이름을 변경했을 경우 file 황제낙엽 2016.07.19 375
31 TFS 2013 RTM + SQL Server 2012 Developer 서버 이전 및 데이터 마이그레이션 file 황제낙엽 2016.07.16 290
30 TFS 2013 Install 구성 센터 메뉴 file 황제낙엽 2016.07.15 243
29 TFS 80포트 변경 황제낙엽 2016.07.15 303
28 TFS 2008 설치 후 서비스 포트 바꾸기 황제낙엽 2016.07.15 264
27 chart lists the TFS Versions with Product Version number 황제낙엽 2016.07.14 244
26 Team Foundation Server:9090 접속 오류 file 황제낙엽 2016.07.04 269
25 TFS용 데이터 백업 및 복원 file 황제낙엽 2016.06.30 486
24 TFS 2012에서 TFS 2015 업그레이드 file 황제낙엽 2016.06.30 295
23 Install TFS (Single server, Dual server, Multiple servers) file 황제낙엽 2016.06.23 311
22 TFS 의 SQL Server 를 Developer (Enterprise) 에서 Standard 로 교체하기(Downgrade) 황제낙엽 2016.06.23 480
21 TFS에서 백업 및 복원을 위해 경로 지정시 오류 (TF401008) file 황제낙엽 2016.06.18 289
20 TFS 2012에서 TFS 2015 업그레이드 황제낙엽 2016.06.13 307
» Migration Update from Team Foundation Server (TFS) 2013 to TFS 2015 (With Reporting and SharePoint) file 황제낙엽 2016.06.13 427
18 TFS 최소, 권장 사양 (Requirements for Azure DevOps on-premises or TFS version) 황제낙엽 2016.05.24 283
17 Use TfsPreUpgrade to reduce downtime (for TFS2013->TFS2015) file 황제낙엽 2016.05.12 288