windows DTCPing 和 DTCTester 有什么区别?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/159173/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 11:21:53  来源:igfitidea点击:

What's the difference between DTCPing and DTCTester?

windowstransactionsmsdtc

提问by Esteban Araya

I've used DTCTester before to diagnose MSDTC problems. However, I just noticed DTCPing seems to do about the same thing. What's the difference between these two?

我之前使用过 DTCTester 来诊断 MSDTC 问题。但是,我只是注意到 DTCPing 似乎做了同样的事情。这两者有什么区别?

From what I can tell so far, DTCPing needs to run on both client and server machines, whereas DTCTester only needs to run from the client. Are there any other differences?

据我目前所知,DTCPing 需要在客户端和服务器机器上运行,而 DTCTester 只需要从客户端运行。还有其他区别吗?

采纳答案by Yossi Dahan

Testing DTC settings is very common when installing BizTalk Server, so from the BTS documentation, so - from http://msdn.microsoft.com/en-us/library/aa561924.aspx

安装 BizTalk Server 时测试 DTC 设置非常常见,因此来自 BTS 文档,因此 - 来自http://msdn.microsoft.com/en-us/library/aa561924.aspx

Use the DTCTester utility to verify transaction support between two computers if SQL Server is installed on one of the computers. The DTCTester utility uses ODBC to verify transaction support against a SQL Server database. For more information about DTCTester see How to Use DTCTester Tool.

Use DTCPing to verify transaction support between two computers if SQL Server is not installed on either computer. The DTCPing tool must be run on both the client and server computer and is a good alternative to the DTCTester utility when SQL Server is not installed on either computer. For more information about DTCPing, see How to troubleshoot MS DTC firewall issues.

如果 SQL Server 安装在其中一台计算机上,则使用 DTCTester 实用程序来验证两台计算机之间的事务支持。DTCTester 实用程序使用 ODBC 来验证对 SQL Server 数据库的事务支持。有关 DTCTester 的更多信息,请参阅如何使用 DTCTester 工具。

如果 SQL Server 未安装在两台计算机上,则使用 DTCPing 验证两台计算机之间的事务支持。DTCPing 工具必须同时在客户端和服务器计算机上运行,​​并且当 SQL Server 未安装在任何一台计算机上时,它是 DTCTester 实用程序的一个很好的替代方案。有关 DTCPing 的详细信息,请参阅如何解决 MS DTC 防火墙问题。

回答by LCJ

This is not a direct answer to this question – but an important point to note.

这不是对这个问题的直接回答——而是一个需要注意的重要点。

  1. The DTCPingwindows application should be open in both the servers before you start test.

  2. As per How To Use DTCTesterTool

  1. DTCPingWindows应用程序应该是开放在两个服务器在开始测试之前。

  2. 根据如何使用DTCTester工具

Create an ODBC data sourcefor your SQL Server through the ODBC utility in Control Panel.

通过控制面板中的 ODBC 实用程序为您的 SQL Server创建ODBC 数据源

References:

参考:

  1. MSDTC problems
  2. MSDTC THROUGH A FIREWALL TO AN SQL CLUSTER WITH RPC
  3. Troubleshooting MSDTC issues with the DTCPing tool
  1. MSDTC 问题
  2. MSDTC 通过防火墙到使用 RPC 的 SQL 集群
  3. 使用 DTCPing 工具对 MSDTC 问题进行故障排除