Microsoft KB Archive/301600

= How to configure Microsoft Distributed Transaction Coordinator on a Windows Server 2003 cluster =

Article ID: 301600

Article Last Modified on 10/1/2007

-

APPLIES TO


 * Microsoft Windows Server 2003, Enterprise Edition
 * Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)

-



This article was previously published under Q301600



SUMMARY
This article describes how to install the Microsoft Distributed Transaction Coordinator (MS DTC) resource on a Windows Server 2003 cluster. Microsoft only supports running MS DTC on cluster nodes as a clustered resource. There are two options for installing MS DTC.

Before you use Cluster Administrator or Cluster.exe to create the MS DTC resource, you must enable Network DTC access. For more information on enabling DTC access, click the following article number to view the article in the Microsoft Knowledge Base:

817064 How to enable network DTC access in Windows Server 2003

Notes
 * You should not put the MS DTC resource online before you follow the instructions in the Microsoft Knowledge Base (KB) 817064 article to enable Network DTC Access.

For Windows Server 2003-based computers that are running Service Pack 1 or a later service pack, do not follow the steps in the KB817064 article yet. First, you must complete the steps in the following &quot;More information&quot; section to add the MS DTC resource to the cluster. Then, you can follow the steps in the KB817064 article to complete the configuration.
 * If this is a Majority Node Set (MNS) cluster, do not use the MNS resource as the storage device for MS DTC. MS DTC requires a storage resource, such as a physical disk.



MORE INFORMATION
To install the MS DTC, use one of the following methods.

Method 1: Use Cluster Administrator
This section documents how to install MS DTC through Cluster Administrator on all nodes in a cluster. You only have to install the MS DTC once in Cluster Administrator and MSDTC will be configured on all nodes in the cluster. You do not have to install MS DTC manually on each node.  Start Cluster Administrator. To do so:  Click Start, and then point to All Programs In Administrative Tools, click Cluster Administrator.  Create a Group Named &quot;MSDTC Group&quot; that contains a Physical Disk, Network Name, and an IP Address. To do so:  In the File Menu select New, and then click Group. The New Group Wizard is available. Follow the instructions that the New Group Wizard provides to create the MSDTC Group.</li></ol>

Note When creating the MS DTC, moving the resource group into a group other than SQL Server or Exchange Server group is highly recommended. Creating the MS DTC resource in its own resource group and assigning it to a separate cluster group keeps the resource highly available.

Note If you create the resource in the same cluster group, and if Resource A has failed over, Resource B will also failover. When you create the resouce in a different cluster group, even when Resource A has failed over, the resource B does not failover. Creating Cluster Resouces in the different cluster groups decreases unnecessary failovers of the Cluster Resouces.

Important After the new group for MS DTC is created you must create the Network Name, IP address and Physical Disk for Msdtc. You may already have the physical disk resource that can be moved into the new group. After the MS DTC Group is created you must create the IP address resource, Network Name resource and the Physical disk resources. You may already have a physical disk resource that must be moved into the new MS DTC group.</li> Create an IP address resource:  Right-click the MS DTC group, and then click New\Resource.</li> Type a descriptive name such as MSDTC IP Address .</li> In Resource Type, click IP Address, click to select the MSDTC Group check box, and then click Next.</li> In Possible Owners, click Next unless you do not want MS DTC to run on a particular node.</li> In Dependencies, do not add any dependencies, and then click Next.</li> In TCP/IP Address Parameters, select the public network, type the unique static IP address for MS DTC, and then click Next.</li> Click Finish, and then click OK to confirm that the resource has been created.</li></ol> </li> Create a Network Name resource:  Right-click the MS DTC group, and then click New\Resource.</li> Type a descriptive name such as MSDTC Network name .</li> In Resource Type, click Network name, click to select the MSDTC Group check box, and then click Next.</li> In Possible Owners, click Next unless you do not want MS DTC to run on a particular node.</li> <li>In Dependencies, add the MS DTC IP address as a resource dependency, and then click Next.</li> <li>In Name, type the network name for the MS DTC resource, and then click Next.</li> <li>Click Finish, and then click OK to confirm that the resource has been created.</li></ol> </li> <li>Create a &quot;Physical disk&quot; resource.

