TFS 配置 [英] TFS Configuration

查看:42
本文介绍了TFS 配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将一系列数据库中的数据恢复到新服务器上.到目前为止,我采取的步骤是:

I am trying to restore data from a series of databases onto a new server. The steps I have taken so far are:

  • 将备份文件(和事务日志)复制到新服务器
  • 使用 SQL Server 2012 还原每个数据库
  • 尝试在 TFS 2015(与LIVE"服务器版本相同)中运行仅应用层配置工具.

当向导运行时,我完成了初始检查,当它尝试启动配置时,我收到以下错误.

When the wizard runs I get through the initial checks and the when it attempts to start the configuration I get the below error.

任何人都可以提出问题可能是什么(我尝试过 remapdb,但语法一直错误)?

Can anyone suggest what the problem may be (I have tried remapdb but keep getting the syntax wrong)?

错误文本:

TF255356:配置 Team Foundation 数据库时出现以下错误:TF246083:Team Foundation Server 的配置无效.您必须重新映射数据库才能修复配置.从服务器收到以下错误:TF400673:无法在指定的实例中找到任何兼容的 SQL Analysis Services 数据库.'2' 台主机已获得更新的连接字符串.

TF255356: The following error occurred when configuring the Team Foundation databases: TF246083: The configuration of Team Foundation Server is not valid. You must remap the databases in order to fix the configuration. The following error was received from the server: TF400673: Unable to find any compatible SQL Analysis Services database within the specified instance. '2' hosts have been given updated connection strings.

推荐答案

似乎您正在尝试克隆服务器.请确保您完全按照说明进行操作:将 Team Foundation Server 从一个硬件移动或克隆到另一个硬件将数据恢复到与当前 TFS 不同的服务器

Seems you are trying to Clone a server. Please make sure you exactly following the instruction : Move or Clone Team Foundation Server from one hardware to another or Restore data to a different server than the current one for TFS

无论如何,您可以参考以下信息快速解决问题:根据错误信息,您似乎还没有恢复TFS_Analysis 数据库.

Anyway, you can refer below info to fix the issue quickly: According to the error message, seems you have not restored the TFS_Analysis database.

(更多信息请查看 Chaminda 的博客 - 准备恢复的数据库)

(More information please see Chaminda's Blog - Prepare Restored Databases)

  1. 首先恢复TFS_Analysis 数据库.(如果恢复了,就尝试删除它,然后再次恢复)
  2. 然后运行 ​​PrepareClone 命令检查是否有任何错误.(你必须先运行这个命令配置克隆的 TFS 的 AT)

  1. Restore the TFS_Analysis database first. (If that restored, just try to remove it, then restore it again)
  2. Then run the PrepareClone command to check if there are any errors. (You must run this command before configuring AT of your cloned TFS)

TFSConfig PrepareClone/SQLInstance:ServerName/DatabaseName:TFSConfigurationDatabaseName/notificationURL:ApplicationTierURL

准备克隆后,执行 ChangeServerID 命令更改与 TFS 数据库关联的服务器 GUID.

After prepare clone, execute the ChangeServerID command to change the server GUIDs associated with the TFS databases.

TFSConfig ChangeServerID/SQLInstance:ServerName/DatabaseName:ConfigurationDatabaseName

之后,执行RemapDBs 命令将 TFS 重定向到新硬件中的数据库.

After that, execute RemapDBs command to redirect TFS to its databases in new hardware.

TFSConfig RemapDBs/DatabaseName:ServerName;ConfigurationDatabaseName/SQLInstances:ServerName1,ServerName2 [/AnalysisInstance:ServerName] [/AnalysisDatabaseName:DatabaseName] [/preview] [/continue] [/usesqlalwayson]

这篇关于TFS 配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