TFS 2008 升級到 TFS 2015


最近協助客戶將 TFS 2008 升級到 TFS 2015 , 把主要的步驟整理如下:

以移轉 (Migration) 方式進行移轉所有的資料庫, 不影響現行正式環境 TFS 2008 運作.

是以兩段式方式升級 : TFS 2008 SP1 => TFS 2012 with update 4 => TFS 2015

I. TFS 2008 SP1 to TFS 2012 with update 4

  Environment:

Windows 2008 R2 SP1 : 172.16.241.71

SQL 2012 with SP2

TFS 2012 with update 4

  1. Configured the destination machine

a. Windows 2008 R2 SP1

b. Join Domain

c. Add IIS Role and .NET Framework 3.5.1

d. Windows Update

e. Install SQL 2012 with SP2

f. Install TFS 2012 with Update 4

g. Windows Update

h. Reboot Server

  2. Backup Virtual Machine

a. Shutdown Server and backup/Snapshot VM

  3. Created all necessary TFS accounts

a. TFSSERVICE – requires the "Log on as service" permission

b. TFSBUILD – requires the "Log on as service" permission

c. TFSREPORTS – requires the "Log on locally" permission

  4. Backed up the data on the existing server

a. TfsActivityLogging

b. TfsBuild

c. TfsIntegration

d. TfsVersionControl

e. TfsWarehouse

f. TfsWorkItemTracking

g. TfsWorkItemTrackingAttachments

  5. Restored the backups to the new server

  6. Configured the new TFS instance

a. Team Foundation Server Configuration Center -> Upgrade

b. Create a new Team Project

c. Update a Team Project Based on an MSF v4.2 Process Template

    i. https://msdn.microsoft.com/en-us/library/ff452591(v=vs.110).aspx

  7. Reference

o Requirements and compatibility

https://msdn.microsoft.com/Library/vs/alm/TFS/administer/requirements#Hardwarerecommendations

o Upgrade walkthrough

https://msdn.microsoft.com/Library/vs/alm/TFS/upgrade/walkthrough

o Configure features after an upgrade

https://msdn.microsoft.com/Library/vs/alm/work/customize/configure-features-after-upgrade

II. TFS 2012 with update 4 to TFS 2015 RTM

  Environment:

Windows 2012 R2 with updates : 172.16.241.72

SQL 2014 with SP1

TFS 2015 RTM

  1. Configured the destination machine

a. Windows 2012 R2 with update

b. Join Domain

c. Add IIS Role and .NET Framework 3.5.1 and 4.5

d. Windows Update

e. Install SQL 2014 with SP1

f. Install TFS 2015 RTM

g. Windows Update

h. Reboot Server

  2. Backup Virtual Machine

a. Shutdown Server and backup/Snapshot VM

  3. Backed up the data on the existing server (TFSBackup.exe)

a. Tfs_Configuration

b. Tfs_DefaultCollection

  4. Configured the new TFS instance

a. Team Foundation Server Configuration Center -> Upgrade

b. Configure features after an upgrade

c. Create a new Team Project

 

Enjoy. Jacky

Comments (0)

Skip to main content