TF30040: 数据库配置不正确.请联系您的 Team Foundation Server 管理员.需要的建议 [英] TF30040: The database is not correctly configured. Contact your Team Foundation Server administrator. Advice Needed

查看:52
本文介绍了TF30040: 数据库配置不正确.请联系您的 Team Foundation Server 管理员.需要的建议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在按照 [本 YouTube 教程] (https://www.youtube.com/watch?v=nm-WOLc-GQQ) 作者:Mohamed Radwan.

I am carrying out a dry-run of an imminent TFS 2010 migration upgrade to TFS 2013.5 on a dedicated Windows Server 2012 R2 Datacenter host, following the steps in [this YouTube tutorial] (https://www.youtube.com/watch?v=nm-WOLc-GQQ) by Mohamed Radwan.

目的是让新实施的 TFS 2013 与 TFS 2010 实例同时运行几天,同时我们验证迁移升级.一切顺利后,我们将完全切换到 TFS 2013 实例,并停用在 Windows Server 2008 R2 Enterprise 上实施的 TFS 2010 实例.

The intention is to keep the newly-implemented TFS 2013 running simultaneously with the TFS 2010 instance for a few days while we validate the migration upgrade. Once satisfied all's gone well, we'll then complete a full switch to the TFS 2013 instance and decommission the TFS 2010 instance which is implemented on a Windows Server 2008 R2 Enterprise.

本教程建议使用 TFSConfig 备份和还原实用程序来备份现有的 TFS 2010 数据库和报告服务密钥,然后将它们还原到 TFS 2013 主机上的 SQL Server 2014 实例.

The tutorial recommends using the TFSConfig Backup and Restore utilities to backup the existing TFS 2010 databases and reporting services key and then restoring them to my SQL Server 2014 instance on the TFS 2013 host.

在数据库和报告密钥恢复也成功完成之后,我试图遵循包括 Microsoft 支持在内的各种来源建议的 TFS 克隆建议,按以下顺序运行这些 TFSConfig 命令:

Following the database and reporting key restore which has also completed successfully, I sought to adhere to the TFS cloning recommendation advised by various sources including Microsoft Support, by running in the following order, these TFSConfig commands:

  1. TFSConfig PrepareClone
  2. TFSConfig 更改服务器 ID
  3. TFSConfig RemapDB

问题是,当我尝试运行 PrepareClone 命令时,我不断收到 TF30040 错误消息(根据此线程的主题标题).然而,在我继续进行并运行 ChangeServerID 和 RemapDB 命令的几次中,它们成功完成.

Problem is, when I attempt running the PrepareClone command, I keep getting the TF30040 error message (as per this thread's subject title). On the few times that I've proceeded regardless and run the ChangeServerID and RemapDB commands however, they complete successfully.

我迫切需要一些帮助来解决此 TF30040 错误,因为所有尝试应用其他相关事件中提出的某些解决步骤的尝试都以惨败告终.找到解决方案很重要,因为我们打算在验证和验证 TFS 2013 升级的同时运行这两个实例几天.

I desperately need some help resolving this TF30040 error, as all attempts to apply some of the resolution steps proposed in other related incidents have failed miserably. It's important I find a resolution due to the fact we're intending to run the two instances for a few days while verifying and validating the TFS 2013 upgrade.

我的另一个关键问题是,尽管我成功执行了 ServerID 和 RemapDB 命令,但我是否必须成功执行 TFS PrepareClone 命令?换句话说,在这 2-3 天的验证测试中,忽略 PrepareClone 故障并继续同时运行 TFS 2010 和 TFS 2013 实例是否安全?

Another key question I have is whether it is mandatory that I successfully execute the TFS PrepareClone command, despite the fact I'm successful executing the ServerID and RemapDB commands? In other words, is it safe to ignore the PrepareClone failure and proceed with the simultaneous running of both TFS 2010 and TFS 2013 instances for those 2-3 days of validation testing?

推荐答案

如果不运行 PrepareClone 命令,原始资源将被新服务器和新服务器使用.如果原始服务器和新服务器都处于活动状态并且在任意时间内指向相同的 SharePoint 或报告资源,您最终可能会损坏数据库.

If you don't run PrepareClone command, the original resources will be used by both the original and the new servers. If both the original and the new servers are live and point to the same SharePoint or reporting resources for any amount of time, you could end up with corrupted databases.

您可以同时保留一台服务器.或者尝试使用无法访问生产环境的新服务帐号来运行命令:

You may keep one server live at the same time. Or try to use a new service account that has no access to production environment to run the command:

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

这篇关于TF30040: 数据库配置不正确.请联系您的 Team Foundation Server 管理员.需要的建议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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