se ho installato due macchine windows server 2008 r2, posso ottenere transazioni distribuite per lavorare in una sola direzione. quando riesco a far funzionare DTCPing con successo, il DTC sta funzionando. DTCPing, però, funziona solo quando avvii il test da una macchina all'altra, e non viceversa.MSDTC/DTCPing funziona in una sola direzione
chiamiamo app e database della mia macchina.
se avvio DTCP su entrambe le app chiave nell'istanza sul database e premere invio, DTCPing riflette il successo.
se avvio DTCP su entrambi e il database delle chiavi nell'istanza sull'app, non ottengo nulla che dice che si è verificato un errore, ma non viene eseguito fino al completamento. sembra che completi il test rpc, ma non procede al test di binding. i registri riflettono un errore, ma la mia comprensione è che è correlato a un controllo del cluster e queste macchine non sono in cluster e che non ha importanza. se ciò non è corretto, si prega di informarmi, ma io vedo lo stesso errore nel registro quando faccio il DTCPing nella direzione che riesce.
l'output nella finestra DTCPing in applicazione mostra questo:
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
l'output nella finestra sulla base di dati mostra questo:
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
il registro su App è questo:
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+++++++++++++++
il database di accesso è il seguente:
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
devo aspettarmi che MSDTC funzioni normalmente in entrambe le direzioni? c'è un motivo per vedere questo comportamento?
Si noti inoltre che disinstallando msdtc, riavviando e reinstallando, è possibile invertire quale macchina è in grado di avviare il test e di completarlo correttamente, ma funziona comunque solo in una direzione. –
Hai mai risolto questo? –
no, mai fatto - grazie per avermelo ricordato - dovrei aggiungere una risposta a tale effetto –