MSDTC Recommendations on SQL Failover Cluster

Published Jan 15 2019 03:30 PM 15.7K Views
Microsoft

First published on MSDN on Jan 15, 2014

The purpose of the following FAQ (Frequently Asked Questions) is to address common questions with MSDTC (Microsoft Distributed Transaction Coordinator) when used with SQL Server Failover Clustered instances to include current recommendations and best practices.

 

 

 

Index





FAQ's

 

 

 

Purpose of this MSDTC FAQ.



    • MSDTC is a separate Windows service which coordinates distributed transactions across SQL Server instances.
      When deploying SQL Server in a highly available environment like Windows Failover Clustering, there are certain best practices that can make the MSDTC service’s behavior more predictable.



Back to Index

 

 

 

What is MSDTC?



    • MSDTC is an acronym for Microsoft Distributed Transaction Coordinator. The Microsoft Distributed Transaction Coordinator service (MSDTC) tracks all parts of the transactions process, even over multiple resource managers on multiple computers. This helps ensure that the transaction is committed, if every part of the transaction succeeds, or is rolled back, if any part of the transaction process fails.



Back to Index

 

 

 

Do we need MSDTC for SQL Installation?



    • SQL 2005 does require MSDTC for setup, since it uses a transactions to control setup on multiple nodes. However, SQL Server 2008/2008R2/2012 and SQL 2014 setup does NOT require MSDTC to install SQL.

 

    • MSDTC is only needed for transactions etc. after installation.



Back to Index

 

 

 

Is MSDTC Supported when using AlwaysON Availability Groups?



    • When the topic of cross-database and/or DTC transaction support, under an Availability Group, comes up the quick response is NOT SUPPORTED!

 



Back to Index

 

 

 

Do I Need to Cluster MSDTC after SQL installation?



    • With Windows 2008 Failover cluster and later you do not need to cluster MSDTC to utilize the functionality of the MSDTC service. This is because MSDTC was re-designed in Windows 2008 and unlike Windows 2003 if Windows Failover Cluster was installed you had to cluster MSDTC. This is no longer the case when using Windows 2008, since by default MSDTC service is running locally, even with Failover Clustering installed.

 

    • Currently there is some documentation that states you need to have a MSDTC Resource in your cluster.
      I want to start out by emphasizing that the statement "You must install MSDTC is not 100 percent accurate." The statement does not take into account the OS and the changes with MSDTC in Windows 2008 and later.



Back to Index

 


Why did I need to Cluster MSDTC in Windows 2003?



    • You only need to create the MSDTC resource in the Failover Cluster if you are installing on Windows 2003 Failover Cluster.



      • The reason you needed to create a MSDTC resource was because of the design of MSDTC in Windows 2003.

 

      • In 2003 when the MSDTC service starts as local service it checks to see if cluster is installed. If Cluster is installed the MSDTC Service would not allow you to run it outside of the Cluster Server Service. So it would shut down and to get the service to start or you need to ensure that the MSDTC was started by the cluster service via the Distributed Coordinator Clustered Resource.



    • This is why you needed to create an MSDTC resource in a Windows 2003 Cluster to use the MSDTC functionality.



Back to Index

 

 

 

What is the downside in clustering MSDTC in Windows 2003?



    • The down side to this functionality is that in Windows 2003 Cluster you can only have one MSDTC resource for your entire cluster which can cause a performance bottle neck.



For example:

 

Let's assume you have a 2 (or More Node) Windows 2003 Failover Cluster installation.
You have created a MSDTC resource, Network Name, IP Address resource and a Disk resource set as dependent resources all contained in its own group, which is owned by Node 1.
Now in addition you have 1 or more SQL Server installations each in their own group. In this case one of the SQL Failover Cluster Groups is running on Node 2.

 

Current Configuration

 

 

 

 

To use the functionality of the MSDTC Service for an application, in this case SQL that is running on Node 2, the SQL Server must communicate with a MSDTC proxy
agent, which reroutes the request to Node 1 where the MSDTC service is running so the MSDTC service on that node can facilitate your request.

 

 

 

To appreciate the impact, say there are four nodes with three SQL Server instances. MSDTC is running on Node 1 and the SQL Server instances are divided on all the nodes (Nodes 2, 3 and 4), they must all talk to Node 1 for MSDTC functionality.

 

This can create a bottleneck.

 

For this reason (and several other reasons) MSDTC was completely re-written in Windows 2008 and above so that by default the MSDTC service is allowed to run locally on each node.

 

In addition it allows for multiple MSDTC resources in the cluster instead of just the one.

 

Again I want to put emphasis on the fact that for Windows Server 2008 and later it is NOT required to cluster MSDTC to utilize the features of the MSDTC service.

 

Back to Index

 

 

 

What is the Simple recommendation for MSDTC with Windows 2008 and later?



    • In Windows 2008 and later you either Create a clustered instance of the MSDTC resource for EVERY SQL Server instance /Group that requires its functionality or DO NOT CLUSTER MSDTC at all .



Back to Index

 

 

 

What will SQL do if I do not Cluster MSDTC in Windows 2008 and above?



    • If there is no MSDTC resource in the cluster then SQL Server will use the MSDTC service that is running locally on the node.



Back to Index

 

 

 

What if I only create one MSDTC Resource in my cluster?



    • If you create only one MSDTC resource then it becomes the cluster default and revert to the Windows 2003 functionality listed above, which is not recommended.



Back to Index

 


How do I change the Cluster Default MSDTC that is used by Applications?



    • On Windows Server 2008 or later Failover Cluster setup, you can install multiple instances of MSDTC on a single failover cluster.
      The first instance of MSDTC that is installed will be the cluster default instance of MSDTC. This can be changed via the Component Services Management
      Console (dcomcnfg).



For the purpose of this FAQ I have a Cluster with 2 MSDTC (Microsoft Distributed Transaction Coordinator)



    • First MSDTC Resource is in a Group MSDTC-ONE





    • Second MSDTC Resource is in a Group MSDTC-TWO



 

 



    • To modify this, perform the following actions:



1. On the Start menu, click Run, type dcomcnfg and then press ENTER to launch the Component Services Management Console.

 

 


2. Expand Computers, and then right-click My Computer.

 

 


3. Click Properties, click the MSDTC tab, and then select the default coordinator for your cluster.

 

 

Back to Index

 

 

 

Do I need to Tell SQL Server which MSDTC Instance to use (Clustered or Local)?



    • SQL Server 2008 and later will take advantage of an instance of MSDTC installed to the SQL Server’s local cluster resource group by automatically using the instance of MSDTC in the SQL Server's Cluster Group. This is a feature of SQL 2005 and above and does not hold true for other applications.

 

    • When using SQL 2005 or other applications they can be mapped to the MSDTC Resource in the same group.



      • Note: You can Map any application including SQL 2008 and later to any specific instance of MSDTC that is any group on the cluster.

 

      • For more information about this, see “How to Mapping an Instance of SQL Server 2008 to an Instance of MSDTC” below.




 



    • The list below shows the order in which SQL Server will choose which instance of MSDTC will be used.



      • Note: The First Option 'Use MSDTC instance installed to the local group ONLY applies to SQL 2008 and later only. For all other Versions of SQL or Other Applications will start with 'Use the mapped instance of MSDTC'




 



    • The order of precedence is as follows:



      • Note: This is figured out as part of the SQL Service Startup, Changes made to this configuration after SQL is started will require you to re-start SQL.




 

Back to Index

 

 

 

