Welcome to MSDN Blogs Sign in | Join | Help

Real-Time Visibility Through Technology

"Never innovate to compete, innovate to change the rules of the game" - David O. Adeife

News

About me

My Photo

Sr. Product Manager,BizTalk RFID



Disclaimer

These postings are provided "AS IS" with no warranties and confer no rights.
Upgrade: TFS 2005 with Default Instance to Orcas with Named Instance

Orcas supports Named Instances of SQL Server. In VS 2005 we only supported default instance of SQL Server this was a major pain point for customers using SQL farms. We fixed this in Orcas and now you can use named instances of SQL. This post is about how to upgrade from VS 2005 TFS using default instance to Orcas using Named Instances.

As I mentioned in my last post related to Upgrade. We want you to make sure you have a working Whidbey before trying to upgrade to Orcas. We don't want you to change the configuration of the server.

The steps to upgrade are as follows.

  • Run Orcas TFS installer to upgrade your VS2005 TFS server using Default Instance. At end of this process you should have Orcas server with default instance.
  • Next take full backup of all the TFS Databases. You can refer to http://msdn2.microsoft.com/en-us/library/ms253070(VS.80).aspx for the process of taking backup. Easiest way is to use SQL Management studio.
  • Restore all these backed up databases on Named Instance of SQL Server you want to use with TFS. Now you should have all the databases moved to new instance. You can refer to http://msdn2.microsoft.com/en-us/library/ms252458(VS.80).aspx for more details on restoring databases.
  • We have some information in sysmessages table in masterdb and SQL jobs in MSDB. These are not restored by previous step. To get these you can either run repair or you can run tfsdb.exe from your tools directory
    • TfsDb.exe install /server:"<servername>\<instancename>" /property:"TFS_SERVICE_ACCOUNT=<TFSSERVICEACCOUNT>;TFS_REPORTING_ACCOUNT=<TFSREPORTSACCOUNT>;LCID=1033" /log:d:\logfile.txt
  • At this point TFS is not going to work as TFS AT does not know anything about the new location of the databases.
  • You can use TFSAdminUtil to update the system with new SQL Instance information.
    • Command: TFSAdminUtil RenameDt NewDTServerName\InstanceName

Now you should have your TFS configuration ready to go. You can also refer to Renaming TFS Server topic.

Posted: Thursday, May 31, 2007 2:19 PM by sudhirh

Comments

Sudhir Hasbe said:

We have put in a lot of effort on getting our Upgrade experience right. It is not perfect but I think

# May 31, 2007 2:43 PM

Willy-Peter Schaub's Cave of Chamomile Simplicity said:

In most implementations of TFS we end up having tough discussions with infrastructure and questions such

# November 20, 2007 11:40 AM

El Bruno said:

Buenas, cómo había comentado hace 2 días , el completo FAQ para la instalación y administración de TFS

# March 10, 2008 11:38 AM

El Bruno said:

Buenas, cómo había comentado hace 2 días , el completo FAQ para la instalación y administración de TFS

# March 10, 2008 1:05 PM

El Bruno said:

Buenas, cómo había comentado hace 2 días , el completo FAQ para la instalación y administración de TFS

# March 10, 2008 1:05 PM

jonesb321 said:

Sudhir,

Would this be considered a restoration-based move?  How do you handle the Reporting Services key issues?  Your instructions did not explicitly conver that topic so I was curious if it was handled automatically or not.

Thanks in advance!

# June 3, 2008 8:01 PM

El Bruno said:

Buenas, cómo había comentado hace 2 días, el completo FAQ para la instalación y administración de TFS...

# July 5, 2008 3:10 AM

Microsoft Japan Forum Operators Blog said:

こんにちは! フォーラム オペレーターの服部清次です。 11 月は 3 連休が 2 回もあるので、個人的にとても好きな月です。 そして、来月は天皇誕生日と年末年始休暇があるので、さらに嬉しい月です。 ^o^

# November 16, 2008 11:46 PM
Anonymous comments are disabled
Page view tracker