question

Magnus Ahlkvist avatar image
Magnus Ahlkvist asked

DNS alias for named instances

Hi, I'm in the process of specifying how to consolidate several servers into just a few. We will isolate databases belonging to system groups into their own instances in the machine. Now I'd like to also add some flexibility - being able to move databases between servers and instances without having to redeploy Connection strings in the apps. My idea is this: - Create an IP adress for each instance in a server - In SQL ServerConfiguration Manager, set the instance to listen to a specific IP and port (disable ListenAll and dynamic ports). - Add DNS A records for each instance. - Add an Alias for each system, pointing to the A record for the correct instance. Will this work? If I had a lab environment to test this out I would, but unfortunately I don't.
server-instancesdns
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
ThomasRushton avatar image
ThomasRushton answered
You'll also need to do the SQL Server Alias work, as outlined in https://msdn.microsoft.com/en-GB/library/ms190445.aspx
2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Magnus Ahlkvist avatar image Magnus Ahlkvist commented ·
Thanks Thomas. Will I have to create one SQL Server Alias for each DNS Alias? And will this work with OLEDB as well, or am I stuck with Native Client (which I figure would be a problem from UNIX/Linux servers).
0 Likes 0 ·
ThomasRushton avatar image ThomasRushton ♦♦ commented ·
I'm rather at the limit of my knowledge on this now! It looks as though the author of this post might be a useful chap to talk to: http://geekswithblogs.net/twickers/archive/2009/12/08/136830.aspx
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.