What happens if the MSDTC Resource that was picked at SQL Service startup fails?



    • If the MSDTC instance that is being used by a specific SQL Server Group fails, SQL Server does not automatically attempt to use the next available MSDTC Resource such as the default cluster instance or the local machine
      instance of MSDTC.

 

    • You would need to completely remove the failed instance of MSDTC from the SQL Server group to use another instance of MSDTC. Likewise, if you create a mapping for SQL Server and the mapped instance of MSDTC fails, your distributed transactions will also fail. If you want SQL Server to use a different instance of MSDTC, you must either add an instance of MSDTC to the local cluster group of the SQL Server or delete the mapping.



Back to Index

 

 

 

Where can I find more information on creating an MSDTC Resource in Windows Server 2008 Failover Clustering?



    • For more information about creating an MSDTC resource for Windows Server 2008 failover clustering, see Checklist:






Back to Index

 

 

 

How do I enable Network Access for MSDTC?



    • After creating the MSDTC resource(s) for your cluster, you must enable network access for the MSDTC resource.

 

    • This is done from the Component Services Management Console. In the Component Services Management Console, perform the following actions:



1.   Expand Component Services, expand Computers, expand My Computer, expand Distributed Transaction Coordinator, and then expand <Your instance of MSDTC>.

 

(Because I have each of the MSDTC Resources Depend on SQL Network Name you will see the SQL NetBIOS name for the MSDTC Name in component services. Example SQLAG1, SQLAG2)

 

 

 

 

2.   Right-click the instance that you want to configure, and then click properties.

 

 

 

 

3.   Under Security Settings, select the Network DTC Access, Allow Inbound, and Allow Outbound check boxes, and then click OK to complete the configuration.

 

 

 

 

 



    • These configuration options enable MSDTC to access resources on the network and allow applications to access this instance of MSDTC from remote machines including
      other cluster nodes.

 

    • It is not necessary to perform these actions on each node of the cluster because the changes will propagate to all nodes of the cluster for a clustered instance of MSDTC.



Back to Index

 

 

 

How do I map a specific instance of SQL Server to a specific instance of MSDTC?



    • To map a SQL Server instance to an instance of MSDTC, open an administrative command prompt and use the msdtc.exe command.



 



    • The following command is used to create a mapping between an instance of SQL Server and an instance of MSDTC.



      • msdtc -tmMappingSet -name <MappingName> -service <SQLServerServiceName> -ClusterResourceName <MSDTCResourceName>




 

 



    • <MappingName>



      • Is an arbitrary name that you choose to identify this mapping.




 



    • <SQLServerServiceName>



      • Is the service name for your SQL Server instance. If this is the default instance, use MSSQLServer as your service name. If this is a named instance, use MSSQL$<InstanceName> as your service name.




 



    • <MSDTCResourceName>



      • Is the resource name for the instance of MSDTC to which you want to map SQL Server.





Note: If you create an incorrect mapping, the MSDTC command still succeeds, but your mapping will not work correctly.

 

Back to Index

 

 

 

How do I View existing MSDTC mappings across the entire cluster?



    • The following command is used to view all MSDTC mappings across the entire cluster.



      • msdtc -tmMappingView *




 

 

 

Back to Index

 

 

 

How do I delete an existing MSDTC mapping or incorrect mapping?



    • The following command is used to delete and existing MSDTC mapping.



      • msdtc -tmMappingClear -name <MappingName>




 

 



    • <MappingName>



      • Is an arbitrary name that you choose to identify this mapping.




Back to Index

 


How can I test MSDTC functionality?



    • You can test access by executing BEGIN DISTRIBUTED TRAN from a SQL Server Management Studio query window.

 

    • If it fails to enlist the transaction, you can retrieve the error from the SQL Server error log.





    • For example:



      • An error of XACT_E_CONNECTION_DOWN at this point generally indicates that your MSDTC instance is not running, your mapping is incorrect, or you are being blocked by a firewall.




Back to Index

 

 

 

What is the Best Practices for MSDTC Configuration with SQL Server 2008/2008R2/2012?



    • As we mentioned briefly above you should either create a MSDTC resource for each SQL Instance or do not cluster MSDTC at all.



Back to Index

 

 

 

Why would I create a MSDTC instance for each SQL Server Instance?



    • Dedicated instances of MSDTC for each SQL Server or application can help to prevent failures of one instance of MSDTC from affecting distributed transactions for other applications.

 

    • This configuration can add complexity to your Windows Failover configuration, in addition will have much higher resource requirements for your cluster.



      • This is because each MSDTC Clustered instance requires a Physical Disk, IP and Network Name Resource.




Note: When you add a MSDTC resource to a SQL Server Group you can use one of the SQL Server Disks and SQL IP and Network Name for the MSDTC resource dependencies.

 

However, when configuring MSDTC for an instance of SQL Server 2008 or later, the specific needs of your environment—in terms of performance, availability, or manageability—will determine the best practice for your MSDTC configuration.

 

Back to Index

 

 

 

What are the different possible MSDTC Configurations and the Benefits of each?


MSDTC in Each SQL Server Resource Group

    • This option provides the best performance. It guarantees that your instance of MSDTC will always run on the same physical node as the SQL Server, which reduces communications overhead.

 

    • It is suitable for the widest array of requirements.

 

    • It does not require mappings. SQL Server 2008 automatically uses the local cluster group MSDTC resource by default.

 

    • This configuration conserves drive letters for clusters that have a limited number of drive letters available.



      • You can make use of mount points to keep disk I/O separate from other SQL Server files without using up a drive letter on the cluster.




 

 

Caution: When you use this configuration, you must determine the correct setting for the "If restart is unsuccessful" action. By default a failure will failover all resources in this service or application setting of the MSDTC resource. If the function of MSDTC is critical to your environment, you set MSDTC to restart is unsuccessful and fail over all resources in this service or application or put MSDTC in its own resource group and create a mapping that directs SQL Server to that instance of MSDTC.

 

