Hi,
I have multiple instance of SQL Server 2014 running on Windows 2012. I have configured Always ON for both the instances.
Each have their own listener configured with separate static ip address.
One Instance is configured with default port 1433 and another instance is configured with 1436.
I have also configured read-only routing URL and read-only LIST for both the instances.
Read-only connections for default connection is working as required.
But for Named instances the read-only connections always defaults to primary instead of secondary replica.
I have used the below command to test the connectivity.
sqlcmd -S <agname,1436> -d <dbname> -K readonly
Any suggestions will be highly appreciated.
Regards,
Kccrga
I have multiple instance of SQL Server 2014 running on Windows 2012. I have configured Always ON for both the instances.
Each have their own listener configured with separate static ip address.
One Instance is configured with default port 1433 and another instance is configured with 1436.
I have also configured read-only routing URL and read-only LIST for both the instances.
Read-only connections for default connection is working as required.
But for Named instances the read-only connections always defaults to primary instead of secondary replica.
I have used the below command to test the connectivity.
sqlcmd -S <agname,1436> -d <dbname> -K readonly
Any suggestions will be highly appreciated.
Regards,
Kccrga
-kccrga http://dbatrend.blogspot.com.au/