March 7, 2018 at 1:51 pm
Hi,
I want to set up several Basic Availability Groups in Standard Edition of SQL Server 2016.
Each of the availability groups will have its own listener.
How is the application able to connect to several listeners at the same time? Is it possible to alter the application connection string with details of more than one listener?
So can I add the listener connection details for several listeners in the same connection string? Or would I need to create one connection string per listener?
Just trying to figure out how this would work.
Thanks.
March 8, 2018 at 10:52 am
navtec - Wednesday, March 7, 2018 1:51 PMHi,I want to set up several Basic Availability Groups in Standard Edition of SQL Server 2016.
Each of the availability groups will have its own listener.
How is the application able to connect to several listeners at the same time? Is it possible to alter the application connection string with details of more than one listener?
So can I add the listener connection details for several listeners in the same connection string? Or would I need to create one connection string per listener?Just trying to figure out how this would work.
Thanks.
It sounds sort of weird. AG Listener is more about instance. About your case, if all the AGs are absolutely the same role (Primary/Secondary), you just need create a single AGL and just connect to it. If some are primaries and others are secondaries, you do need multiple AGLs and multiple connection strings.
GASQL.com - Focus on Database and Cloud
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply