Hello all:
I have set up a test Azure domain and network using Windows 2012 R2 Datacenter servers and SQL 2012 as follows:
- DC01 is the domain controller
- FS01 is the File server, with a share used for the cluster File Share Witness
- SQL01 and SQL03 are SQL 2012 boxes.
- A Windows Server Failover Cluster is running with SQL01 and SQL03 as nodes, and a File Share Witness on FS01
- SQL Always On Availability Group is configured with SQL01 as the Primary
- All boxes use static IP addresses, all on the same subnet in Azure, needed firewall ports are open, and all machines can ping all their neighbors.
- SQL Services use the same Domain account, which is granted sysadmin rights on both SQL boxes. Cluster Services use LOCAL SYSTEM accounts, which are ALSO granted sysadmin rights.
- A Listener is set up (rather, was automatically set up via the Availability Group Wizard), using a static IP address and default port of 1433
Now, when on SQL01 SSMS, I can connect to the Listener by specifying the name in the Server Name property of a new connection dialog box (I actually use Registered Servers, but the concept is the same.) But when I use SSMS from SQL03, the Secondary in the Availability Group, it CANNOT connect using the same name.
If I fail the Always On Availability Group over to SQL03 as the new primary, the reverse is now true. meaning that the connection from SQL03's SSMS to the Listener now succeeds where it failed before, and SQL01 connection to the same fails.
What's more, I can PING from the Primary to the Listener, but not from the Secondary, and that ping responds with the correct static IP address of the Listener.
I've read articles about needing an Internet Load Balancer if running in Azure, but I'm attempting these connections from INSIDE the network and subnet.
I should be able to connect to that Availability Group Listener from any machine inside the network and subnet, but I can't. I can ONLY connect from the PRIMARY.
Any ideas? Thanks in advance.
Todd C - MCSE SQL Server Business Intelligence MCITP BI Dev 2008 MSCTS SQL Server 2005 Please mark posts as answered where appropriate.