index > Team Foundation Server - Setup > Moving TFS servers

Moving TFS servers


Folks,

There have been a number of postings requesting instructions on how to move servers (covering some of the following scenarios):

  • Moving TFS from a workgroup to a domain
  • Moving TFS from a Test domain to a Production domain
  • Moving TFS (single server) from one machine to another (disaster recovery for single server)
  • Moving TFS from single server configuration to dual server configuration.

These instructions are not currently available as part of the latest MSDN documentation, but I'm happy to announce that they are avaialable here: http://blogs.msdn.com/vstsue/archive/2006/03/22/558178.aspx. As the blog article says, this information should find it?? way to the latest MSDN docs in roughly 6 weeks time.

Although we have tested various move scenarios, our testing environment is likely to be very different from your environments, so we?? be especially interested to hear of any issues that you run into when trying to move servers, using these new instructions.

Thanks,




Dan Kershaw [msft]
Dan Kershaw

Dan,

I have had real problems with some one of these procedures, I've posted comments on the blog above but I have had no response.

The problem comes when moving a server from one domain to a another.

I managed to move my RC teamserver to new hardware in the old domain, I then upgraded it to RTM in the old domain. I tested it and it all seemed to work ok

Now when I try to move to a new domain following these instructions it appears to stop working.

Having followed the instructions on moving TFS to a new environment (single server) when I go to view a report through http://localhost/reports I gets an error saying <domain>/<tfs report service account> do not have access to TFSWarehouse, or TFSWarehouse does not exist.

Also, once moved to the new domain when I use Sql Management Studio to look at the properties of the TFSWarehouse database I get an error saying it cannot display the dialog. The full error is:

TITLE: Microsoft SQL Server Management Studio
------------------------------

Cannot show requested dialog.

------------------------------
ADDITIONAL INFORMATION:

Cannot show requested dialog. (SqlMgmt)

------------------------------

Property Owner is not available for Database '[TFSWarehouse]'. This property may not exist for this object, or may not be retrievable due to insufficient access rights. (Microsoft.SqlServer.Smo)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.1523.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.PropertyCannotBeRetrievedExceptionText&EvtID=Owner&LinkId=20476

------------------------------
BUTTONS:

OK
------------------------------

Can anyone help me?

Regards

Graham

Gravy

Some more information...

Event Viewer reports that TFSWorkItemTracking job failed because it did not have access to the server. Viewing this job in Sql Management Studio shows that the job has nothing in the Owner field. If I specify <domain>\TFSSERVICE account here the job will run OK.

It appears that all jobs has no owner information!!

Whould this be because in the old domain the owner for the jobs and the databases would have been <olddomain>\administrator and that domain account does not exist in the new domain?

Thanks

Graham

Gravy

Hi,

I am attempting to use the procedure regarding the restoration of a single server in the same domain to a different machine and am having considerable difficulties.

First of all, I think there is a step missing in the "How to: Move Your Team Foundation Server from One Hardware Configuration to Another" procedure in the restoring Report Server section. When adding a new user in the _WarehouseConfig Permissions roles should be selected from the checkboxes to the user added or that user is not added correctly. Step #23.

I have performed this procedure several times and haven't been able to successfully restore our server. I currently have a server restored with SharePoint and Reporting Services fully functional however I don't seem to have access to work items and source control.

I can run the Work items report and see all the work items, however from within Team Explorer, I don't the queries are not listed under projects that were part of the databases restored.

When I go to access source control for any of the restored projects I get the following error message:

Configure Source Control

Either source control has not been configured for this team project or you do not have permission to access it. would you like to create the source control folder, $/ProjectName?

On a side note, since performing the restore I have successfully been able to create a new project and the work items and source control seem to work correctly.

Thanks in advance!

___________________________

Sarah Cameron - InCycle Software

Sarah Cameron

Update: the reason I wasn't able to move servers was because of a problem with permissions when moving a Beta 3 refresh server.

Recently, I have successfully moved an TFS RTM server - single server configuration to another single server in the same domain following the above referenced procedures (Moving TFS (single server) from one machine to another) .

___________________________

Sarah Cameron - InCycle Software

Sarah Cameron

We just ran through the migration process using the two documents below:

Migration of TFS content from one environment to another (restore based move)

How to: Restore Team Foundation Server Data to a Different Server

