Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4689

Making connections easy when you've multiple named SQL instances on a Single Cluster.

$
0
0

What we use today to connect with a named CLUSTER INSTANCE is SQLcap+Ins Nam+ Port.

SQL’s CAP

Instance Name

Port

Connectoid

While this works

SQLa

Default

M

SQLa

SQLa

SQLb

Xx

N

SQLb\Xx,N

SQLb

SQLc

Yy

O

SQLc\Yy,O

SQLc

 We can set it up to work with SQLcap + Ins Nam + Port only, after changing the PORT to 1433.

Benefits is that users get rid of

  1. A mumbo-jumbo (SQLcap+Ins Nam+ Port) and uses an easier to remember token.
  2. Maintaining a connection string with (SQLcap+ Ins Nam+ Port).
  3. Creating aliases in case of migration or planed exodus.
  4. Easier renames.
  5. And we can delete the browser service DLL to save disk space (joking).

Effort Needed

  1. Ammend the SPN creation method .
  2. Update support guide lines that actually this [SQLcap + Ins Nam + Port] is this [SQLcap+Ins Nam+ Port].

So token is not actually what you get from select @@servername (which remains SQLcap+ Ins Nam).

This has been tested & works with…

  1. SSMS, OSQL, SQLcmd
  2. UDL
    1.      SQL Server Native Client.
    2.      MS OLE DB Provider for SQL Server.

Now this is worthwhile for fat setups (multiple SQL FCI consolidated on a single WSFC). Kindly share your thoughts if you’ve done this in the past or any good/bad experience around this.


yup


Viewing all articles
Browse latest Browse all 4689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>