Mittwoch, 26. März 2008

Update TFS2005 to TFS2008

Hier ein sehr guter Artikel über das Updaten von TFS2005 auf 2008 den ich gefunden habe.

Herzlichen Dank!

My advice for upgrading from TFS2005 to TFS2008

Before you start the upgrade you will need the following information:

  • Current TFSSERVICE and TFSREPORTS service accounts & passwords.

· SMTP server address & from address

Then when you’re ready:

  • Start with a supported configuration. That means either TFS2005 (RTM or SP1) or TFS2008 (B2 or RC). If you’re unlucky enough to be stuck on TFS2005 Beta3 Refresh, then my comments in this forum will help.
  • Install PowerShell 1.0 (download here)
  • Install the Team Foundation Server Power Tools (download here). You only need to install the Best Practices Analyzer component, the other things are optional.
  • Run the TFS Best Practices Analyzer and fix any errors before upgrading!
  • Run a full database backup. You are running nightly backups anyway aren’t you??

· Uninstall any Beta 2 or RC bits first from Add/Remove Programs.

· Insert the 90-day trial media, or copy it to the local disk and run autorun.exe

· Enter in your current service account information, and SMTP settings and you’re away. (see below)

· The “Upgrading your version control database” is the longest part of the upgrade. The speed seems to be bound by the speed of your disks (not CPU). For a 20Gb version control database sitting on direct-attached RAID1 disks, this process took just under an hour.

· After installation, follow these steps to upgrade from TFS 2005 with WSS2.0 to TFS 2008 with WSS3.0. Download prescan.exe here.

· Install Team Explorer 2008 on your TFS server.

· Uninstall previous versions of TeamPlain or Team System Web Access.

· Install the latest Team System Web Access CTP. (download here). There will be a final release of TSWA in the next week.

· Test your upgrade by performing some version control operations and creating a new team project.

· Don’t forget to uninstall Team Build 2005 and install Team Build 2008 on your build servers.

· Enjoy!

Traps / Troubleshooting

  • Although the installer gives you the option to change to LOCAL SERVICE or NETWORK SERVICE, Sudhir says that changing accounts at time of upgrade is not supported. You can change them easily after the upgrade.
  • You should not change the server name or database location at the time of upgrade.
  • When creating a new team project using Team Explorer 2005 you might get the error: TF30162: Task “SharePointPortal” from Group “Portal” failed. See this blog post.
  • The Reporting Services webparts on the project portal may display an error about reading the registry key. See this blog post for the fix.
  • If you do an in-place upgrade to WSS 3.0 and it “hangs” or fails for some reason. Check the log files in C:\Program Files\Common Files\microsoft shared\web server extensions\12\logs. You can run the in-place upgrade job again by running “psconfig -cmd upgrade -inplace b2b -wait -force” from the \Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN folder.

What if something goes wrong?

If something goes wrong, you have a few options for help.

1. If you have a support agreement in place (or are willing to pay for one), call up and open a case with Microsoft Support. (I can’t vouch for this, I can only assume that they are ready to help)

2. Post your problem on the Team Foundation Server - Setup forum on MSDN Forums. MVPs and the product team are pretty good at responding to issues raised in the forums.

3. Sign up to the OzTFS.com mailing list and post your question / problem there. Once again, this list is a great way to get almost instant email responses many different people. If your problem can’t be solved on the list, then there are a few people who can escalate it direct to the product teams.

This turned into quite a long post, but it’s great to do a brain dump of the last few weeks and I hope this helps others.

ORGINAL LINK

http://ozgrant.com/2007/11/24/tips-for-upgrading-from-tfs2005-to-tfs2008/