SQL server 2005 Distributed Transaction Coordinator service

Dear all,

Right now some of our Windows 2003 server is running DTC service I expected, please see attached.

But what I found out is not all of the SQL group include the DTC resource, is that right that all SQL server instance should have this DTC resource ? or just one SQL group in the cluster need that ?

from my understanding, the installation of cluster will do this for us, we don't have to worry about that, right?

if we need to install it, do we need to restart the SQL instance/service after that ?
marrowyungSenior Technical architecture (Data)Asked:
Who is Participating?
Mark WillsConnect With a Mentor Topic AdvisorCommented:

MSDTC when installed on a cluster becomes clustered. Only a single instance is used on a cluster.

On a non-clustered environment, only those machines involved in a distributed transaction need to have it enabled.

By default (from 2003 SP1 on) it is disabled to protect network security.

It is an operating system service (not just for SQL server) and is configured / started / managed seperately. It uses RPC on ports over 1024 and will use as many as needed to handle the requests - you can limit and manage, but generally best to leave it to manage or respond to the workloads.

A lot of time, the only reason to use it (as far as DBA's are concerned) is because of SQL Server and so it is often mistaken as a SQL Server utility.

You dont have to stop or start SQL server unless there are permissions issues that have to be resolved for the SQL Server service account (and even then there are often other ways like sdset etc). There are a couple of DB settings like RPC that might need to be set, but that is a simple config and doesnt require restarts.
Alpesh PatelAssistant ConsultantCommented:
Yes it should be there on all Servers.

From where you are executing command to different SQL server instance
marrowyungSenior Technical architecture (Data)Author Commented:

so if I found it is not existing on any SQL instance group ,the nI have to add that myself?

"From where you are executing command to different SQL server instance " but it seems needs the links server to be created also ?
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

Alpesh PatelConnect With a Mentor Assistant ConsultantCommented:
It will be there by default. You have to enable it.
marrowyungSenior Technical architecture (Data)Author Commented:
"It will be there by default. "

so if it is not there then I have to enable it, any restart of the SQL instance?
Eugene ZConnect With a Mentor Commented:
unless you have problems: you are good: there is 1 MSDTC resource for 2003 cluster all nodes

just in case:

How to configure Microsoft Distributed Transaction Coordinator on a Windows Server 2003 cluster
marrowyungSenior Technical architecture (Data)Author Commented:

Thansk a lot. yeah, once people see "transaction", they will consider that this is a SQL resouce.

"Only a single instance is used on a cluster"

So this means if there are 2 x SQL instance in the cluster group, then ony one can own that.
Mark WillsTopic AdvisorCommented:
well, there will be one instance og msdtc and that service will be started / owned by an account.

It is similar to SQL Server Service in that regard. It gets fired up under an account, then whatever resources (or people) need to use it, then they consume the service as required.

SQL Server doesnt necessarily "own the service", but SQL Server does place the distributed transaction request (or the transaction gets escalated because it engages another server).

Think of it as a queue manager for RPC... One server says to another "I need stuff" and the DTC manages that request checking to see if everything is OK (like permissions).
marrowyungSenior Technical architecture (Data)Author Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.