Hi Team,
I have WSFC cluster in main site and DR . We have SQL Cluster in Main site and individual/standalone SQL in DR (windows node is part of WSFC). SQL Servers multiple instances to support different workloads.
I have few queries related to SQL AG and looking for some inputs.
1. Since i have multiple SQL instances, we are planning to have static port for each instance. Can we use the same SQL instance port for listener as well? suppose instance A is using 1440 , instance B is using 1441 , can i use Listener port for AG as 1440 and 1441? will there be any conflict? or else what should be the recommended approach choosing static port for AG listener and what need to keep in view from registering it with DNS or when Workload need to connect to DR?
Using 1433 need to be avoided since its a default port.
2. Once AG is configured between Primary and DR, How to redirect any application server (if particular instance is down for some workload in primary) or workload to DR SQL DB replicated as part of AG assuming other workloads are running and using the primary SQL only. What should be the process followed? and once instance is back in primary how to replicate the DB bck to primary and redirect the workload also to use primary DB now?
Any pointers will be highly appreciated.
Regards.