index > Team Foundation Server - Administration > Restore TFS to a different server

Restore TFS to a different server


The Back Up-Restore process was made according to the following articles:

BackUp

1) http://blogs.msdn.com/vstsue/articles/511396.aspx

Restore

2) http://msdn2.microsoft.com/en-us/library/ms252516.aspx

A backup-copy of TFS on the <Serv_1> had been made and then restored on the <Serv_2>. When TFS had started it gave the sequence of the following errors in Application Event Log:

Event Type: Error
Event Source: TFS Services
Event Category: None
Event ID: 3021
Date: 26.05.2006
Time: 16:29:14
User: N/A
Computer: Serv_2
Description:
TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff.
Technical Information (for the administrative staff):
Date (UTC): 26.05.2006 13:29:14
Machine: Serv_2
Application Domain: /LM/W3SVC/3/Root/services-1-127931237470667557
Assembly: Microsoft.TeamFoundation.Server, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727
Process Details:
Process Name: w3wp
Process Id: 1804
Thread Id: 3836
Account name: Domain\tfsidentity

Detailed Message: TF53007: The application tier name Serv_1 recorded in the database does not match the local machine name Serv_2. Please contact your Team Foundation Server administrator.

*****************************

Event Type: Error
Event Source: Tfs
Event Category: None
Event ID: 3059
Date: 26.05.2006
Time: 16:29:21
User: N/A
Computer: Serv_2
Description:
TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff.
Technical Information (for the administrative staff):
Date (UTC): 26.05.2006 13:29:21
Machine: Serv_2
Application Domain: TFSServerScheduler.exe
Assembly: Microsoft.TeamFoundation.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727
Process Details:
Process Name: TFSServerScheduler
Process Id: 2236
Thread Id: 3760
Account name: Domain\tfsidentity

Detailed Message: TF50801: The TFSServerScheduler service did not initialize. The Team Foundation Registration Service returned the following error: The request failed with HTTP status 503: TF53007: The application tier name Serv_1 recorded in the database does not match the local machine name Serv_2. Please contact your Team Foundation Server administrator.

*****************************

Event Type: Error
Event Source: TFS Services
Event Category: None
Event ID: 3055
Date: 26.05.2006
Time: 16:29:22
User: N/A
Computer: Serv_2
Description:
TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff.
Technical Information (for the administrative staff):
Date (UTC): 26.05.2006 13:29:22
Machine: Serv_2
Application Domain: /LM/W3SVC/3/Root/services-1-127931237470667557
Assembly: Microsoft.TeamFoundation.Server, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727
Process Details:
Process Name: w3wp
Process Id: 1804
Thread Id: 3308
Account name: Domain\tfsidentity

Detailed Message: TF50621: GSS: Failed to retrieve identity from source : [S-1-5-21-1582758608-1126111627-1400566485-1267]
Exception Message: Thread was being aborted. (type ThreadAbortException)

Exception Stack Trace: at System.DirectoryServices.ActiveDirectory.NativeComInterfaces.Pathname..ctor()
at System.DirectoryServices.ActiveDirectory.DirectoryEntryManager..ctor(DirectoryContext context)
at System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context)
at Microsoft.TeamFoundation.Server.IdentityStoreAccessor.GetDomainDirectoryEntry(String domain)
at Microsoft.TeamFoundation.Server.IdentityStoreAccessor.ReadIdentityFromAD(String domain, String username)
at Microsoft.TeamFoundation.Server.IdentityStoreAccessor.ReadIdentityFromSource(String sid)

*****************************

Event Type: Error
Event Source: TFS Services
Event Category: None
Event ID: 3058
Date: 26.05.2006
Time: 16:29:22
User: N/A
Computer: Serv_2
Description:
TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff.
Technical Information (for the administrative staff):
Date (UTC): 26.05.2006 13:29:22
Machine: Serv_2
Application Domain: /LM/W3SVC/3/Root/services-1-127931237470667557
Assembly: Microsoft.TeamFoundation.Server, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727
Process Details:
Process Name: w3wp
Process Id: 1804
Thread Id: 3308
Account name: Domain\tfsidentity

Detailed Message: TF50642: A problem occurred updating the Identity grp-TFS-Team Foundation Administrators (with SID S-1-5-21-1582758608-1126111627-1400566485-1267). Changes to this Identity and any of its members have not been propagated into the Team Foundation Server database. The Team Foundation Server will retry the update at the next scheduled synchronization.
Exception Message: TF50604: There was an error getting identity information from Active Directory. (type ActiveDirectoryAccessException)

Exception Stack Trace: at Microsoft.TeamFoundation.Server.IdentityStoreAccessor.ReadIdentityFromSource(String sid)
at Microsoft.TeamFoundation.Server.IdentityCache.ReadIdentityFromSourceWrapper(String sid, Dictionary`2 membersList, Dictionary`2 syncList)

Inner Exception Details:

Exception Message: Thread was being aborted. (type ThreadAbortException)

Exception Stack Trace: at System.DirectoryServices.ActiveDirectory.NativeComInterfaces.Pathname..ctor()
at System.DirectoryServices.ActiveDirectory.DirectoryEntryManager..ctor(DirectoryContext context)
at System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context)
at Microsoft.TeamFoundation.Server.IdentityStoreAccessor.GetDomainDirectoryEntry(String domain)
at Microsoft.TeamFoundation.Server.IdentityStoreAccessor.ReadIdentityFromAD(String domain, String username)
at Microsoft.TeamFoundation.Server.IdentityStoreAccessor.ReadIdentityFromSource(String sid)

*****************************

