How to: Rename a Data-Tier Server
This page is specific to:.NET Framework Version:2.03.5
Visual Studio Team System
How to: Rename a Data-Tier Server

To rename the data-tier server in a dual-server deployment of Visual Studio Team System Team Foundation Server, you must rename the server itself and perform several other steps. For example, you must reconfigure Team Foundation Server, SQL Server Reporting Services, and SharePoint Products and Technologies to use the server that you just renamed.

NoteNote:

You can also use the procedures in this topic to rename the server in a single-server deployment of Team Foundation Server.

If you use Microsoft Project or Microsoft Excel to report data from Team Foundation, you must also recreate those files to use the server that you just renamed. For more information, see Team Foundation Server Reporting. If you have configured Team Foundation Server Proxy to use a single-server deployment and you rename the server for that deployment, you must modify the proxy.config file to use the new name of the server. For more information, see Managing Remote Connections to Team Foundation Server Proxy.

To rename a data-tier server in a dual-server deployment or the server in a single-server deployment, you must complete the procedures in the following sections in the sequence listed:

  1. Stop Services that Team Foundation Server Uses

  2. Rename the Data-Tier Server

  3. Redirect and Test Reporting Services

  4. Update the Application-Tier Server to Work with the Renamed Server

  5. Restore Web Sites for Team Projects

  6. Rebuild the Team System Cube

  7. Restart Services

  8. Refresh the Data Cache on Client Computers

Required Permissions

To perform this procedure, you must be a member of the Administrators security group and a member of the sysadmin group in SQL Server on the data-tier server. You must also be a member of the Team Foundation Administrators group on the application-tier server. For more information about permissions, see Team Foundation Server Permissions.

In addition to these permissions, you might need to address the following requirements on a computer that is running Windows Server 2008 or Windows Vista:

  • To follow a command-line procedure, you might need to open an elevated Command Prompt by clicking Start, right-clicking Command Prompt, and clicking Run as Administrator.

  • To follow a procedure that requires Internet Explorer, you might need to start it as an administrator by clicking Start, clicking All Programs, right-clicking Internet Explorer, and then clicking Run as administrator.

  • To edit web.config files, you might need to start the text editor as an administrator by clicking Start, clicking All Programs, right-clicking the editor, and then clicking Run as administrator.

  • To access Report Manager, reports, or Web sites for Reporting Services, you might need to add these sites to the list of trusted sites in Internet Explorer or start Internet Explorer as an administrator.

For more information, see the Microsoft Web site.

Stop Services That Team Foundation Server Uses

To stop services that Team Foundation Server uses

  • Log on to the appropriate server, open Computer Manager, and stop the components in the following table in the order specified:

    Log on to the server that hosts this program

    Stop this component

    SharePoint Products and Technologies

    • SharePoint Timer Service or Windows SharePoint Services Timer

    • Default Web Site or Team Web site

    Application tier

    • Visual Studio Team Foundation Server Task Scheduler Service

    • Microsoft Team Foundation Server Application Pool

    Reporting Services

    • SQL Server Reporting Services (TFSINSTANCE)

    • ReportServer or ReportServer$InstanceName (application pool)

    • Default Web Site or Report Manager Web site

    For more information, see How to: Stop and Start Services, Application Pools, and Web Sites.

Rename the Data-Tier Server

To rename the data-tier server

  1. On the data-tier server, click Start, right-click My Computer or Computer, and then click Properties.

  2. (For Windows Server 2008) Under Computer Name and domain group settings, click Change settings. 

    The System Properties dialog box opens.

  3. On the Computer Name tab, click Change.

    The Computer Name/Domain Changes window opens.

  4. In the Computer Name box, type the new name, and then click OK.

  5. Click OK to close the System Properties dialog box.

    A system message might appear and ask "You must restart this computer for the changes to take effect. Do you want to restart the computer?"

  6. If the message appears, click Yes, and restart the computer.

    NoteNote:

    If you restart the server in a single-server deployment, wait for the server to restart, and then stop the services that Team Foundation Server uses.

Redirect and Test Reporting Services

To restore and test Reporting Services

Update the Application-Tier Server to Work with the Renamed Server

To update the application-tier server to work with the renamed server

  1. Log on to the appropriate server, open Computer Manager, and start the application pools and programs in the following table if they are not already started:

    Log on to the server that hosts this program

    Start this component

    Application tier

    • Microsoft Team Foundation Server Application Pool

    Reporting Services

    • ReportServer or ReportServer$InstanceName (application pool)

      NoteNote:
      You manage ReportServer for SQL Server 2005 but not for SQL Server 2008.
    • SQL Server Reporting Services (TFSINSTANCE)

    For more information, see How to: Stop and Start Services, Application Pools, and Web Sites.

  2. Open the Command Prompt window, change directories to %ProgramFiles%\Microsoft Visual Studio 2008 Team Foundation Server\Tools, and type the following command:

    TfsAdminUtil RenameDT newTeamFoundationDataTierServerName

    Important noteImportant Note:

    For the RenameDT command to succeed, the application pools and programs in the previous step must be running. This requirement is new in Visual Studio Team System 2008 Team Foundation Server.

Restore Web Sites for Team Projects

To restore project sites to use the content database on the renamed server

Rebuild the Team System Cube

To rebuild the Team System cube

Restart Services

To restart services that Team Foundation Server uses

  • Log on to the appropriate server, open Computer Manager, and start the components in the following table, in the order specified:

    Log on to the server that hosts this program

    Start this component

    SharePoint Products and Technologies

    • SharePoint Timer Service or Windows SharePoint Services Timer

    Application tier

    • Visual Studio Team Foundation Server Task Scheduler Service

    • Microsoft Team Foundation Server Application Pool

Refresh the Data Cache on Client Computers

To refresh the data cache on client computers

See Also

Tasks

Other Resources

Community Content

Reinstall Needed of SharePoint on the AT to Create New WSS_Config Database and Farm
Added by:Ed Blankenship - MVP
In the default scenario where you have WSS/SharePoint installed on the Application Tier server that is the only server in the SharePoint farm instance and you are renaming/moving to a new data tier server but keeping the original AT server, be sure to not restore the WSS_Config database on the new data tier. You'll need to uninstall WSS/SharePoint from the AT and then reinstall creating a new SharePoint farm instance (which means it will create a new WSS_Config database.)

There is a note tucked away in the MSDN article titled How to: Move Your Team Foundation Server from One Hardware Configuration to Another (http://msdn.microsoft.com/en-us/library/ms404869.aspx) that is very important for the rename/move data tier scenario as well:

Important Note:

For restoration-based moves, do not restore the configuration database for SharePoint Products and Technologies (WSS_Config) from the old server to the new server.


After creating the new SharePoint farm (and configuration database) you can then restore the WSS_Content database from the old data tier to the new data tier and then using SharePoint Central Administration attach the new content database to the new SharePoint Server Farm.
© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View