SQL 2012 AlwaysOn & Readable Copies

  • Server 1 - SQL 2012 AlwaysOn Primary Replica

    Server 2 - SQL 2012 AlwaysOn Secondary Replica (Allow read intent)

    Let's say clients connect to Server 1 as the primary and we have applications with read only intent in the connection string that are routed to Server 2.

    If Server 1 fails and Server 2 becomes the primary what happens to the read only intent applications since a secondary is not available?

    Will the connection fail? Can they use the primary without changing connection strings? I know some will say add a 3rd server but for the sake of discussion assume we only have 2.

  • They should simply use the primary because there is no read-only secondary available.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply