Freigeben über


Start and Stop a Clustered MS DTC Resource

Applies To: Windows Server 2008

You can use this procedure to open the Services snap-in and start or stop a clustered Microsoft Distributed Transaction Coordinator (MS DTC) instance.

Note

To commit any configuration changes, the Component Services administrative tool requires the clustered MS DTC resource to be running. If you attempt to change any settings using Component Services when the clustered DTC is stopped, the clustered DTC is restarted. If you receive error messages when you attempt to use Component Services, verify that the clustered DTC is started. If it is not started, restart it.

Membership in Administrators, or equivalent, is the minimum required to complete this procedure. Review details about using the appropriate accounts and group memberships at Local and Domain Default Groups (https://go.microsoft.com/fwlink/?LinkId=83477).

To start or stop a clustered MS DTC resource

  1. Open the Services snap-in.

    To open Services, on the Start menu, click Control Panel. In Control Panel, click Administrative Tools. In Administrative Tools, click Services.

  2. In the details pane, locate any clustered MS DTC instances that are available on the server computer.

    In the list of services, locate any services that are named Distributed Transaction CoordinatorGUID, where GUID is the unique resource identifier (ID) for the clustered MS DTC resource. For example, a DTC service with a resource ID of a399963ea-2bfd-4973-88a2-388717b7b2d1 appears in the list of services as Distributed Transaction Coordinator (a399963ea-2bfd-4973-88a2-388717b7b2d1).

  3. (Optional) If there are more clustered MS DTC resource instances available, you might have to resolve the resource ID to the user-friendly name for the clustered DTC as it appears in Component Services. To do this, you can use the Cluster.exe command-line tool, as follows:

    1. Open a Command prompt.

    2. At the command prompt, type the following command, substituting the actual resource ID that you discovered in the previous step.

      cluster res a399963ea-2bfd-4973-88a2-388717b7b2d1 /prop
      
    3. Review the properties as console output to locate the clustered DTC resource name. It appears near the top of the output in the following format:

      T  Resource              Name                   Value
      -- --------------------- ---------------------- --------------
      SR a399963ea-2bfd-4973-88a2-388717b7b2d1 Name          ClusteredDTC-01
      
  4. Click Distributed Transaction Coordinator (GUID) in the list of services.

  5. On the Action menu, click Start or Stop.

If the DTC fails to start, examine Event Viewer to determine whether any MS DTC-related events appear near the time of the failure to start. The DTC typically logs an event when it is not able to start successfully.

Note

If you are starting or stopping a local DTC on a computer that is part of a failover cluster, start or stop the service that has the name Distributed Transaction Coordinator with no additional resource ID in parentheses. For more information, see Start and Stop MS DTC.