blogs.conchango.com

welcome to the conchango blogging site
Welcome to blogs.conchango.com Sign in | Join | Help
in Search

Merrick Chaffer's Blog

Renaming a TFS Virtual PC

Change the old server name to the new one in the following places in order to rename a virtual PC that’s acting as a Team foundation server…

Registry changes

1.     HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\Secure\ConfigDb

2.     HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\TeamFoundation\ReportServer

3.     HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\TeamFoundation\Servers (rename key name as well as value)

Sharepoint Configuration Changes

1.     Start, All Programs, Adminstrative Tools, Sharepoint Central Administration, Set Default Content Database Server.

Database changes

STS_Config_TFS database changes

1.     dbo.Servers, change Name and Address

2.     dbo.Databases, change LastModifiedServer

TfsIntegration database changes

1.     dbo.tbl_database (change servernames)

2.     dbo.tbl_subscription (change address column settings)

3.     dbo.tbl_registration_extended_attributes

4.     dbo.tbl_security_identity_cache

5.     UPDATE tbl_service_interface SET url = REPLACE(url, 'oldServerName', 'newServerName')

Reporting services configuration

1.    Start, All Programs, Microsoft SQL 2005, Configuration Tools, Reporting Services Configuration, Database setup

  2.   Change the data sources for the reports (TfsOlapReportDS, TfsReportDS, TfsWarehouseExtension) from http://localhost/Reports 

Config file changes

1.     C:\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Web Services\Web.Config

2.     C:\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Web Services\Services\Web.config

3.     C:\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Web Services\VersionControl\App_Data\ProxyStatistics.xml

And Finally…

1.       IISReset once you've made all the changes above

2.       Remove and then add back the users to the team foundation server, group membership. This is done in Visual Studio, from selecting the registered server in team explorer, and then selecting, Team, Team Foundation Server Settings, Group Membership…, (select the Administrators group, and click Properties).

Published 03 January 2007 17:30 by merrick.chaffer

Comments

 

Scott Lock's Blog said:

Renaming a TFS backend database server

November 20, 2007 15:28
Anonymous comments are disabled
Powered by Community Server (Personal Edition), by Telligent Systems