Solved

Should my MS SQL 2008 cluster have a DNS entry?

Posted on 2011-02-16
4
593 Views
Last Modified: 2012-05-11
I followed the URL below to setup a SQL 2008 cluster and it is working and I am currently doing testing. I am currently installing a Web application with a SQL database. When I did the installation I was not able to put in the name of the SQL cluster which means there is no DNS entry. I ended up being the IP address of the SQL cluster which is working.

Before I put this into production I would like to know if I should create a DNS entry for it or always use the IP. I ask this because the web.config will now have the IP instead of the DNS name.

I am also a little confused as to which IPs do what, below is what I ended up with.

10.0.0.235 = Node1
10.0.0.236 = Node
10.0.0.237 = Cluster (I assume I would use this if I want to access whatever the primary node is?)
10.0.0.238 = MSDTC IP (not sure when if ever I would use this)
10.0.0.239 = SQL Cluster IP (I assume whenever I need to access SQL I use this?)

http://www.mssqltips.com/tip.asp?tip=1721
0
Comment
Question by:ThorinO
  • 2
4 Comments
 
LVL 29

Accepted Solution

by:
mass2612 earned 500 total points
Comment Utility
Hi,

Do you have network name  resources setup in your cluster groups? For example I would recommend having a Network Name resource in your SQL cluster group that points the SQL cluster IP to a name that is registered in DNS. Then I would use that name for all connections to SQL.

In fact I recommend all cluster groups have a network name so therefore your MSDTC should have one as well. Also the MSDTC service is required and should be in its own cluster group. This service co-ordinates distributed transactions across the cluster.

Therefore I would have a min of 3 cluster groups in your setup: -

Cluster group 1 - Windows cluster group with cluster name, cluster IP and quorum disk
MSDTC group - MSDTC name, MSDTC IP, MSDTC disk and MSDTC service
SQL cluster group - SQL IP, SQL name, SQL services and disk for SQL

MSDTC and SQL Server on a cluster
http://blogs.msdn.com/b/sqlblog/archive/2006/10/06/msdtc-and-sql-server-on-a-cluster.aspx

How to configure individual MSDTC resource with SQL cluster application in SQL Server 2008 Failover Cluster
http://blogs.msdn.com/b/asiatech/archive/2009/10/29/how-to-configure-msdtc-resource-for-sql-server-2008-failover-cluster.aspx
0
 
LVL 6

Expert Comment

by:sharjeel ashraf
Comment Utility
cluster would the IP of the current node thats up
sql cluster would the IP for accessing the SQL part
msdtc, is a component used by Cluster services, dont worry about it.

node1 and node are the physical servers that create the cluster set.

ideally you should have a DNS entry created by the cluster wizard when it created the cluster for you, if it hasnt theres no harm in adding it manually, apart from if you wish to change the IP (which i cant see why), of the cluster .

your web app should be looking for either the server nameor fqdn name i.e. cluster.domain.local, and sql cluster.domain.local
0
 
LVL 29

Expert Comment

by:mass2612
Comment Utility
Sorry I missed a link

How to Create a Cluster Group with a Disk, IP Address, and Name Resource
http://msdn.microsoft.com/en-us/library/dd897474(v=bts.10).aspx
0
 
LVL 10

Author Closing Comment

by:ThorinO
Comment Utility
After looking this morning I did see a DNS entry for the SQL cluster group, it was named incorrectly so I fixed it in the failover manager and all is well, I also tested by updating my connection strings and they worked.
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

763 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now