gpt4 book ai didi

MSDTC/DTCPing 仅在一个方向上工作

转载 作者:行者123 更新时间:2023-12-02 22:02:41 26 4
gpt4 key购买 nike

如果我设置了两台 Windows Server 2008 r2 机器,我可以让分布式事务仅在一个方向上工作。当我可以使 DTCPing 成功工作时,DTC 正在工作。不过,DTCPing 仅在我从一台机器向另一台机器启动测试时才起作用,反之则不然。

让我们将我的机器称为应用程序和数据库。

如果我在两个关键应用程序上启动 DTCPing 到数据库上的实例并按 Enter 键,DTCPing 就会反射(reflect)成功。

如果我在应用程序上的实例上启动 DTCPing 和 key 数据库,我不会收到任何表明发生故障的信息,它只是无法运行完成。看起来它完成了 rpc 测试,但没有继续进行绑定(bind)测试。日志确实反射(reflect)了一个错误,但我的理解是它与集群检查有关,并且这些机器不在集群中,这并不重要。如果这是不正确的,请通知我,但是当我按照成功的方向执行 DTCPing 时,我确实在日志中看到了相同的错误。

应用程序 DTCPing 窗口中的输出显示:

DTCping log file: C:\DTCPing\APP1840.log
RPC server is ready
Please Start Partner DTCping before pinging
++++++++++++Validating Remote Computer Name++++++++++++
Please refer to following log file for details:
C:\DTCPing\APP1840.log
Invoking RPC method on database
RPC test is successful
++++++++++++RPC test completed+++++++++++++++
Please start PING from database to complete the test

数据库窗口中的输出显示:

DTCping log file: C:\DTCPing\DATABASE1612.log
RPC server is ready
Please Start Partner DTCping before pinging
Please send following LOG to Microsoft for analysis:
Partner LOG: APP1840.log
My LOG: DATABASE1612.log

登录应用程序是这样的:

IP Configure Information
Host Name . . . . . . . . . : app
DNS Servers . . . . . . . . : 10.40.100.2
10.60.100.2
Node Type . . . . . . . . . : Hybrid
NetBIOS Scope ID. . . . . . :
IP Routing Enabled. . . . . : no
WINS Proxy Enabled. . . . . : no
NetBIOS Resolution Uses DNS : no

Ethernet adapter {870B0C62-7C24-482A-ACCD-61B112ED77EB}:

Description . . . . . . . . : vmxnet3 Ethernet Adapter #5
Physical Address. . . . . . : 00-50-56-01-01-9B
DHCP Enabled. . . . . . . . : no
IP Address. . . . . . . . . : 10.45.20.50
Subnet Mask . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . : 10.45.20.1
DHCP Server . . . . . . . . :
Primary WINS Server . . . . :
Secondary WINS Server . . . :
Lease Obtained. . . . . . . : Thu Jan 01 00:00:00 1970
Lease Expires . . . . . . . : Thu Jan 01 00:00:00 1970

++++++++++++lmhosts.sam++++++++++++

++++++++++++hosts ++++++++++++

02-08, 12:49:53.496-->Error(0x424) at clutil.cpp @256
02-08, 12:49:53.496-->-->OpenCluster
02-08, 12:49:53.496-->-->1060(The specified service does not exist as an installed service.)
++++++++++++++++++++++++++++++++++++++++++++++
DTCping 1.9 Report for APP
++++++++++++++++++++++++++++++++++++++++++++++
RPC server is ready
++++++++++++Validating Remote Computer Name++++++++++++
02-08, 12:50:03.589-->Start DTC connection test
Name Resolution:
database-->10.45.20.48-->database
02-08, 12:50:03.667-->Start RPC test (APP-->database)
RPC test is successful
Partner's CID:FF897F99-E4A4-47EE-9FD2-6B09BED00B86
++++++++++++RPC test completed+++++++++++++++

登录数据库是这样的:

IP Configure Information
Host Name . . . . . . . . . : database
DNS Servers . . . . . . . . : 10.40.100.2
10.60.100.2
Node Type . . . . . . . . . : Hybrid
NetBIOS Scope ID. . . . . . :
IP Routing Enabled. . . . . : no
WINS Proxy Enabled. . . . . : no
NetBIOS Resolution Uses DNS : no

Ethernet adapter {FCCFD12A-F8C1-4EB8-87D1-E2C2CFC07AB9}:

Description . . . . . . . . : vmxnet3 Ethernet Adapter #6
Physical Address. . . . . . : 00-50-56-01-01-99
DHCP Enabled. . . . . . . . : no
IP Address. . . . . . . . . : 10.45.20.48
Subnet Mask . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . : 10.45.20.1
DHCP Server . . . . . . . . :
Primary WINS Server . . . . :
Secondary WINS Server . . . :
Lease Obtained. . . . . . . : Thu Jan 01 00:00:00 1970
Lease Expires . . . . . . . : Thu Jan 01 00:00:00 1970

++++++++++++lmhosts.sam++++++++++++

++++++++++++hosts ++++++++++++

02-08, 12:49:47.953-->Error(0x424) at clutil.cpp @256
02-08, 12:49:47.953-->-->OpenCluster
02-08, 12:49:47.953-->-->1060(The specified service does not exist as an installed service.)
++++++++++++++++++++++++++++++++++++++++++++++
DTCping 1.9 Report for DATABASE
++++++++++++++++++++++++++++++++++++++++++++++
RPC server is ready
02-08, 12:50:02.822-->RPC server:DATABASE received following information:
Network Name: database
Source Port: 49198
Partner LOG: APP1840.log
Partner CID: C94B257A-E177-4DFE-BC29-A33740ED59D9

我是否应该期望 MSDTC 通常在两个方向上工作?我会看到这种行为有什么原因吗?

最佳答案

这个问题从来没有得到解决。最终只是让交易朝着正确的方向进行,而放弃了让交易双向进行。

关于MSDTC/DTCPing 仅在一个方向上工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14780514/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com