Sql-server – Accessing a network share via a SQL Server 2012 Availability Group

sql serversql-server-2012

If you have a SQL Server Cluster called CLS, with machines CLS1 and CLS2, accessing:

\\CLS\network\path

is equivalent to accessing either

\\CLS1\network\path

or

\\CLS2\network\path

depending on whether CLS1 or CLS2 is the currently active instance.

The same behavior isn't occurring on a SQL Server 2012 Availability Group I've set up to try out AGs. I have three machines called PRI, SEC1 and SEC2 in an availability group called AG. I can access the databases via AG, and can remote desktop AG, but cannot access network shared via AG.

  1. Are you supposed to be able to, by default, access networks shares via the AG?
  2. If not, can this behavior be enabled?

Edit: I am primarily interested in the administrative shares (c$, d$ etc.)

Best Answer

CLS is not an alias for either CLS1 or CLS2. CLS is a cluster, not a real machine. You cannot access \\CLS\c$ simply because no such thing exists. There is only \\CLS1\C$ and \\CLS2\C$ and you can access either of them. You should figure out which one is the one you're interested and access that.