Good morning,
I'm a little confused with my Always On High Availability setup and cant understand what's happening.
I have a default SQL instance and have setup an Availability Group listener (AGLIST1). It has the IP address of 192.168.1.11 listening on port 1433.
There is also a named instance on the same set of servers, and has an Availability Group listener configured (AGLIST2). This has the IP address 192.168.1.12, and is configured to port 1501.
So, when I try and connect to my Listener via SSMS, If I connect to either of the listeners, AGLIST1 or AGLIST2, they both connect to the DEFAULT instance. However, when I connect to the instance name directly, I can see the two, separate configurations.
If I connect to AGLIST2,1501, or AGLIST2\InstanceName then I can connect to the second instance.
I can also connect to AGLIST1,1501 or AGLIST1\InstanceName and will connect to the DEFAULT instance.
What I WANT to happen is that if I connect to AGLIST1 then it connects to the DeFAULT instance, and AGLIST2 will connect me directly to the named instance. I cant figure out how to get this behaviour (or even if it's possible).
The end-goal is to have application servers have connections which can connect to to AGLIST1 or AGLIST2 and NOT require a port specification. I dont think an alias will work in this situation as I think we've tried that in the past. An alias requires setup on the CLIENT side as well, and we dont want that additional overhead.
Any advice would be massively appreciated.
Regards,
Andy