Hi,
I implemented HA in SQL Server via SQLAlwaysON availability group in 2 node SQL server 2012 WSFC cluster. Fail-over is working fine for me when i am viewing it from SSMS dashboard.Problem arises when I tried to access the nodes from client.Since AG listeners are not supported in Azure, I created one console app which is trying to connect to primary instance when both the nodes are up.In the connection string I specified the fail-over server name as second node and tried to test the connectivity after performing a fail-over. I am receiving the same error every time.
Exception message: xxx Server database xxx is not configured for database mirroring.
I referred to the MSDN link where it clearly states that using fail-over instance name you can bypass the Availability Group Listeners requirement.Refer http://msdn.microsoft.com/en-us/library/hh213417.aspx#BypassAGl
After searching more, I found another Blog where this approach is invalidated and it is mentioned that communication to AG can be done via listeners.refer http://dba.stackexchange.com/questions/35432/specifying-the-failover-partner-when-using-availability-groups
I am pretty much confused here which is correct and which is not.Please Help ASAP !!
Thanks
Manish Vyas