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

Can I use the same Listener for more than one Availabilty Group?

$
0
0

Hello All,

I've been doing some research on availability groups in SQL, however have come up with some questions that I cannot find answers to in the documentation.

>>>>>CONFIGURATION SETUP<<<<<<

I have a 4 node sql server setup with WSFC.  No shared storage, using Cloud witness as quorum.  Two nodes exist in Azure (subnet A) and two nodes exist on prem (subnet b).  Subnets communicate via VPN between azure and on prem and all nodes can communicate with each other.  Cluster is up and healthy. (AZSQLCLUST NetBIOS name 10.20.0.254)

In azure I have AdventureWorks configured on NODE1 in azure.  I setup an Availability Group (ADWKAG1) to create a secondary synchronous replica of AdventureWorks on the NODE2 in Azure.  The future intent here is to setup an Asynch copy of this database to the on prem nodes (they are there for forced failback only).

I've setup a listener (ADWKAG1-ls), it is configured to use the same IP as the cluster name 10.20.0.254.  

>>>>>QUESTION<<<<<<<

If I build another availability group setting up a new Database (AdventureWorks2) on NODE 2 in Azure, with a Synchronous replica to NODE 1 in azure.  Do I need another Availability Group listener or can I use the listener that I've created already?

I know each AG needs a listener, but it doesn't say whether that listener needs to be unique or not.

Thanks for the help

r/
john


Viewing all articles
Browse latest Browse all 4532

Trending Articles



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