SQL server 2005 Distributed Transaction Coordinator service

Posted on 2012-12-20
Last Modified: 2013-01-03
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 ?
Question by:marrowyung
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
  • +1
LVL 21

Expert Comment

by:Alpesh Patel
ID: 38711967
Yes it should be there on all Servers.

From where you are executing command to different SQL server instance

Author Comment

ID: 38712089

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 ?
LVL 21

Assisted Solution

by:Alpesh Patel
Alpesh Patel earned 167 total points
ID: 38715027
It will be there by default. You have to enable it.
Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.


Author Comment

ID: 38717816
"It will be there by default. "

so if it is not there then I have to enable it, any restart of the SQL instance?
LVL 43

Assisted Solution

by:Eugene Z
Eugene Z earned 166 total points
ID: 38733415
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
LVL 51

Accepted Solution

Mark Wills earned 167 total points
ID: 38733842

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.

Author Comment

ID: 38735753

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.
LVL 51

Expert Comment

by:Mark Wills
ID: 38735795
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).

Author Comment

ID: 38739338

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question