Note You may already have a physical disk resource created. If so, you will have to move this physical disk resource into the MS DTC group and go to the next step. <ol style="list-style-type: lower-alpha;"> <li>Right-click the MS DTC group, and then click New\Resource.</li> <li>Type a descriptive name such as MSDTC Physical disk .</li> <li>In Resource Type, click Physical disk, click to select the MSDTC Group check box, and then click Next.</li> <li>In Possible Owners, click Next unless you do not want MS DTC to run on a particular node.</li> <li>In Dependencies, do not add any dependencies, and then click Next.</li> <li>In Disk Parameters, click the physical disk that you will use for MS DTC.</li> <li>Click Finish, and then click OK to confirm that the resource has been created.</li></ol> </li> <li>Right-click the MS DTC Group, and then click New\Resource.</li> <li>Type a name, such as MSDTC Resource .</li> <li>In Resource Type, click to select Distributed Transaction Coordinator, verify that the MSDTC Group is selected, and then click Next.</li> <li>In Possible Owners, click Next unless you do not want MS DTC to run on a particular node.</li> <li>In Dependencies, press and hold the CTRL key on the keyboard, select both the Physical Disk and Network Name that you created in step 2, and then click the Add button.</li> <li>Click Finish, and then click OK to confirm that the resource has been created.

Note You should not put the MS DTC resource online before you follow the instructions in Microsoft Knowledge Base article 817064 to enable Network DTC Access.</li> <li>Complete the steps that are documented in Knowledge Base article 817064.</li> <li>Right-click the MSDTC Resource, and then click Bring Online.</li></ol>

Method 2: Use Cluster.exe
This section documents how to install MSDTC with Cluster.exe. Cluster.exe is optimal for scripting the installation and configuration of MSDTC on several clusters. You only have to configure MS DTC once on a cluster and all nodes in the cluster are updated. <ol> <li>Complete the steps that are documented in Knowledge Base article 817064.

Note It is not necessary to enable network DTC access if the cluster is dedicated to Exchange Server.</li> <li>At a command prompt, create a Group named &quot;MSDTC Group&quot; that contains a Physical Disk, Network Name, and an IP Address (or use an existing Group).

Note You can script the creation of Groups and Resources with Cluster.exe. See &quot;Help and Support&quot; and review the Cluster Commands Overview section.

Note We recommend that you create the MS DTC resource in its own resource group, such as you would for Microsoft SQL Server, where you can do so. To do this, follow step 2 to create this new group. If you cannot do this, or if you have a light-use DTC scenario such as a cluster dedicated to Exchange Server, proceed and use the Cluster group. On dedicated Exchange Server clusters, the MS DTC resource should be placed in the default cluster group.</li> <li>Type the following command at a command prompt:

cluster clustername res &quot;MSDTC Resource&quot; /CREATE /GROUP:&quot;MSDTC Group&quot; /TYPE:&quot;Distributed Transaction Coordinator&quot;

This command creates the MS DTC Resource.

Note If you are using an existing cluster group, substitute the name of the group with &quot;MSDTC Group.&quot;</li> <li>Run the following commands:

cluster clustername res &quot;MSDTC Resource&quot; /ADDDEP:&quot; &quot;

cluster clustername res &quot;MSDTC Resource&quot; /ADDDEP:&quot; :&quot;

where  is the proper Network Name resource that you are using, and   is the physical disk that is located in the MSDTC Group.

These commands add the proper dependencies.</li> <li>Run the following command to bring MS DTC online:

cluster clustername res &quot;MSDTC Resource&quot; /ON

This will bring MSDTC online.</li></ol>

Note You cannot install MS DTC in a mixed-mode Cluster. All nodes in the Cluster must run Windows Server 2003 to use these methods. See &quot;Help and Support&quot; for more information.

<div class="references_section">