共用方式為


Upgrading to Team Foundation Server 2008 while Changing Servers

One of the most common problems that users encounter is how do I upgrade TFS 2005 to TFS 2008 and change servers at the same time.

 

Unfortunately, it is not possible to simultaneously upgrade and move in one fell swoop. So, in order to achieve this behavior you have three options: (1) upgrade your old server, then (2) move; (1) move, then (2) upgrade your new server; or (1) move to an intermediate machine, (2) upgrade the intermediate machine, and (3) move to the final machine. There are tradeoffs to all three.

 

The safest route is to (1) move to your new server, then (2) upgrade your new server to TFS 2008. This is safer because if something fails in the move/upgrade process, then your original server is still online.

 

Given that the “ (1) move, (2) upgrade” path is safer you should take this route whenever possible; however, there are times when you will need to (1) upgrade your old server, then (2) move to the new server. The most common such time is when you also plan to upgrade to SQL 2008 or if your new machine uses Windows 2008. Since TFS 2005 doesn’t support either SQL 2008 or Windows 2008. You will first (1) upgrade your old server to TFS 2008 SP1, then (2) move to new hardware. As mentioned above, the primary drawback to this approach is that if your upgrade/move fails, then your original server will be down.

 

In the third option, you (1) move to an intermediate machine, (2) upgrade the intermediate machine, and (3) move to the final machine. This approach will take longer (and, requires an extra box), but if you cannot risk your server going down, this may be the best option. 

 

Here are the steps for the above operations

 

To Summarize

Actions

Reason

(1) Move, (2) Upgrade

Safest, only needs two machines

(1) Upgrade, (2) Move

Less Safe, only needs two machines, new machine must start out at TFS 2008

(1) Move, (2) Upgrade, (3) Move

Safer that “(1) Upgrade, (2) Move”, time consuming, needs three machines, final machine must start out at TFS 2008

 

Actions:

(1) Move, (2) Upgrade

1. Install TFS 2005 on your new server ( The TFS 2005 installation guide can be downloaded here: https://www.microsoft.com/downloads/details.aspx?familyid=e54bf6ff-026b-43a4-ade4-a690388f310e&displaylang=en )

2. Move over to your new server ( Documentation here: https://msdn.microsoft.com/en-us/library/ms404869(VS.80).aspx )

3. Upgrade your new server to TFS 2008. ( You can find documentation on this under the section “Upgrading Your Team Foundation Server” https://www.microsoft.com/downloads/details.aspx?FamilyID=FF12844F-398C-4FE9-8B0D-9E84181D9923&displaylang=en )

(1) Upgrade, (2) Move

1. Upgrade your old server to TFS 2008. ( You can find documentation on this under the section “Upgrading Your Team Foundation Server” in the TFS 2008 installation guide https://www.microsoft.com/downloads/details.aspx?FamilyID=FF12844F-398C-4FE9-8B0D-9E84181D9923&displaylang=en )

2. If necessary, apply the TFS 2008 SP1 patch to the old server (https://www.microsoft.com/downloads/details.aspx?FamilyId=9E40A5B6-DA41-43A2-A06D-3CEE196BFE3D&displaylang=en )

3. Install TFS 2008 on your new server ( The TFS 2008 installation guide is given in the above link)

a. If you are using SQL 2008, then you will need to use the integrated install of TFS 2008 SP1 (Given in the installation guide under the section “How To: Integrate the Installation of Team Foundation Server and Service Pack 1.”)

b. If you are using SQL 2008 SP1, then you will need to use the following KB (https://support.microsoft.com/kb/969985) along with using the integrated install of TFS 2008 SP1 (Given in the installation guide under the section “How To: Integrate the Installation of Team Foundation Server and Service Pack 1.”)

4. Move over to your new server ( Documentation here: https://msdn.microsoft.com/en-us/library/ms404869.aspx )

(1) Move, (2) Upgrade, (3) Move

1. Install TFS 2005 on your intermediate server ( The TFS 2005 installation guide can be downloaded here: https://www.microsoft.com/downloads/details.aspx?familyid=e54bf6ff-026b-43a4-ade4-a690388f310e&displaylang=en )

2. Move over to your intermediate server ( Documentation here: https://msdn.microsoft.com/en-us/library/ms404869(VS.80).aspx )

3. Upgrade your intermediate server to TFS 2008. ( You can find documentation on this under the section “Upgrading Your Team Foundation Server” https://www.microsoft.com/downloads/details.aspx?FamilyID=FF12844F-398C-4FE9-8B0D-9E84181D9923&displaylang=en )

4. If necessary, apply the TFS 2008 SP1 patch to the intermediate server (https://www.microsoft.com/downloads/details.aspx?FamilyId=9E40A5B6-DA41-43A2-A06D-3CEE196BFE3D&displaylang=en )

5. Install TFS 2008 on your new server ( The TFS 2008 installation guide is given in the above link.)

a. If you are using SQL 2008, then you will need to use the integrated install of TFS 2008 SP1 (Given in the installation guide under the section “How To: Integrate the Installation of Team Foundation Server and Service Pack 1.”)

b. If you are using SQL 2008 SP1, then you will need to use the following KB (https://support.microsoft.com/kb/969985) along with using the integrated install of TFS 2008 SP1 (Given in the installation guide under the section “How To: Integrate the Installation of Team Foundation Server and Service Pack 1.”)

6. Move over to your new server ( Documentation here: https://msdn.microsoft.com/en-us/library/ms404869.aspx )

You can find additional documentation about moving your server in the following link:

https://blogs.msdn.com/tfsao/archive/2009/02/20/server-change-we-can-believe-in.aspx

 

--Aaron

Comments

  • Anonymous
    April 20, 2009
    Hi All, I've written a post on the TFS admin & Ops site on how to upgrade to TFS 2008 while changing

  • Anonymous
    April 22, 2009
    Larry Guger on Workspaces in Team Foundation Server - Part 3 Jeff Beehler on Resources to learn more

  • Anonymous
    May 23, 2009
    One of the things that this article doesn't mention is that TFS 2005 won't install on Windows 2008. This effectively makes a move(1), then upgrade(2) impossible if you want to move from a TFS 2005 on Windows 2003 to a TFS 2008 on Windows 2008. I was un-aware of the Windows Sharepoint Services 2.0 not installing on Windows 2008 until it was too late. Now I'm kind of stuck. I could upgrade the old server first then move. But that leaves me exposed if anything goes wrong in the upgrade process and as you mention in this article isn't as safe as a move first methodology. I also don't have an intermediate server to use. Duane

  • Anonymous
    May 27, 2009
    Hi Caliban27 (Duane), I'm sorry for omitting that comment about Windows 2008. I'll go ahead and change the article to reflect that. Unfortunanetly, you are correct. If you don't have a intermediate server, the only way you can upgrade and move hardware is to upgrade first and move later. One possible solution for acquring an intermediate server is to use a virtual machine. Since performance doesn't matter for the intermediate machine you wouldn't have to go through a lot of the more complicated steps found here: http://blogs.msdn.com/tfsao/archive/2009/02/03/hyper-v-and-tfs.aspx I hope this helps, --Aaron