Event Type: Error
Event Source: TFS Services
Event Category: None
Event ID: 3018
Date: 26.05.2006
Time: 16:29:22
User: N/A
Computer: Serv_2
Description:
TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff.
Technical Information (for the administrative staff):
Date (UTC): 26.05.2006 13:29:22
Machine: Serv_2
Application Domain: /LM/W3SVC/3/Root/services-1-127931237470667557
Assembly: Microsoft.TeamFoundation.Server, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727
Process Details:
Process Name: w3wp
Process Id: 1804
Thread Id: 3308
Account name: Domain\tfsidentity

Detailed Message: Update identity cache
Exception Message: Thread was being aborted. (type ThreadAbortException)

Exception Stack Trace: at Microsoft.TeamFoundation.Server.IdentityCache.SyncIdentity(Identity idToSync, Boolean syncChildren, Dictionary`2 syncedGroups, DateTime sourceTimeStamp, Int32& sequenceId)
at Microsoft.TeamFoundation.Server.IdentityCache.SyncWithWindows(Identity idToSync)
at Microsoft.TeamFoundation.Server.BackgroundCacheManager.SyncGroup(Object group)

======================================================================

It has to be mentioned that I've discovered a lot of entrances of <Serv_1> in Report Service, Share Point and TFS databases. So may be the article (2) is not completely correct. I tried to correct tables manually but with the same result.

Are there any ideas or suggestionst regarding to this problem?

Dmitry N. Oleshko

It sounds like the step involving tfsadminutil either wasn't run, or hit some sort of error.

Can you confirm you ran the steps in the restore guide under "Configure the Application Tier to Use the New Data Tier"? If so, did you by any chance save the output from the tfsadminutil command? That may help us figure out why it's still not working...




Chris Rathjen
CRathjen-MSFT

In addition to what Chris said, the error you got of "TF53007: The application tier name Serv_1 recorded in the database does not match the local machine name Serv_2" means that the pointer we store in the database is still pointing at the old server. This means that you either didn't run the "tfsadminutil activateat" step, or it failed, or it ran against the wrong database.

  • if you haven't run it, run it and see if that takes care of the issue
  • if you ran it and it had failed, post a reply here to let us know how it failed
  • if you ran it and it seemed to work, check the ConnectionString property in %ProgramFiles%\Microsoft Team Foundation 2005\Web Services\Services\web.config to make sure it's pointing at the right data tier name.



Team Foundation Server - http://blogs.msdn.com/jmanning/
James Manning MSFT

Thank you for paying your attention to my question, but

There is an important addition to the description of my problem.

I tried to restore NOT ONLY a data-tier but also an application-tier to a new server.

So, the procedure described in (2) is not applicable for my case.

Now I'm in search for instructions on how to restore both Application and Data tiers on a new server. Of course if it is possible.

I will appreciate any suggestions in this direction.

Dmitry N. Oleshko

Hi Dmitri,

 

I restored both application and data tier. On new servers, I installed ?減ure??application and data tier with same name as old TF servers (of course, old TF servers was down), I made backup TF databases (in advance) and  by the procedure ??ow to: Restore Team Foundation Server Data??I attached these databases to new data tier.

 

Regards

 




Software configuration manager
janko

Hi Dmitri,

the procedure I described above is not correct. The problems occur later and I didn't notice them at this time.

You have to follow next blogs:

http://blogs.msdn.com/vstsue/articles/558116.aspx

Thanks

Janko




Software configuration manager
janko

this one is much better..

i followed this and all went smooth...

http://msdn2.microsoft.com/en-us/library/ms404869.aspx




im just 20 year old.. but i want to be great in programming like an adult.
ogiepogi

Hi,

Finally, I have finished the migration TFS to another hardware, following

http://msdn2.microsoft.com/en-us/library/ms404869.aspx, but...

in item "to restore and verify Report Server on the new Team Foundation Server,

item "If you are running SQL Report Server Enterprise Edition, doesn't work".

You have to use item "if you are running SQL Report Server Standard Edition" (althaugh you have Enterprise edition).

Thanks

Janko




Software configuration manager
janko
reply 8

You can use google to search for other answers

 

More Articles

Create New project using macro
Custom team project creation failed on RTM with TF30162
SPWeb.SearchListItems is not working (sharepoint)
Error creating team project with RTM
project import/export?
Migrate Team System Data Base
Add users from a trusted NT domain
error when creating a new project in TFS
Custom Work Item - Rules
Pointless documentation.
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

Cannot connet to VMWare TFS from a other…
Can't add /remove users to either some […
Numerous errors in the Application Event…
Project Alert doesn't work after office …
Check if the App Pool account is a membe…
Removing project files from source contr…
How to backup of individual team projects?
Defect Tracking across projects
TF31002 unable to connect on 2 different…
Does TFS send alerts/notifications? if s…
Rename my projects
Cube not updating
Can we mange the notification for all th…
How do I check search for All files that…
PVCS to TFS conversion?

Hot Articles

Where's the log?
Explorer
Setting up Web Site on Different Server
TF53010: An unexpected condition has occ…
Team Project Creation Failed
link tfsredirect.aspx to queries?
Windows Groups - TFS does not see new us…
Question about changing the Assigned To …
Saving Requirements Documents
Project Alert Administration
How can I undelete a document from Proje…
Two dialogs for users management in Team…
How do I check search for All files that…
TFS authentication issue after server is…
GroupsandPermissions - I could have sworn

Recommend Articles

Error when subscribing event using the API
How can I manege my project to becomes
Accidentally deleted the only licensed u…
Where i can see about what TFS Version i…
In SQL SERVER 2005 need database, before…
TFS Project Structure creation
How to sort the Library name in Quick La…
TF53010: An unexpected condition has occ…
no notifications...
TFS RC - Data Tier Analisys Service - Go…
show project portal
Restore-move but re-create Sharepoint
TFS not able to check in file
TFS building Warehouse during restore
Pointless documentation.