In most cases, you will not want to set If restart is unsuccessful action, to not fail over all resources in this service or application (Or Affect the Group, depending on the version of your Windows Failover Cluster.

 

The setting enables MSDTC to be restarted on the same node if it fails, but if it cannot be restarted, it will not cause a failover of the entire SQL Server resource group.

 

Note: As mentioned previously, if this local resource is offline or failed, distributed transactions will fail for this instance of SQL Server, and you will need to delete or move the MSDTC resource to make use of another instance of MSDTC on the cluster.

 

Back to Index



Dedicated Group for Each MSDTC Instance

    • This configuration is recommended only if the primary concern is maximum availability of SQL Server and MSDTC and if the performance of remote MSDTC has been verified to be acceptable for the application and load.

 

    • MSDTC requires a dedicated physical disk resource in this configuration. If the cluster hosts many instances of SQL Server, you may not have enough disk resources to give every instance of SQL Server a dedicated MSDTC in a separate resource group.

 

    • Manageability can be a challenge if you have many SQL Server-to-MSDTC mappings.



Note:
Since MSDTC is running in a separate group there is no way to Guarantee that the SQL group using this instance MSDTC are going to be hosted on the same node.
The performance of distributed transactions might be better when SQL Server and the MSDTC resource to which it is mapped are running on the same physical node. Be sure to consider this factor when testing application performance, and test with MSDTC on remote nodes.

 

Back to Index

 

 


Single Default Cluster MSDTC Instance

    • Windows Server 2003 failover clusters can only have a single clustered instance of MSDTC. It is recommended that you install this instance to a dedicated resource group. This configuration prevents failures of MSDTC from affecting other applications.

 

    • On Windows Server 2008 failover clusters, the first MSDTC Resource becomes the default MSDTC. It is recommended for this configuration that you have the default MSDTC instance installed to a dedicated resource group.



Note: The Cluster default MSDTC instance will provide MSDTC services for all applications that are not specifically mapped to another instance.



    • SQL Server instances that rarely use MSDTC can use the default MSDTC instance on an ad-hoc basis.



Back to Index

 

 


Local MSDTC Instance

    • This option provides no high availability for MSDTC in the event of a failure, because the MSDTC log is stored on a local disk instead of a cluster disk.

 

    • Even though no mappings exist for the local MSDTC instance, it is still required to have the local MSDTC instance running.



Note: During application/MSDTC initialization, the local MSDTC instance is used to determine the identity of the correct instance of MSDTC for this application (local, cluster default, or a specifically mapped instance). It is also used for non-cluster-aware applications on this node.



    • This configuration is recommended if you chose not to create an MSDTC instance for every SQL Server.



Back to Index

 

 

 

 

 

Written by: Shon Hauck

 

 

 

 

 

 

%3CLINGO-SUB%20id%3D%22lingo-sub-318037%22%20slang%3D%22en-US%22%3EMSDTC%20Recommendations%20on%20SQL%20Failover%20Cluster%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-318037%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSTRONG%3E%20First%20published%20on%20MSDN%20on%20Jan%2015%2C%202014%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId-1903179227%22%20id%3D%22toc-hId-1903179227%22%3E%3CSTRONG%3E%20The%20purpose%20of%20the%20following%20FAQ%20(Frequently%20Asked%20Questions)%26nbsp%3Bis%20to%20address%20common%26nbsp%3Bquestions%20with%20MSDTC%20(Microsoft%20Distributed%20Transaction%20Coordinator)%26nbsp%3Bwhen%20used%20with%20SQL%20Server%20Failover%20Clustered%20instances%20to%20include%20current%20recommendations%20and%26nbsp%3Bbest%20practices.%20%3C%2FSTRONG%3E%3C%2FH1%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--845491239%22%20id%3D%22toc-hId--845491239%22%3EIndex%3C%2FH2%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3E%3CDIV%3E%3CA%20href%3D%22%23Purpose-of-this-MSDTC-FAQ%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EPurpose%20of%20this%20MSDTC%20FAQ.%3C%2FA%3E%3C%2FDIV%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CDIV%3E%3CA%20href%3D%22%23What-is-MSDTC%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EWhat%20is%20MSDTC%3F%20%3C%2FA%3E%3C%2FDIV%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CDIV%3E%3CA%20href%3D%22%23Do-we-need-MSDTC-for-SQL-Installation%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EDo%20we%20need%20MSDTC%20for%20SQL%20Installation%3F%20%3C%2FA%3E%3C%2FDIV%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CDIV%3E%3CA%20href%3D%22%23Is-MSDTC-Supported-when-using-AlwaysON-Availability-Groups%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EIs%20MSDTC%20Supported%20when%20using%20AlwaysON%20Availability%20Groups%3F%20%3C%2FA%3E%3C%2FDIV%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CDIV%3E%3CA%20href%3D%22%23Do-I-Need-to-Cluster-MSDTC-after-SQL-installation%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EDo%20I%20Need%20to%20Cluster%20MSDTC%20after%20SQL%20installation%3F%26nbsp%3B%3C%2FA%3E%3C%2FDIV%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CDIV%3E%3CA%20href%3D%22%23Why-did-I-need-to-Cluster-MSDTC-in-Windows-2003%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EWhy%20did%20I%20need%20to%20Cluster%20MSDTC%20in%20Windows%202003%3F%20%3C%2FA%3E%3C%2FDIV%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CDIV%3E%3CA%20href%3D%22%23What-is-the-downside-in-clustering-MSDTC-in-Windows-2003%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EWhat%20is%20the%20downside%20in%20clustering%20MSDTC%20in%20Windows%202003%3F%20%3C%2FA%3E%3C%2FDIV%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CDIV%3E%3CA%20href%3D%22%23What-is-the-Simple-recommendation-for-MSDTC-with-Windows-2008-and-later%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EWhat%20is%20the%20Simple%20recommendation%20for%20MSDTC%20with%20Windows%202008%20and%20later%3F%20%3C%2FA%3E%3C%2FDIV%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CDIV%3E%3CA%20href%3D%22%23What-will-SQL-do-if-I-do-not-Cluster-MSDTC-in-Windows-2008-and-above%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EWhat%20will%20SQL%20do%20if%20I%20do%20not%20Cluster%20MSDTC%20in%20Windows%202008%20and%20above%3F%20%3C%2FA%3E%3C%2FDIV%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CDIV%3E%3CA%20href%3D%22%23What-if-I-only-create-one-MSDTC-Resource-in-my-cluster%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EWhat%20if%20I%20only%20create%20one%20MSDTC%20Resource%20in%20my%20cluster%3F%26nbsp%3B%3C%2FA%3E%3C%2FDIV%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CDIV%3E%3CA%20href%3D%22%23How-do-I-change-the-Cluster-Default-MSDTC-that-is-used-by-Applications%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EHow%20do%20I%20change%20the%20Cluster%20Default%20MSDTC%20that%20is%20used%20by%20Applications%3F%26nbsp%3B%3C%2FA%3E%3C%2FDIV%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CDIV%3E%3CA%20href%3D%22%23Do-I-need-to-Tell-SQL-Server-which-MSDTC-Instance-to-use-Clustered-or-Local%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EDo%20I%20need%20to%20Tell%20SQL%20Server%20which%20MSDTC%20Instance%20to%20use%20(Clustered%20or%20Local)%3F%3C%2FA%3E%3C%2FDIV%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CDIV%3E%3CA%20href%3D%22%23What-happens-if-the-MSDTC-Resource-that-was-picked-at-SQL-Service-startup-fails%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EWhat%20happens%20if%20the%20MSDTC%20Resource%20that%20was%20picked%20at%20SQL%20Service%20startup%20fails%3F%3C%2FA%3E%3C%2FDIV%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CDIV%3E%3CA%20href%3D%22%23Where-can-I-find-more-information-on-creating-an-MSDTC-Resource-in-Windows-Server-2008-Failover-Clustering%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EWhere%20can%20I%20find%20more%20information%20on%20creating%20an%20MSDTC%20Resource%20in%20Windows%20Server%202008%20Failover%20Clustering%3F%26nbsp%3B%3C%2FA%3E%3C%2FDIV%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CDIV%3E%3CA%20href%3D%22%23How-do-I-enable-Network-Access-for-MSDTC%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EHow%20do%20I%20enable%20Network%20Access%20for%20MSDTC%3F%20%3C%2FA%3E%3C%2FDIV%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CDIV%3E%3CA%20href%3D%22%23How-do-I-map-a-specific-instance-of-SQL-Server-to-a-specific-instance-of-MSDTC%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EHow%20do%20I%20map%20a%20specific%20instance%20of%20SQL%20Server%20to%20a%20specific%20instance%20of%20MSDTC%3F%20%3C%2FA%3E%3C%2FDIV%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CDIV%3E%3CA%20href%3D%22%23How-do-I-View-existing-MSDTC-mappings-across-the-entire-cluster%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EHow%20do%20I%20View%20existing%20MSDTC%20mappings%20across%20the%20entire%20cluster%3F%20%3C%2FA%3E%3C%2FDIV%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CDIV%3E%3CA%20href%3D%22%23How-do-I-delete-an-existing-MSDTC-mapping-or-incorrect-mapping%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EHow%20do%20I%20delete%20an%20existing%20MSDTC%20mapping%20or%20incorrect%20mapping%3F%20%3C%2FA%3E%3C%2FDIV%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CDIV%3E%3CA%20href%3D%22%23How-can-I-test-MSDTC-functionality%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EHow%20can%20I%20test%20MSDTC%20functionality%3F%3C%2FA%3E%3C%2FDIV%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CDIV%3E%3CA%20href%3D%22%23What-is-the-Best-Practices-for-MSDTC-Configuration-with-SQL-Server-2008-2008R2-2012%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EWhat%20is%20the%20Best%20Practices%20for%20MSDTC%20Configuration%20with%20SQL%20Server%202008%2F2008R2%2F2012%3F%26nbsp%3B%3C%2FA%3E%3C%2FDIV%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CDIV%3E%3CA%20href%3D%22%23Why-would-I-create-a-MSDTC-instance-for-each-SQL-Server-Instance%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EWhy%20would%20I%20create%20a%20MSDTC%20instance%20for%20each%20SQL%20Server%20Instance%3F%3C%2FA%3E%3C%2FDIV%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CDIV%3E%3CA%20href%3D%22%23What-are-the-different-possible-MSDTC-Configurations-and-the-Benifits-of-each%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EWhat%20are%20the%20different%20possible%20MSDTC%20Configurations%20and%20the%20Benefits%20of%20each%3F%20%3C%2FA%3E%3C%2FDIV%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-897319096%22%20id%3D%22toc-hId-897319096%22%3EFAQ's%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--1851351370%22%20id%3D%22toc-hId--1851351370%22%3EPurpose%20of%20this%20MSDTC%20FAQ.%3C%2FH3%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3E%3CDIV%3EMSDTC%20is%20a%20separate%20Windows%20service%20which%20coordinates%20distributed%20transactions%20across%20SQL%20Server%20instances.%20%3CBR%20%2F%3EWhen%20deploying%20SQL%20Server%20in%20a%20highly%20available%20environment%20like%20Windows%20Failover%20Clustering%2C%20there%20are%20certain%20best%20practices%20that%20can%20make%20the%20MSDTC%20service%E2%80%99s%20behavior%20more%20predictable.%3C%2FDIV%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22%23Index%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%20Back%20to%20Index%20%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--108541035%22%20id%3D%22toc-hId--108541035%22%3EWhat%20is%20MSDTC%3F%3C%2FH3%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EMSDTC%20is%20an%20acronym%20for%20Microsoft%20Distributed%20Transaction%20Coordinator.%20The%20Microsoft%20Distributed%20Transaction%20Coordinator%20service%20(MSDTC)%20tracks%20all%20parts%20of%20the%20transactions%20process%2C%20even%20over%20multiple%20resource%20managers%20on%20multiple%20computers.%20This%20helps%20ensure%20that%20the%20transaction%20is%20committed%2C%20if%20every%20part%20of%20the%20transaction%20succeeds%2C%20or%20is%20rolled%20back%2C%20if%20any%20part%20of%20the%20transaction%20process%20fails.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22%23Index%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%20Back%20to%20Index%20%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-1634269300%22%20id%3D%22toc-hId-1634269300%22%3EDo%20we%20need%20MSDTC%20for%20SQL%20Installation%3F%3C%2FH3%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3ESQL%202005%20does%20require%20MSDTC%20for%20setup%2C%20since%20it%20uses%20a%20transactions%20to%20control%20setup%20on%20multiple%20nodes.%20%3CSTRONG%3EHowever%2C%20%3C%2FSTRONG%3E%20SQL%20Server%202008%2F2008R2%2F2012%20and%20SQL%202014%20setup%20does%20%3CSTRONG%3E%20NOT%20%3C%2FSTRONG%3E%20require%20MSDTC%20to%20install%20SQL.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EMSDTC%20is%20only%20needed%20for%20transactions%20etc.%20after%20installation.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22%23Index%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%20Back%20to%20Index%20%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--917887661%22%20id%3D%22toc-hId--917887661%22%3EIs%20MSDTC%20Supported%20when%20using%20AlwaysON%20Availability%20Groups%3F%3C%2FH3%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EWhen%20the%20topic%20of%20cross-database%20and%2For%20DTC%20transaction%20support%2C%20under%20an%20Availability%20Group%2C%20comes%20up%20the%20quick%20response%20is%20NOT%20SUPPORTED!%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EMore%20information%20at%20%3CA%20title%3D%22Not-Supported%3A%20AGs%20With%20DTC%2FCross-Database%20Transactions%22%20href%3D%22http%3A%2F%2Fblogs.msdn.com%2Fb%2Falwaysonpro%2Farchive%2F2014%2F01%2F06%2Fnot-supported-ags-with-dtc-cross-database-transactions.aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%20Not-Supported%3A%20AGs%20With%20DTC%2FCross-Database%20Transactions%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22%23Index%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%20Back%20to%20Index%20%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-824922674%22%20id%3D%22toc-hId-824922674%22%3EDo%20I%20Need%20to%20Cluster%20MSDTC%20after%20SQL%20installation%3F%3C%2FH3%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EWith%20Windows%202008%20Failover%20cluster%20and%20later%20you%20do%20not%20need%20to%20cluster%20MSDTC%20to%20utilize%20the%20functionality%20of%20the%20MSDTC%20service.%20This%20is%20because%20MSDTC%20was%20re-designed%20in%20Windows%202008%20and%20unlike%20Windows%202003%20if%20Windows%20Failover%20Cluster%20was%20installed%20you%20had%20to%20cluster%20MSDTC.%20This%20is%20no%20longer%20the%20case%20when%20using%20Windows%202008%2C%20since%20by%20default%20MSDTC%20service%20is%20running%20locally%2C%20even%20with%20Failover%20Clustering%20installed.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3ECurrently%20there%20is%20some%20documentation%20that%20states%20you%20need%20to%20have%20a%20MSDTC%20Resource%20in%20your%20cluster.%20%3CBR%20%2F%3EI%20want%20to%20start%20out%20by%20emphasizing%20that%20the%20statement%20%22You%20must%20install%20MSDTC%20is%20not%20100%20percent%20accurate.%22%20The%20statement%20does%20not%20take%20into%20account%20the%20OS%20and%20the%20changes%20with%20MSDTC%20in%20Windows%202008%20and%20later.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22%23Index%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%20Back%20to%20Index%20%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--1727234287%22%20id%3D%22toc-hId--1727234287%22%3E%3CBR%20%2F%3EWhy%20did%20I%20need%20to%20Cluster%20MSDTC%20in%20Windows%202003%3F%3C%2FH3%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EYou%20only%20need%20to%20create%20the%20MSDTC%20resource%20in%20the%20Failover%20Cluster%26nbsp%3Bif%20you%20are%20installing%20on%20Windows%202003%20Failover%20Cluster.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EThe%20reason%20you%20needed%20to%26nbsp%3Bcreate%20a%20MSDTC%26nbsp%3Bresource%20was%20because%20of%20the%20design%20of%20MSDTC%20in%26nbsp%3BWindows%202003.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EIn%202003%20when%20the%20MSDTC%20service%20starts%20as%20local%20service%20it%20checks%20to%20see%20if%20cluster%20is%20installed.%20If%20Cluster%20is%20installed%20the%20MSDTC%20Service%20would%20not%20allow%20you%20to%20run%20it%20outside%20of%20the%20Cluster%20Server%20Service.%20So%20it%20would%20shut%20down%20and%26nbsp%3Bto%20get%20the%20service%20to%20start%20or%26nbsp%3Byou%20need%20to%20ensure%20that%20the%20MSDTC%20was%26nbsp%3Bstarted%20by%20the%20cluster%20service%20via%20the%20Distributed%20Coordinator%20Clustered%20Resource.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EThis%20is%20why%20you%20needed%20to%20create%20an%20MSDTC%20resource%20in%20a%20Windows%202003%20Cluster%20to%20use%20the%20MSDTC%20functionality.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22%23Index%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%20Back%20to%20Index%20%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-15576048%22%20id%3D%22toc-hId-15576048%22%3EWhat%20is%20the%20downside%20in%20clustering%20MSDTC%20in%20Windows%202003%3F%3C%2FH3%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EThe%20down%20side%20to%20this%20functionality%20is%20that%20in%20Windows%202003%20Cluster%20you%20can%20only%20have%20one%20MSDTC%20resource%20for%20your%20entire%20cluster%20which%20can%20cause%20a%20performance%20bottle%20neck.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3EFor%20example%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ELet's%20assume%26nbsp%3Byou%20have%20a%202%20(or%20More%20Node)%20Windows%202003%26nbsp%3BFailover%20Cluster%20installation.%20%3CBR%20%2F%3EYou%20have%20created%20a%26nbsp%3BMSDTC%26nbsp%3Bresource%2C%20Network%20Name%2C%20IP%20Address%20resource%20and%20a%20Disk%20resource%20set%20as%20dependent%20resources%20all%20contained%26nbsp%3Bin%20its%20own%20group%2C%20which%20is%20owned%20by%20Node%201.%20%3CBR%20%2F%3ENow%20in%20addition%20you%20have%201%20or%20more%20SQL%20Server%20installations%20each%20in%20their%20own%20group.%20In%20this%20case%20one%20of%20the%20SQL%20Failover%20Cluster%20Groups%20is%20running%20on%20Node%202.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECurrent%20Configuration%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20754px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67858iB92089E3F9973758%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ETo%20use%20the%20functionality%20of%20the%20MSDTC%20Service%20for%20an%20application%2C%20in%20this%20case%20SQL%20that%20is%20running%20on%20Node%202%2C%20the%20SQL%20Server%20must%20communicate%20with%20a%20MSDTC%20proxy%20%3C%2FSTRONG%3E%20%3CBR%20%2F%3E%3CSTRONG%3E%20agent%2C%20which%20reroutes%20the%20request%20to%20Node%201%20where%20the%20MSDTC%20service%20is%20running%20so%20the%20MSDTC%20service%20on%20that%20node%20can%20facilitate%20your%20request.%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETo%20appreciate%20the%20impact%2C%20say%20there%20are%20four%20nodes%20with%20three%20SQL%20Server%20instances.%20MSDTC%20is%20running%20on%20Node%201%20and%20the%20SQL%20Server%20instances%20are%20divided%20on%20all%20the%20nodes%20(Nodes%202%2C%203%20and%204)%2C%20they%20must%20all%20talk%20to%20Node%201%20for%20MSDTC%20functionality.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20can%20create%20a%20bottleneck.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20this%20reason%20(and%20several%20other%20reasons)%20MSDTC%20was%20completely%20re-written%20in%20Windows%202008%20and%20above%20so%20that%20by%20default%20the%20MSDTC%20service%20is%20allowed%20to%20run%20locally%20on%20each%20node.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20addition%20it%20allows%20for%20multiple%20MSDTC%20resources%20in%20the%20cluster%20instead%20of%20just%20the%20one.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%20Again%20I%20want%20to%20put%20emphasis%20on%20the%20fact%20that%20for%20Windows%20Server%202008%20and%20later%20it%20is%20NOT%20required%20to%20cluster%20MSDTC%20to%20utilize%20the%20features%20of%20the%20MSDTC%20service.%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%20%3CA%20href%3D%22%23Index%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%20Back%20to%20Index%20%3C%2FA%3E%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-1043225094%22%20id%3D%22toc-hId-1043225094%22%3EWhat%20is%20the%20Simple%20recommendation%20for%20MSDTC%20with%20Windows%202008%20and%20later%3F%3C%2FH3%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EIn%20Windows%202008%20and%20later%20you%20either%20%3CSTRONG%3E%20Create%20a%20clustered%20instance%20of%20the%20MSDTC%20resource%20for%20EVERY%20SQL%20Server%20instance%20%2FGroup%20%3C%2FSTRONG%3E%20that%20requires%20its%20functionality%20%3CSTRONG%3E%20or%20DO%20NOT%20CLUSTER%20MSDTC%20at%20all%20%3C%2FSTRONG%3E%20.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22%23Index%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%20Back%20to%20Index%20%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--1508931867%22%20id%3D%22toc-hId--1508931867%22%3EWhat%20will%20SQL%26nbsp%3Bdo%26nbsp%3Bif%20I%20do%20not%20Cluster%20MSDTC%20in%20Windows%202008%20and%20above%3F%3C%2FH3%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EIf%20there%20is%20no%20MSDTC%20resource%20in%20the%20cluster%20then%20SQL%20Server%20will%20use%20the%20MSDTC%20service%20that%20is%20running%20locally%20on%20the%20node.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22%23Index%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%20Back%20to%20Index%20%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-233878468%22%20id%3D%22toc-hId-233878468%22%3EWhat%20if%20I%20only%20create%20one%20MSDTC%20Resource%20in%20my%20cluster%3F%3C%2FH3%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EIf%20you%20create%20only%20one%20MSDTC%20resource%20then%20it%20becomes%20the%20cluster%20default%20and%20revert%20to%20the%20Windows%202003%20functionality%20listed%20above%2C%20which%20is%20not%20recommended.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22%23Index%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%20Back%20to%20Index%20%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-1976688803%22%20id%3D%22toc-hId-1976688803%22%3E%3CBR%20%2F%3EHow%20do%20I%20change%20the%20Cluster%20Default%20MSDTC%20that%20is%20used%20by%20Applications%3F%3C%2FH3%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EOn%20Windows%20Server%202008%20or%20later%20Failover%20Cluster%20setup%2C%20you%20can%20install%20multiple%20instances%20of%20MSDTC%20on%20a%20single%20failover%20cluster.%20%3CBR%20%2F%3EThe%20first%20instance%20of%20MSDTC%20that%20is%20installed%20will%20be%20the%20cluster%20default%20instance%20of%20MSDTC.%20This%20can%20be%20changed%20via%20the%20Component%20Services%20Management%20%3CBR%20%2F%3EConsole%20(dcomcnfg).%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%20For%20the%20purpose%20of%20this%20FAQ%20I%20have%20a%20Cluster%20with%202%20MSDTC%20(Microsoft%20Distributed%20Transaction%20Coordinator)%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EFirst%20MSDTC%20Resource%20is%20in%20a%20Group%20MSDTC-ONE%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20593px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67860i31595CB6ABC8CBD5%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3ESecond%20MSDTC%20Resource%20is%20in%20a%20Group%20MSDTC-TWO%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20592px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67862i89273FA6494600A7%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3ETo%20modify%20this%2C%20perform%20the%20following%20actions%3A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E1.%20On%20the%20Start%20menu%2C%20click%20Run%2C%20type%20dcomcnfg%20and%20then%20press%20ENTER%20to%20launch%20the%20Component%20Services%20Management%20Console.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20425px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67864iE39A2386EB6538FC%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E2.%20Expand%20Computers%2C%20and%20then%20right-click%20My%20Computer.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20553px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67866i1D10453CAC85FF41%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E3.%20Click%20Properties%2C%20click%20the%20MSDTC%20tab%2C%20and%20then%20select%20the%20default%20coordinator%20for%20your%20cluster.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20416px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67869iFCE16AFC46D327D5%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22%23Index%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%20Back%20to%20Index%20%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--575468158%22%20id%3D%22toc-hId--575468158%22%3EDo%20I%20need%20to%20Tell%20SQL%20Server%20which%20MSDTC%20Instance%20to%20use%20(Clustered%20or%20Local)%3F%3C%2FH3%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3ESQL%20Server%202008%20and%20later%20will%20take%20advantage%20of%20an%20instance%20of%20MSDTC%20installed%20to%20the%20SQL%20Server%E2%80%99s%20local%20cluster%20resource%20group%20by%20automatically%20using%20the%20instance%20of%20MSDTC%20in%20the%20SQL%20Server's%20Cluster%20Group.%20This%20is%20a%20feature%20of%20SQL%202005%20and%20above%20and%20does%20not%20hold%20true%20for%20other%20applications.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EWhen%20using%20SQL%202005%20or%20other%26nbsp%3Bapplications%20they%20can%26nbsp%3Bbe%20mapped%20to%20the%20MSDTC%20Resource%20in%20the%20same%20group.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3ENote%3A%20You%20can%20Map%20any%20application%20including%20SQL%202008%20and%20later%20to%20any%20specific%26nbsp%3Binstance%20of%20MSDTC%20that%20is%20any%20group%20on%20the%20cluster.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EFor%20more%20information%20about%20this%2C%20see%20%E2%80%9CHow%20to%20Mapping%20an%20Instance%20of%20SQL%20Server%202008%20to%20an%20Instance%20of%20MSDTC%E2%80%9D%20below.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EThe%20list%20below%20shows%20the%20order%20in%20which%20SQL%20Server%20will%20choose%20which%20instance%20of%20MSDTC%20will%20be%20used.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3ENote%3A%20The%20First%20Option%20'Use%20MSDTC%20instance%20installed%20to%20the%20local%20group%20ONLY%20applies%20to%20SQL%202008%20and%20later%20only.%20For%20all%20other%20Versions%20of%20SQL%20or%20Other%20Applications%20will%20start%20with%20'Use%20the%20mapped%20instance%20of%20MSDTC'%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EThe%20order%20of%20precedence%20is%20as%20follows%3A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3ENote%3A%20This%20is%20figured%20out%20as%20part%20of%20the%20SQL%20Service%20Startup%2C%20Changes%20made%20to%20this%20configuration%20after%20SQL%20is%20started%20will%20require%20you%20to%20re-start%20SQL.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20695px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67871i1B46F30FE97CF796%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22%23Index%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%20Back%20to%20Index%20%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-1167342177%22%20id%3D%22toc-hId-1167342177%22%3EWhat%20happens%20if%20the%20MSDTC%20Resource%20that%20was%20picked%20at%20SQL%20Service%20startup%20fails%3F%3C%2FH3%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EIf%20the%20MSDTC%20instance%20that%20is%20being%20used%20by%20a%20specific%26nbsp%3BSQL%20Server%20Group%20fails%2C%20SQL%20Server%20does%20not%20automatically%20attempt%20to%20use%20the%20next%20available%20MSDTC%20Resource%20such%20as%20the%20default%20cluster%20instance%20or%20the%20local%20machine%20%3CBR%20%2F%3Einstance%20of%20MSDTC.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EYou%20would%20need%20to%20completely%20remove%20the%20failed%20instance%20of%20MSDTC%20from%20the%20SQL%20Server%20group%20to%20use%20another%20instance%20of%20MSDTC.%20Likewise%2C%20if%20you%20create%20a%20mapping%20for%20SQL%20Server%20and%20the%20mapped%20instance%20of%20MSDTC%20fails%2C%20your%20distributed%20transactions%20will%20also%20fail.%20If%20you%20want%20SQL%20Server%20to%20use%20a%20different%20instance%20of%20MSDTC%2C%20you%20must%20either%20add%20an%20instance%20of%20MSDTC%20to%20the%20local%20cluster%20group%20of%20the%20SQL%20Server%20or%20delete%20the%20mapping.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22%23Index%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%20Back%20to%20Index%20%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--1384814784%22%20id%3D%22toc-hId--1384814784%22%3EWhere%20can%20I%20find%20more%20information%20on%20creating%20an%20MSDTC%20Resource%20in%20Windows%20Server%202008%20Failover%20Clustering%3F%3C%2FH3%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EFor%20more%20information%20about%20creating%20an%20MSDTC%20resource%20for%20Windows%20Server%202008%20failover%20clustering%2C%20see%20Checklist%3A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20title%3D%22Creating%20an%20MS%20DTC%20Resource%20in%20a%20Windows%20Server%202008%20Failover%20Cluster%3A%22%20href%3D%22http%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fcc725955.aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%20Creating%20an%20MS%20DTC%20Resource%20in%20a%20Windows%20Server%202008%20Failover%20Cluster%3A%20%3CBR%20%2F%3E(http%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fcc725955.aspx).%20%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22%23Index%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%20Back%20to%20Index%20%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-357995551%22%20id%3D%22toc-hId-357995551%22%3EHow%20do%20I%20enable%20Network%20Access%20for%20MSDTC%3F%3C%2FH3%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EAfter%20creating%20the%20MSDTC%20resource(s)%20for%20your%20cluster%2C%20you%20must%20enable%20network%20access%20for%20the%20MSDTC%20resource.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EThis%20is%20done%20from%20the%20Component%20Services%20Management%20Console.%20In%20the%20Component%20Services%20Management%20Console%2C%20perform%20the%20following%20actions%3A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E1.%26nbsp%3B%26nbsp%3B%20Expand%20Component%20Services%2C%20expand%20Computers%2C%20expand%20My%20Computer%2C%20expand%20Distributed%20Transaction%20Coordinator%2C%20and%20then%20expand%20%3CYOUR%20instance%3D%22%22%20of%3D%22%22%20msdtc%3D%22%22%3E.%3C%2FYOUR%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E(Because%20I%20have%20each%20of%20the%20MSDTC%20Resources%20Depend%20on%20SQL%20Network%20Name%20you%20will%20see%20the%20SQL%20NetBIOS%20name%20for%20the%20MSDTC%20Name%20in%20component%20services.%20Example%20SQLAG1%2C%20SQLAG2)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20544px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67873i30F0244D864F8838%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E2.%26nbsp%3B%26nbsp%3B%20Right-click%20the%20instance%20that%20you%20want%20to%20configure%2C%20and%20then%20click%20properties.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20544px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67875i5AF3EA5D47A7D0B7%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E3.%26nbsp%3B%26nbsp%3B%20Under%20Security%20Settings%2C%20select%20the%20Network%20DTC%20Access%2C%20Allow%20Inbound%2C%20and%20Allow%20Outbound%20check%20boxes%2C%20and%20then%20click%20OK%20to%20complete%20the%20configuration.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20464px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67877i6A5DB24679D0D4B2%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EThese%20configuration%20options%20enable%20MSDTC%20to%20access%20resources%20on%20the%20network%20and%20allow%20applications%20to%20access%20this%20instance%20of%20MSDTC%20from%20remote%20machines%20including%20%3CBR%20%2F%3Eother%20cluster%20nodes.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EIt%20is%20not%20necessary%20to%20perform%20these%20actions%20on%20each%20node%20of%20the%20cluster%20because%20the%20changes%20will%20propagate%20to%20all%20nodes%20of%20the%20cluster%20for%20a%20clustered%20instance%20of%20MSDTC.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22%23Index%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%20Back%20to%20Index%20%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-2100805886%22%20id%3D%22toc-hId-2100805886%22%3EHow%20do%20I%20map%20a%20specific%20instance%20of%20SQL%20Server%20to%20a%20specific%20instance%20of%20MSDTC%3F%3C%2FH3%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3ETo%20map%20a%20SQL%20Server%20instance%20to%20an%20instance%20of%20MSDTC%2C%20open%20an%20administrative%20command%20prompt%20and%20use%20the%20msdtc.exe%20command.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EThe%20following%20command%20is%20used%20to%20create%20a%20mapping%20between%20an%20instance%20of%20SQL%20Server%20and%20an%20instance%20of%20MSDTC.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3E%3CEM%3E%20msdtc%20-tmMappingSet%20-name%20%3CMAPPINGNAME%3E%20-service%20%3CSQLSERVERSERVICENAME%3E%20-ClusterResourceName%20%3CMSDTCRESOURCENAME%3E%20%3C%2FMSDTCRESOURCENAME%3E%3C%2FSQLSERVERSERVICENAME%3E%3C%2FMAPPINGNAME%3E%3C%2FEM%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20840px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67880iA228AAE27A7FCE52%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3E%3CMAPPINGNAME%3E%3C%2FMAPPINGNAME%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EIs%20an%20arbitrary%20name%20that%20you%20choose%20to%20identify%20this%20mapping.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3E%3CSQLSERVERSERVICENAME%3E%3C%2FSQLSERVERSERVICENAME%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EIs%20the%20service%20name%20for%20your%20SQL%20Server%20instance.%20If%20this%20is%20the%20default%20instance%2C%20use%20MSSQLServer%20as%20your%20service%20name.%20If%20this%20is%20a%20named%20instance%2C%20use%20MSSQL%24%3CINSTANCENAME%3E%20as%20your%20service%20name.%3C%2FINSTANCENAME%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3E%3CMSDTCRESOURCENAME%3E%3C%2FMSDTCRESOURCENAME%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EIs%20the%20resource%20name%20for%20the%20instance%20of%20MSDTC%20to%20which%20you%20want%20to%20map%20SQL%20Server.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E%3CSTRONG%3E%20Note%3A%20If%20you%20create%20an%20incorrect%20mapping%2C%20the%20MSDTC%20command%20still%20succeeds%2C%20but%20your%20mapping%20will%20not%20work%20correctly.%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22%23Index%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%20Back%20to%20Index%20%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--451351075%22%20id%3D%22toc-hId--451351075%22%3EHow%20do%20I%20View%20existing%20MSDTC%20mappings%20across%20the%20entire%20cluster%3F%3C%2FH3%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EThe%20following%20command%20is%20used%20to%20view%20all%20MSDTC%20mappings%20across%20the%20entire%20cluster.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3E%3CEM%3E%20msdtc%20-tmMappingView%20*%20%3C%2FEM%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3E%20%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20846px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67882i685D36CC0463626B%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20%2F%3E%3C%2FSPAN%3E%20%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22%23Index%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%20Back%20to%20Index%20%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--764229369%22%20id%3D%22toc-hId--764229369%22%3EHow%20do%20I%20delete%20an%20existing%20MSDTC%20mapping%20or%20incorrect%20mapping%3F%3C%2FH3%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EThe%20following%20command%20is%20used%20to%20delete%20and%20existing%20MSDTC%20mapping.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3E%3CEM%3E%20msdtc%20-tmMappingClear%20-name%20%3CMAPPINGNAME%3E%20%3C%2FMAPPINGNAME%3E%3C%2FEM%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3E%20%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20837px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67885i0FC887EB6DED5AAA%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20%2F%3E%3C%2FSPAN%3E%20%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3E%3CMAPPINGNAME%3E%3C%2FMAPPINGNAME%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EIs%20an%20arbitrary%20name%20that%20you%20choose%20to%20identify%20this%20mapping.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22%23Index%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%20Back%20to%20Index%20%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-978580966%22%20id%3D%22toc-hId-978580966%22%3E%3CBR%20%2F%3EHow%26nbsp%3Bcan%20I%20test%26nbsp%3BMSDTC%20functionality%3F%3C%2FH3%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EYou%20can%20test%20access%20by%20executing%20BEGIN%20DISTRIBUTED%20TRAN%20from%20a%20SQL%20Server%20Management%20Studio%20query%20window.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EIf%20it%20fails%20to%20enlist%20the%20transaction%2C%20you%20can%20retrieve%20the%20error%20from%20the%20SQL%20Server%20error%20log.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20664px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67887iB32731DC3FB0DBC6%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EFor%20example%3A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EAn%20error%20of%20XACT_E_CONNECTION_DOWN%20at%20this%20point%20generally%20indicates%20that%20your%20MSDTC%20instance%20is%20not%20running%2C%20your%20mapping%20is%20incorrect%2C%20or%20you%20are%20being%20blocked%20by%20a%20firewall.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22%23Index%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%20Back%20to%20Index%20%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--1573575995%22%20id%3D%22toc-hId--1573575995%22%3EWhat%20is%20the%20Best%20Practices%20for%20MSDTC%20Configuration%20with%20SQL%20Server%202008%2F2008R2%2F2012%3F%3C%2FH3%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EAs%20we%20mentioned%20briefly%20above%20you%20should%20either%20create%20a%20MSDTC%20resource%20for%20each%20SQL%20Instance%20or%20do%20not%20cluster%20MSDTC%20at%20all.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22%23Index%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%20Back%20to%20Index%20%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-169234340%22%20id%3D%22toc-hId-169234340%22%3EWhy%20would%20I%20create%20a%20MSDTC%20instance%20for%20each%20SQL%20Server%20Instance%3F%3C%2FH3%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EDedicated%20instances%20of%20MSDTC%20for%20each%20SQL%20Server%20or%20application%20can%20help%20to%20prevent%20failures%20of%20one%20instance%20of%20MSDTC%20from%20affecting%20distributed%20transactions%20for%20other%20applications.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EThis%20configuration%20can%20add%20complexity%20to%20your%20Windows%20Failover%20configuration%2C%20in%20addition%20will%20have%20much%20higher%20resource%20requirements%20for%20your%20cluster.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EThis%20is%20because%20each%20MSDTC%20Clustered%20instance%20requires%20a%20Physical%20Disk%2C%20IP%20and%20Network%20Name%20Resource.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3ENote%3A%20When%20you%20add%20a%20MSDTC%20resource%20to%20a%20SQL%20Server%20Group%20you%20can%20use%20one%20of%20the%20SQL%20Server%20Disks%20and%20SQL%20IP%20and%20Network%20Name%20for%20the%20MSDTC%20resource%20dependencies.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHowever%2C%20when%20configuring%20MSDTC%20for%20an%20instance%20of%20SQL%20Server%202008%20or%20later%2C%20the%20specific%20needs%20of%20your%20environment%E2%80%94in%20terms%20of%20performance%2C%20availability%2C%20or%20manageability%E2%80%94will%20determine%20the%20best%20practice%20for%20your%20MSDTC%20configuration.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22%23Index%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%20Back%20to%20Index%20%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-1912044675%22%20id%3D%22toc-hId-1912044675%22%3EWhat%20are%20the%20different%20possible%20MSDTC%20Configurations%20and%20the%20Benefits%20of%20each%3F%3C%2FH3%3E%0A%3CP%3E%3CBR%20%2F%3EMSDTC%20in%20Each%20SQL%20Server%20Resource%20Group%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EThis%20option%20provides%20the%20best%20performance.%20It%20guarantees%20that%20your%20instance%20of%20MSDTC%20will%20always%20run%20on%20the%20same%20physical%20node%20as%20the%20SQL%20Server%2C%20which%20reduces%20communications%20overhead.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EIt%20is%20suitable%20for%20the%20widest%20array%20of%20requirements.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EIt%20does%20not%20require%20mappings.%20SQL%20Server%202008%20automatically%20uses%20the%20local%20cluster%20group%20MSDTC%20resource%20by%20default.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EThis%20configuration%20conserves%20drive%20letters%20for%20clusters%20that%20have%20a%20limited%20number%20of%20drive%20letters%20available.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EYou%20can%20make%20use%20of%20mount%20points%20to%20keep%20disk%20I%2FO%20separate%20from%20other%20SQL%20Server%20files%20without%20using%20up%20a%20drive%20letter%20on%20the%20cluster.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECaution%3A%20When%20you%20use%20this%20configuration%2C%20you%20must%20determine%20the%20correct%20setting%20for%20the%20%22If%20restart%20is%20unsuccessful%22%20action.%20By%20default%20a%20failure%20will%20failover%20all%20resources%20in%20this%20service%20or%20application%20setting%20of%20the%20MSDTC%20resource.%20If%20the%20function%20of%20MSDTC%20is%20critical%20to%20your%20environment%2C%20you%20set%20MSDTC%20to%20restart%20is%20unsuccessful%20and%20fail%20over%20all%20resources%20in%20this%20service%20or%20application%20or%20put%20MSDTC%20in%20its%20own%20resource%20group%20and%20create%20a%20mapping%20that%20directs%20SQL%20Server%20to%20that%20instance%20of%20MSDTC.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20most%20cases%2C%20you%20will%20not%20want%20to%20set%20If%20restart%20is%20unsuccessful%20action%2C%20to%20not%20fail%20over%20all%20resources%20in%20this%20service%20or%20application%20(Or%20Affect%20the%20Group%2C%20depending%20on%20the%20version%20of%20your%20Windows%20Failover%20Cluster.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20setting%20enables%20MSDTC%20to%20be%20restarted%20on%20the%20same%20node%20if%20it%20fails%2C%20but%20if%20it%20cannot%20be%20restarted%2C%20it%20will%20not%20cause%20a%20failover%20of%20the%20entire%20SQL%20Server%20resource%20group.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENote%3A%20As%20mentioned%20previously%2C%20if%20this%20local%20resource%20is%20offline%20or%20failed%2C%20distributed%20transactions%20will%20fail%20for%20this%20instance%20of%20SQL%20Server%2C%20and%20you%20will%20need%20to%20delete%20or%20move%20the%20MSDTC%20resource%20to%20make%20use%20of%20another%20instance%20of%20MSDTC%20on%20the%20cluster.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22%23Index%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%20Back%20to%20Index%20%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3EDedicated%20Group%20for%20Each%20MSDTC%20Instance%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EThis%20configuration%20is%20recommended%20only%20if%20the%20primary%20concern%20is%20maximum%20availability%20of%20SQL%20Server%20and%20MSDTC%20and%20if%20the%20performance%20of%20remote%20MSDTC%20has%20been%20verified%20to%20be%20acceptable%20for%20the%20application%20and%20load.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EMSDTC%20requires%20a%20dedicated%20physical%20disk%20resource%20in%20this%20configuration.%20If%20the%20cluster%20hosts%20many%20instances%20of%20SQL%20Server%2C%20you%20may%20not%20have%20enough%20disk%20resources%20to%20give%20every%20instance%20of%20SQL%20Server%20a%20dedicated%20MSDTC%20in%20a%20separate%20resource%20group.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EManageability%20can%20be%20a%20challenge%20if%20you%20have%20many%20SQL%20Server-to-MSDTC%20mappings.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3ENote%3A%20%3CBR%20%2F%3ESince%20MSDTC%20is%20running%20in%20a%20separate%20group%20there%20is%20no%20way%20to%20Guarantee%20that%20the%20SQL%20group%20using%20this%20instance%20MSDTC%20are%20going%20to%20be%20hosted%20on%20the%20same%20node.%20%3CBR%20%2F%3EThe%20performance%20of%20distributed%20transactions%20might%20be%20better%20when%20SQL%20Server%20and%20the%20MSDTC%20resource%20to%20which%20it%20is%20mapped%20are%20running%20on%20the%20same%20physical%20node.%20Be%20sure%20to%20consider%20this%20factor%20when%20testing%20application%20performance%2C%20and%20test%20with%20MSDTC%20on%20remote%20nodes.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22%23Index%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%20Back%20to%20Index%20%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3ESingle%20Default%20Cluster%20MSDTC%20Instance%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EWindows%20Server%202003%20failover%20clusters%20can%20only%20have%20a%20single%20clustered%20instance%20of%20MSDTC.%20It%20is%20recommended%20that%20you%20install%20this%20instance%20to%20a%20dedicated%20resource%20group.%20This%20configuration%20prevents%20failures%20of%20MSDTC%20from%20affecting%20other%20applications.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EOn%20Windows%20Server%202008%20failover%20clusters%2C%20the%20first%20MSDTC%20Resource%20becomes%20the%20default%20MSDTC.%20It%20is%20recommended%20for%20this%20configuration%20that%20you%20have%20the%20default%20MSDTC%20instance%20installed%20to%20a%20dedicated%20resource%20group.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3ENote%3A%20The%20Cluster%20default%20MSDTC%20instance%20will%20provide%20MSDTC%20services%20for%20all%20applications%20that%20are%20not%20specifically%20mapped%20to%20another%20instance.%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3ESQL%20Server%20instances%20that%20rarely%20use%20MSDTC%20can%20use%20the%20default%20MSDTC%20instance%20on%20an%20ad-hoc%20basis.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22%23Index%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%20Back%20to%20Index%20%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3ELocal%20MSDTC%20Instance%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EThis%20option%20provides%20no%20high%20availability%20for%20MSDTC%20in%20the%20event%20of%20a%20failure%2C%20because%20the%20MSDTC%20log%20is%20stored%20on%20a%20local%20disk%20instead%20of%20a%20cluster%20disk.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EEven%20though%20no%20mappings%20exist%20for%20the%20local%20MSDTC%20instance%2C%20it%20is%20still%20required%20to%20have%20the%20local%20MSDTC%20instance%20running.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3ENote%3A%20During%20application%2FMSDTC%20initialization%2C%20the%20local%20MSDTC%20instance%20is%20used%20to%20determine%20the%20identity%20of%20the%20correct%20instance%20of%20MSDTC%20for%20this%20application%20(local%2C%20cluster%20default%2C%20or%20a%20specifically%20mapped%20instance).%20It%20is%20also%20used%20for%20non-cluster-aware%20applications%20on%20this%20node.%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CUL%3E%0A%3CLI%3EThis%20configuration%20is%20recommended%20if%20you%20chose%20not%20to%20create%20an%20MSDTC%20instance%20for%20every%20SQL%20Server.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22%23Index%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%20Back%20to%20Index%20%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWritten%20by%3A%20Shon%20Hauck%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-318037%22%20slang%3D%22en-US%22%3E%3CP%3EFirst%20published%20on%20MSDN%20on%20Jan%2015%2C%202014%20The%20purpose%20of%20the%20following%20FAQ%20(Frequently%20Asked%20Questions)%26nbsp%3Bis%20to%20address%20common%26nbsp%3Bquestions%20with%20MSDTC%20(Microsoft%20Distributed%20Transaction%20Coordinator)%26nbsp%3Bwhen%20used%20with%20SQL%20Server%20Failover%20Clustered%20instances%20to%20include%20current%20recommendations%20and%26nbsp%3Bbest%20practices.%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-318037%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EHigh%20Availability%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMSDTC%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Version history
Last update:
‎Apr 17 2019 07:27 AM
Updated by: