SQL Failover cluster - Best practice on connecting from an application

  • We have a SQL 2019 Failover Cluster Instance - Default Instance. Question seems lame but...

    My question is, what is the "Best Practice" on connecting? Directly to the SQL Cluster name? Or some want us to create a DNS Alias to that SQL Cluster Name, is that best practice or even a "supported" way??

    I think "Best Practice" is to connect to the SQL Cluster Name, but I can't find any links on the matter.

    Does anyone know or have links?

    Thanks

  • We mostly use DNS aliasses to have applications connect to our clustered instances.

    ( more meaningful naming conventions as with our server names )

    Doing so, we can migrate the sqlcluster without having to modify the application. ( only modify the dns alias )

    ( of course after intensive testing on an isolated environment )

    Johan

    Learn to play, play to learn !

    Dont drive faster than your guardian angel can fly ...
    but keeping both feet on the ground wont get you anywhere :w00t:

    - How to post Performance Problems
    - How to post data/code to get the best help[/url]

    - How to prevent a sore throat after hours of presenting ppt

    press F1 for solution, press shift+F1 for urgent solution 😀

    Need a bit of Powershell? How about this

    Who am I ? Sometimes this is me but most of the time this is me

  • Warren Peace wrote:

    We have a SQL 2019 Failover Cluster Instance - Default Instance. Question seems lame but...

    My question is, what is the "Best Practice" on connecting? Directly to the SQL Cluster name? Or some want us to create a DNS Alias to that SQL Cluster Name, is that best practice or even a "supported" way??

    I think "Best Practice" is to connect to the SQL Cluster Name, but I can't find any links on the matter.

    Does anyone know or have links?

    Thanks

    Are you using an Availability Group, or Windows clustering?

     

    Michael L John
    If you assassinate a DBA, would you pull a trigger?
    To properly post on a forum:
    http://www.sqlservercentral.com/articles/61537/

  • Windows Server Failover Cluster and SQL Failover Cluster Instance.

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply