将TFS 2005从域迁移到另一个域时出现问题 [英] Problems migrating TFS 2005 from a domain to another

查看:112
本文介绍了将TFS 2005从域迁移到另一个域时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!!!!我们正在尝试将我们的域名迁移到新域名,因为旧域名失败了,唯一的解决办法是创建一个新域名。

新域的调用方式与旧域相同,我们的两个域都被调用:PDC2。

我开始按照msdn说明指南进行迁移,将TFS服务器从环境更改为另一个。在第16步中,我们要求编写以下内容:

TfsAdminUtil ChangeAccount NombreEquipoAntiguo \ CuentaServicioTFSAntigua NuevoDominio \\ \\ CuentaServicioTFSNuevaNuevaContraseña


所以,我们写道: TfsAdminUtil ChangeAccount PDC2 \ TFSSERVICE PDC2 \ TFSSERVICE TFSSERVICE


它向我们显示以下错误:更新数据库服务器上的服务帐户:10.0.0.31 failed:La entidad de base de datos posee esquema en la base de datos。 No se puede quitar。


我认为在英语中它会是这样的:数据库中的实体拥有数据库上的模式。无法删除。


我在互联网上查看,他们建议运行以下查询,但它没有显示任何内容:


选择


s。*,


p。*


来自


sys .schemas as S


内部联接


sys.database_principal_id


其中


P. [name] ='user_service_account'


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


在我们写的用户服务帐户中:tfsservie


我们还尝试编写: TfsAdminUtil ChangeAccount tfserver4 \ TFSSERVICE PDC2 \ TFSSERVICE TFSSERVICE


tfserver4 =是服务器的名称。这样做会在流程结束时生成以下错误:无法访问数据库。


但我们认为这不是正确的方法,因为我们正在从域迁移到另一个域,而不是从工作组到域。


因此,我们不知道我们可以做些什么来解决这个问题并继续迁移,或者是否有另一个程序将我们的TFS服务器从一个域迁移到另一个域。



非常感谢您的帮助,我们真的很赞赏它。



糖果。





解决方案

你好,

我只能告诉你我正在努力解决相同的问题,尽管情况并不完全相同。
显然,迁移/移动程序很难处理跨域迁移。

另一方面,我看到你保持相同的d域名和同一组用户。因此,你应该做的唯一考虑就是照顾SID:

 


> tfsadminutil sid


(列出SID以检查情况)


> tfsadminutil sid /更改 PDC2 PDC2



您是否也保持密码相同?然后,您应该执行> TfsAdminUtil ChangeAccount PDC2 \ TFSSERVICE PDC2 \ TFSSERVICE newpassword

希望它有所帮助,
Marius

Hello everyone!!!

We are trying to migrate our domain to a new one because the old one failed and the only solution was to create a new one.

The new domain is called the same way as the old one, our both domains are called: PDC2.

I started to make the migration following the msdn instructions guide to change the TFS server from a enviroment to another. In the step number 16.  we are asked to write the following:

TfsAdminUtil ChangeAccount NombreEquipoAntiguo \CuentaServicioTFSAntigua NuevoDominio \CuentaServicioTFSNueva NuevaContraseña

So, we wrote:   TfsAdminUtil ChangeAccount PDC2\TFSSERVICE PDC2\TFSSERVICE TFSSERVICE

It show us the following error: Update service account on database server: 10.0.0.31 failed: La entidad de base de datos posee esquema en la base de datos. No se puede quitar.

I think in english it would be something like:  The entity from the database owns a schema on the database. Cannot be removed.

I was looking on the internet and they suggested to run the following query but it show us nothing:

         select

          s.*,

          p.*

          from

          sys.schemas as S

          inner join

          sys.database_principal_id

          where

          P. [name]='user_service_account'

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

In the user service account we wrote: tfsservie

We also tried writing: TfsAdminUtil ChangeAccount tfserver4\TFSSERVICE PDC2\TFSSERVICE TFSSERVICE

tfserver4= is the name of the server.  Doing it this way generates the following error at the end of the process: Could not acces the data base.

But we think this is not the right way because we are migrating from a domain to another domain and not from a workgroup to a domain.

So, we don´t know what can we do to solve this issue and keep going with the migration, or if there is another procedure to migrate our TFS server from one domain to another.

 

Thank you very much for your help, we really apreciate it.

 

            Candy.



解决方案

Hello,

I can tell you only that I am struggling with the same issues, although it's not exactly the same scenario.
Apparently the migration across domains is very poorly handled by the migration/move procedures.

On the other hand, I see that you are keeping the same domain name and the same set of users. So the only think you should do is to take care of the SIDs:

 

>tfsadminutil sid

(list the SIDs to check the situation)

>tfsadminutil sid /change PDC2 PDC2


Are you keeping the passwords identical, too? You should then execute
>TfsAdminUtil ChangeAccount PDC2\TFSSERVICE PDC2\TFSSERVICE newpassword

Hope it helps,
Marius


这篇关于将TFS 2005从域迁移到另一个域时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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