如何在跨域设置中设置测试控制器和测试代理. [英] How to setup a Test Controller and Test Agent in a cross domain setup.

查看:71
本文介绍了如何在跨域设置中设置测试控制器和测试代理.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装了带有TFS的域A和TFS测试控制器.在域B中,我有安装了测试代理的服务器.域之间没有信任关系.域之间开放端口6910 6901.我已经在上创建了本地用户帐户 控制器机器和测试代理机器上的所有机器都具有匹配的密码.本地帐户位于所有计算机上的管理员组中.我还将本地帐户放在3个特定组中的每个组中,以实现代理连接. 测试控制器机器(我知道这是矫kill过正,但无论如何). Windows防火墙在所有计算机上均已关闭.

I have Domain A with TFS and the TFS Test controller installed. In Domain B I have  servers with Test Agents installed. There is no trust between the domain. Ports 6910 6901 are open between the domains. I have created a local user account on the the controller machine and on the Test agent machines all the same with matching passwords. the local account is in the administrators group on all of the machines. I have also placed the local account in each of the 3 specific groups for agent connectivity on the test controller machine(I know that is overkill but whatever). Windows firewall is off on all machines.

我无法将测试代理计算机注册到测试控制器.当我尝试连接到控制器时,我一直收到一条消息.

I cannot register my test agent machines to the test controller. I keep getting a message when I try to connect to the controller saying.

"未能将该测试代理注册到测试控制器.可能的原因可能是您没有正确的权限来连接到测试控制器192.168.36.55:6901,测试控制器计算机上不存在登录帐户,或者 防火墙阻止了该连接.
要解决此问题,请验证您是测试控制器计算机上的本地管理员,测试控制器计算机上是否存在登录帐户TFSGuy,以及测试控制器计算机上的Windows防火墙设置是否具有文件和打印机". 共享"

"Failed to register this test agent with the test controller. Possible reasons could be you do not have the right permissions to connect to the test controller 192.168.36.55:6901, the log on account does not exist on the test controller machine, or a firewall is blocking the connection.
To fix this problem, verify that you are a local administrator on the test controller machine, that the log on account TFSGuy exists on the test controller machine, and that the Windows Firewall Settings on the test controller machine has "File and Printer Sharing""

因此该帐户存在,防火墙上没有阻塞,防火墙设置上没有任何设置.但是,我们确实看到需要为SMB打开端口445.似乎没有其他港口能脱颖而出.我们在这里缺少什么控制器 并在此配置中设置代理?谢谢您的答复.

So the account exists there is no blocking on the firewall there is nothing to set on the firewall settings. However we did see that we needed to have port 445 open for SMB. No other ports seem to be standing out. What are we missing here can the controllers and agents be setup in this configuration? Thanks for your replies.

推荐答案

谢谢您的发帖.

您用于安装和配置测试控制器,测试代理的帐户是什么?

What's the account you use to install and configure test controller, test agent?

如果计划在工作组中而不是域中的计算机上运行测试控制器和测试代理,或者在没有双向信任关系的不同域中运行的计算机上运行,​​则必须遵循这些规则步骤作为安装的一部分 过程.有关详细信息,您可以参考 设置测试控制器和测试代理以使用Visual Studio管理测试.
1.在将安装测试控制器或测试代理的每台计算机上,创建一个本地用户帐户,该帐户是Administrators组的成员.在每台计算机上使用相同的帐户和密码.
2.在安装和配置测试控制器时,请使用此用户帐户进行测试.
3.将此帐户添加到测试控制器计算机上的 TeamTestAgentService 组.
4.使用同一帐户安装和配置您的测试代理.

If you plan to run your test controllers and test agents on machines that are in a work group and not in a domain, or machines that run in different domains that do not have a two-way trust relationship, you must follow these steps as part of your installation process. For detail information, you can refer to Setting Up Test Controllers and Test Agents to Manage Tests with Visual Studio.
1. On each computer where you will install a test controller or a test agent, create a local user account that is a member of the Administrators group. Use the same account and password on each machine.
2. Use this user account for your test controllers when you install and configure them.
3. Add this account to the TeamTestAgentService group on the test controller machine.
4. Install and configure your test agents using this same account.

可供您参考的另一种情况: 域上的测试代理和测试控制器

Another case for you to refer:  test agent and test controller on different domains

此致


这篇关于如何在跨域设置中设置测试控制器和测试代理.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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