.NET Zone is brought to you in partnership with:

Mohamed Radwan is a Visual Studio ALM MVP and Senior ALM Consultant focusing on providing solutions for the various roles involved in software development and delivery to enable them build better software using Agile Methodologies and Microsoft Visual Studio ALM Tools & Technologies. Mohamed excels in software practices and automation with 12+ years of professional experience spanning the different stages and phases of the Software Development Lifecycle. Mohamed is also an MSc in Agile Methodologies, a frequent speaker at many local and regional technology events, the author of DevMagicFake Mocking Framework, an author of many technical articles & guides, the founder of the TFSEG and co-founder of MEAALM Community. Mohamed also holds number of Microsoft certificates including MCT, MCPD, MCITP in EPM, MCTS (7), MCSD, MCAD and CIW, Mohamed is a DZone MVB and is not an employee of DZone and has posted 11 posts at DZone. You can read more from them at their website. View Full User Profile

Upgrade TFS 2010 to TFS 2012 with Migration to a New Hardware

01.09.2013
| 6473 views |
  • submit to reddit
As we may already know, there are 3 scenarios for upgrade TFS 2012:
  • Upgrade TFS Basic or Express (Basic upgrade)
  • TFS Use the Same Hardware (Standard upgrade)
  • TFS Use Different Hardware (Advanced upgrade)

I choose to explain the most complex one which is the 3rd one, so there are a lot of alternative paths for this scenario, I choose a specific path to simplify the posts and I will try to mention any alternative paths needed as we go throughout the series. This series is step-by-step with videos and images and in the last post I will put one video for all parts and summary the whole series, I will try to mention some considerations that you could take care of them while you are upgrading. Let’s start by examine the table of content for this series in details:

  • Part 1 – Introduction.
    • Introduction.
  • Part 2 – Prepare SharePoint for the new system.
    • Examine the existing TFS 2010 system and the new machine.
    • Uninstall all TFS 2010 components.
    • Install and configure TFS 2012 Remote SharePoint Extensions.
  • Part 3 – Prepare the new machine and install SQL Server.
    • Prepare the new machine (DNS, Join Domain, .NET 3.0).
    • Install MS SQL Server 2012 SP1 Enterprise Edition.
    • Share a Folder on the new server.
  • Part 4 – Install TFS 2012 Update 1 & Backup DBs and Reporting Key
    • Install TFS 2012 Update 1 and run windows update.
    • Run TFS 2012 Backup Tool and backup the old DBs.
    • Backup the old Reporting Service Encryption Key.
  • Part 5 – Restore DBs and Reporting Encryption Key.
    • Run TFS 2012 Restore Tool and restore old DBs to the new SQL server 2012.
    • Change Reporting DB and restore Reporting Encryption Key.
  • Part 6 – Configure TFS 2012
    • Configure TFS 2012 using Upgrade wizard.
  • Part 7 – Verify upgrade success and other configuration.
    • Verify the success of the upgrade and complete the other configuration.
  • Part 8 – Upgrade TFS 2012 Build Service.
    • Upgrade TFS 2012 Build Service.
  • Part 9 – Summary.
    • Summary.

The chosen upgrade scenario is consistent of 3 machines, one as a Domain Controller, the second as TFS 2010 that contain most components of TFS and the third machine is a new empty machine, see the following image:

Machine 1: Domain Controller

  • Windows 2008 R2 SP1 with latest update
  • Active Directory and DNS

Machine 2: TFS2010

  • Windows 2008 R2 SP1 with latest update
  • MS SQL Server 2008 R2 SP1
  • MS SQL Server Analysis Service 2008 R2 SP1
  • MS SQL Server Reporting Service 2008 R2 SP1
  • TFS 2010 SP1
  • TFS Build Service 2010
  • MS SharePoint Server 2010 SP1

Machine 3: New machine

  • Nothing

In this upgrade scenario I will use the existing domain controller, I will also leave the SharePoint 2010 on the old TFS 2010 machine and use that machine as SharePoint server for the new environment, the new system will use Windows Server 2012 and SQL Server 2012 as well, see the following image:

Machine 1: Domain Controller

  • Windows 2008 R2 SP1 with latest update
  • Active Directory and DNS

Machine 2: TFS2010

  • Windows 2008 R2 SP1 with latest update
  • MS SQL Server 2008 R2 SP1
  • MS SQL Server Analysis Service 2008 R2 SP1
  • MS SQL Server Reporting Service 2008 R2 SP1
  • MS SharePoint Server 2010 SP1

Machine 3: TFS 2012

  • Windows 2012 with latest update
  • MS SQL Server 2012 SP1 Enterprise
  • MS SQL Server Analysis Service 2012 SP1
  • MS SQL Server Reporting Service 2012 SP1
  • TFS 2012 Update 1
  • TFS Build Service 2012

In the next posts I will start to explain how to perform this scenario.

Published at DZone with permission of Mohamed Radwan, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)