Pasted from <http://msdn2.microsoft.com/en-us/library/ms252516(VS.80).aspx>

How to: Move Your Team Foundation Server from One Hardware Configuration to Another

Pasted from <http://msdn2.microsoft.com/en-us/library/ms404869(VS.80).aspx>

During the process we ran into a few "glitches" and I wanted to share them.

  1. Depending on which restore document you use (there's a restore section in each of the above docs) you are told to either restore or not restore the SharePoint Configuration Database for restore-based moves.
fieldhouse

Follwoing on from above, in the "How To: Move from a single-server to a dual-server deployment" there is a small error in the documentation:

Under "To restore data from the original Team Foundation Server single-server deployment to the new Team Foundation Server data-tier server"...

Point 2.1 states:

On the new Team Foundation data-tier server, open a command prompt window and change directories to drive:\%programfiles%\Microsoft Visual Studio 2005 Team Foundation Server\Web Services\Services.

This is wrong - it should be done on the application-tier, not the data-tier.

Also, just commenting on the notes above - which are awesome - Point 1, is an absolute show stopper. I spent hours trying to work out why WSS was stuffed because I missed that one comment saying not to restore the Config database. This really needs to be made clear in the "Restore Team Foundation Server Data to a Different Server" document as it is really easy to miss in the other documents.

.Damage Inc.

I am trying to do a dual server setup right now to a new set of servers. I am hitting a wall while trying to change the accounts.

I am trying to run the two commands below:

TfsAdminUtil ChangeAccount OldDomainOrOldComputerName\OldTFSServiceAccount NewDomainOrNewComputerName\NewTFSServiceAccount NewPassword

TfsAdminUtil ChangeAccount OldDomainOrOldComputerName\OldTFSReportingServiceAccount NewDomainOrNewComputerName\NewTFSReportingServiceAccount NewPassword

And i get this error:

Status: Update database account on database server: ccitfsxxsat.
ERROR: TF30040: The database is not correctly configured. Contact your Team Foun
dation Server administrator.

I keep looking at the DB permissions, i can't find anything wrong. Any help is appreciated

Bunchito
reply 8

You can use google to search for other answers

 

More Articles

Installing beta 3 - "Windows Sharepoint services is not inst...
Problems with Reporting Services after restoring to a different s...
TFS minimum system requirements
Problem with VSTS workgroup instalation
TF30162. Beta 3 refresh installs without hitch. Cannot create a n...
how to reuse ...
ADFS a solution for Internet /non trusted domain users?
How to remove exists team project?
Source Control not working
can team server run on one box with an asp.net site ??
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

how to reuse ...
TFS, SQL server 2000 and SQL server 2005
Team Foundation Server Trial Edition on …
I can't create arbitrary AD users - I'm …
Initialization for plugin "Microsof…
Setup Issues with SQL Reporting
Beta 3 Refresh Install Problem: SharePoi…
A Complex TFS Tolopogy Deploy.
Access reports in Team Explorer
TF30063: You are not authorized to acces…
Setting up users
TFS Client Fails To Connect TFS
Install TFS on Virtual Server R2
404 error alert when trying to connect t…
Permission problem when clients in anoth…

Hot Articles

Couldn't add user/group ...
Setup Issues with SQL Reporting
Quick Setup Error - ADAM install error, …
TFS Install error
Does TS support replication??
Installation succeeded, but localhost st…
The Team System cube either does not exi…
Reinstallation of Beta 3: Error 28704.Un…
Failed logon for user DOMAIN\tfsservice …
Dual-server setup / Impossible to specif…
Can't find Team Explorer
Security Issue when installing Sharepoin…
What is the effect of stopping windows F…
VS Client Cannot Connect to the TS server
TFSAdminUtil.exe not found!

Recommend Articles

Licensing Question
Some reports are not being updated
RC to RTM reports upgrade problem
Default Team Foundation Security Groups …
TFS service/reporting account passwords
VTS Beta 3 is a ".IMG" file, n…
TFS RC Install fails Health Check becaus…
Re: TFS error
KB912838 and KB913393
TF30177: Team Project Creation Failed (H…
Possible 32000 and 26105 error solutions
Error during setup
beta 3 has been released?
TF30177: Team Project Creation Failed
Moving Team Foundation Server to a diffe…