How to Install a Clustered SQL Server 2012 Instance – Part 4
- Use MS DTC installed to the local group, else
- Use the mapped instance of MS DTC, else
- Use the cluster's default instance of MS DTC, else
- Use the local machine’s installed instance of MS DTC
- Use the cluster's default instance of MS DTC, else
- Use the mapped instance of MS DTC, else
- Right-click on Roles and pick the "Configure Role" option.

- A new window will open. Click "next".

- Choose the option "Distributed Transaction Coordinator (DTC)" from the list. Click "Next".

- Fill the hostname in the "Name" field and the IP in the "Network" section. Click "Next".

- Pick up the disk to be used. Click "Next".

- Review the configurations and click "Next".

- The installation will run and in the last step you will see a report. Click "Finish".

- Now you will be able to see a new Role created in the cluster, with all the indicated resources.
To
add a DTC resource into the SQL Server Role, follow the steps:
- Right-click the Role, go to "Add Resource"->"More Resources" -> "Distributed Transaction Coordinator".

- The resource will be created in the selected Role, now we need to configure it. Right-click the "New Distributed Transaction Coordinator" and click on "Properties".

- As referred early on this article, the DTC needs a hostname and a disk to work. On dependencies you can pick up those items as shown, and click "ok".

- Now, let's bring it online.

- On "Server Manager" go to "Tools"->"Component Services" or run the command "dcomcnfg".

- Expand the tree, right-click the desired DTC and choose "Properties".

- Go to the "Security" tab and check "Network DTC Acess" as well as "Allow Inbound" and "Allow Outbound", as shown bellow. Click Ok.

Troubleshooting DTC There's a tool called DTC Ping which can help us to verify if the DTC is working correctly on all the computers that should be involved in a transaction. You can download this tool here: https://www.microsoft.com/en-us/download/details.aspx?id=2868 I recommend the reading of this article, to learn hos to use this tool, as well as troubleshoot the possible errors: Troubleshooting MSDTC issues with the DTCPing tool. Another great tool is the DTC Tester. You can simulate a distributed transaction on SQL Server:
- Let's briefly describe the some of the options on this window:
- "Network DTC Access": Enable/Disable the network access.
- "Allow inbound": Permit a distributed transaction originated from another computer to run on the current computer.
- "Allow outbound": Permit a distributed transaction initiated in the current computer to run on a remote computer.
- "Enable XA transactions" and "Enable SNA LU 6.2 Transactions": Enables/Disable those particular specifications for distributed transactions.
To download and get more info about this tool, check this link:
https://support.microsoft.com/kb/293799 .
The End This way we finish this series about how to install a clustered instance. We still have too many details to cover and I will try to create separated articles with best practices, configuration alternatives, etc. I hope you enjoyed this series and as always, if you have any doubts, contact me! Thank you for reading! If you want to check the other parts of this series, here are the links:
- Step-by-step installation of a SQL Server 2012 Clustered Instance – Part 1
- Step-by-step installation of a SQL Server 2012 Clustered Instance – Part 2
- Step-by-step installation of a SQL Server 2012 Clustered Instance – Part 3
Pythian is a global leader in data consulting and managed services. We specialize in optimizing and managing mission-critical data systems, combining the world’s leading data experts with advanced, secure service delivery. Learn more about Pythian’s Microsoft SQL Server expertise or check out some more SQL Server-related blog posts
On this page
Share this
Share this
More resources
Learn more about Pythian by reading the following blogs and articles.
Step-by-Step Installation of an EBS 12.2 Vision Instance
Step-by-Step Installation of an EBS 12.2 Vision Instance
Oct 7, 2013 12:00:00 AM
18
min read
Benchmarking Google Cloud SQL instances
Benchmarking Google Cloud SQL instances
Dec 10, 2015 12:00:00 AM
3
min read
Oracle Instance Memory Usage
Oracle Instance Memory Usage
Dec 29, 2011 12:00:00 AM
6
min read
Ready to unlock value from your data?
With Pythian, you can accomplish your data transformation goals and more.