AndrewHuang

In MSDN:

How to: Rename a Data-Tier Server

How to: Rename an Application-Tier Server

Before rename DT or AT server, you must rename computer name first.

My questions:

  1. Rename computer name will affect DT and AT server If yes, what to do after renaming computer name
  2. In Single-Server Deployment, can DT and AT server name be difference

Thanks,

-Andrew



Re: Team Foundation Server - General About DT server name, AT server name and computer name

Paul Hacker

Follow these steps for renaming the TFS Server. http://blog.arrowrock.com/shoebox/2006/04/11/HowToRenameATeamFoundationServer.aspx

If you have a single server install, then your DT and AT are the same name since they are on the same server.

-paul






Re: Team Foundation Server - General About DT server name, AT server name and computer name

Hua Chen - MSFT

Hello Andrew,

1.Rename computer name will affect DT and AT server.

Yes renaming the server name in the domain will affect the DT or AT because the client use the server name to connect to server and this server name is also used in others as Team Build Server.

Before you rename the computer it is best to stop the services used by Team Foundation Server.

You can follow the steps listed in How to: Rename a Data-Tier Server

If you have any question just post it.

Thanks.






Re: Team Foundation Server - General About DT server name, AT server name and computer name

AndrewHuang

Thanks for Paul and Hua.

Additional questions:

  1. Where can I get the DT name and AT name
    I renamed AT name as different with DT by following "How to: Rename an Application-Tier Server", it's working. It looks like nothing changed.
  2. In Team explorer, when you connect to TFS, the TFS name is DT name or AT name
  3. Where to use the AT name

Thanks again.





Re: Team Foundation Server - General About DT server name, AT server name and computer name

Hua Chen - MSFT

Hello AndrewHuang,

Do you use a dual server TFS or a single server one

1. Where can I get the DT name and AT name
I renamed AT name as different with DT by following "How to: Rename an Application-Tier Server", it's working. It looks like nothing changed.

DT name and AT name is the computer name in the domain or in the work group.

If you rename the computer name

you need to update thess information in the TFS configurations.

2. In Team explorer, when you connect to TFS, the TFS name is DT name or AT name

The TFS name is the AT name.

Use AT name to connect to the Application - Tier from the Team Explorer.

Application - Tier is responsible for connect to the Data - Tier.

If the TFS is a single server that the DT and AT are in the same computer they certainly have the same name.

If you have any question you can post it.






Re: Team Foundation Server - General About DT server name, AT server name and computer name

AndrewHuang

Thanks a lots, Hua. That's my wanted!

One more:

In the Web.Config file in C:\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Web Services\Services:

<add key="TFSNameUrl" value="http://Name1:8080" />
<add key="TFS Name" value="Name2" />

The Name1 should be TFS App-Tier Name, how about Name2 And how to get the name, in VS 2005 or http:\\localhost\reports or others





Re: Team Foundation Server - General About DT server name, AT server name and computer name

Hua Chen - MSFT

Hello AndrewHuang,

'TFS Name' attribute is a string that represents the name of the application-tier computer.

'TFSNameUrl' attribute is the URL for the application-tier server and is used by all Team Foundation Server Web services to locate the other Web services.

Name1 and Name2 in your post should be same.

Here is Global Web.Config File Settings in Team Foundation Server Components

You may find more about these settings.

Thanks.